aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig.guess2
-rwxr-xr-xconfig.sub7
2 files changed, 3 insertions, 6 deletions
diff --git a/config.guess b/config.guess
index 9b3e52aab48..85fb13ad18b 100755
--- a/config.guess
+++ b/config.guess
@@ -397,7 +397,7 @@ EOF
397 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 397 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
398 exit 0 ;; 398 exit 0 ;;
399 *:GNU:*:*) 399 *:GNU:*:*)
400 echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 400 echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
401 exit 0 ;; 401 exit 0 ;;
402 *:Linux:*:*) 402 *:Linux:*:*)
403 # The BFD linker knows what the default object file format is, so 403 # The BFD linker knows what the default object file format is, so
diff --git a/config.sub b/config.sub
index 5c77f398fdc..0432524944d 100755
--- a/config.sub
+++ b/config.sub
@@ -68,7 +68,7 @@ esac
68# Here we must recognize all the valid KERNEL-OS combinations. 68# Here we must recognize all the valid KERNEL-OS combinations.
69maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 69maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
70case $maybe_os in 70case $maybe_os in
71 linux-gnu* | gnu-gnu*) 71 linux-gnu*)
72 os=-$maybe_os 72 os=-$maybe_os
73 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 73 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
74 ;; 74 ;;
@@ -678,7 +678,7 @@ case $os in
678 # The portable systems comes first. 678 # The portable systems comes first.
679 # Each alternative MUST END IN A *, to match a version number. 679 # Each alternative MUST END IN A *, to match a version number.
680 # -sysv* is not here because it comes later, after sysvr4. 680 # -sysv* is not here because it comes later, after sysvr4.
681 -gnu-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 681 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
682 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ 682 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
683 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 683 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
684 | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \ 684 | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \
@@ -692,9 +692,6 @@ case $os in
692 | -linux-gnu* | -uxpv*) 692 | -linux-gnu* | -uxpv*)
693 # Remember, each alternative MUST END IN *, to match a version number. 693 # Remember, each alternative MUST END IN *, to match a version number.
694 ;; 694 ;;
695 -gnu*)
696 os=`echo $os | sed -e 's|gnu|gnu-gnu|'`
697 ;;
698 -linux*) 695 -linux*)
699 os=`echo $os | sed -e 's|linux|linux-gnu|'` 696 os=`echo $os | sed -e 's|linux|linux-gnu|'`
700 ;; 697 ;;