From: Thomas Bushnell, BSG Date: Thu, 21 Nov 1996 21:51:00 +0000 (+0000) Subject: * config.sub: Recognize gnu-gnu* along with linux-gnu* as a valid X-Git-Tag: emacs-20.1~3339 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=416f76359368444a1169d9bc66d2c65cbf9034b4;p=emacs.git * config.sub: Recognize gnu-gnu* along with linux-gnu* as a valid kernel-os combination. Remove `-gnu*' from the portable systems list. Add `-gnu-gnu*'. Add new rule for `-gnu*' to turn it into two part name. --- diff --git a/config.sub b/config.sub index 0432524944d..5c77f398fdc 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*) + linux-gnu* | gnu-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* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + -gnu-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,6 +692,9 @@ 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|'` ;;