summaryrefslogtreecommitdiff
path: root/config.sub
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
commit412239cccf5bb1754d1ce5ae9a8a3016fd132227 (patch)
tree2ce3cad3b1299e9fb77ced0c19fcb500f6646d04 /config.sub
parent2e6edd06cb46289dfdef0ccf06fdb752b1607c53 (diff)
downloademacs-412239cccf5bb1754d1ce5ae9a8a3016fd132227.tar.gz
Translate -gnu/linux* to -linux*.
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.sub b/config.sub
index 61bd8d5e2a0..3893f4f4c9f 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.