# HG changeset patch # User Thomas Bushnell, BSG # Date 848613060 0 # Node ID ce11cd8244f5e609f9dd5be08de1f33da3d1de1e # Parent f3590f61b68dce2d72c1397f35de99c231d89dc1 * 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 -r f3590f61b68d -r ce11cd8244f5 config.sub --- a/config.sub Thu Nov 21 21:43:48 1996 +0000 +++ b/config.sub Thu Nov 21 21:51:00 1996 +0000 @@ -68,7 +68,7 @@ # 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 @@ # 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 @@ | -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|'` ;;