summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-10-04 09:12:29 +0000
committerRichard M. Stallman <rms@gnu.org>1994-10-04 09:12:29 +0000
commitc38c0d7079294ed427ef0c496fbd3ce25fe68f77 (patch)
treedd157f30e9227b1c5ab530eaa37547a0ebf0bbf8
parent31961b85a086757c2fffab7d76d80513d3d53802 (diff)
downloadglibc-c38c0d7079294ed427ef0c496fbd3ce25fe68f77.tar.gz
glibc-c38c0d7079294ed427ef0c496fbd3ce25fe68f77.tar.xz
glibc-c38c0d7079294ed427ef0c496fbd3ce25fe68f77.zip
Translate -gnu/linux* to -linux*.
-rwxr-xr-xconfig.sub3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.sub b/config.sub
index 61bd8d5e2a..3893f4f4c9 100755
--- a/config.sub
+++ b/config.sub
@@ -565,6 +565,9 @@ case $os in
 	-solaris)
 		os=-solaris2
 		;;
+	-gnu/linux*)
+		os=`echo $os | sed -e 's|gnu/linux|linux|'`
+		;;
 	# First accept the basic system types.
 	# The portable systems comes first.
 	# Each alternative must end in a *, to match a version number.