summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-11-21 22:20:09 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-11-21 22:20:09 +0000
commitaab72f0761de41b0c851c2fae08a10bcc4dc19e2 (patch)
tree332b5844683d5898de41aa6e13e5603cec2cbb9b /config.sub
parent416f76359368444a1169d9bc66d2c65cbf9034b4 (diff)
downloademacs-aab72f0761de41b0c851c2fae08a10bcc4dc19e2.tar.gz
Revert last change.
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub7
1 files changed, 2 insertions, 5 deletions
diff --git a/config.sub b/config.sub
index 5c77f398fdc..0432524944d 100755
--- a/config.sub
+++ b/config.sub
@@ -68,7 +68,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
- linux-gnu* | gnu-gnu*)
+ linux-gnu*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;
@@ -678,7 +678,7 @@ case $os in
# The portable systems comes first.
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
- -gnu-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
| -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \
@@ -692,9 +692,6 @@ case $os in
| -linux-gnu* | -uxpv*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
- -gnu*)
- os=`echo $os | sed -e 's|gnu|gnu-gnu|'`
- ;;
-linux*)
os=`echo $os | sed -e 's|linux|linux-gnu|'`
;;