From: Thomas Bushnell, BSG Date: Thu, 21 Nov 1996 22:19:26 +0000 (+0000) Subject: Revert last change. X-Git-Tag: fsf-origin~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d5a22f128db835350c0d97b7a7ee608444246d1;p=thirdparty%2Fautoconf.git Revert last change. --- diff --git a/config.guess b/config.guess index 9b3e52aa..85fb13ad 100755 --- a/config.guess +++ b/config.guess @@ -397,7 +397,7 @@ EOF echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) - echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; *:Linux:*:*) # The BFD linker knows what the default object file format is, so diff --git a/config.sub b/config.sub index 5c77f398..04325249 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|'` ;;