diff options
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/config.guess b/config.guess index 5adbef1f9..bb9d7aee4 100755 --- a/config.guess +++ b/config.guess | |||
@@ -3,7 +3,7 @@ | |||
3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 | # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | 4 | # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
5 | 5 | ||
6 | timestamp='2003-10-03' | 6 | timestamp='2004-01-05' |
7 | 7 | ||
8 | # This file is free software; you can redistribute it and/or modify it | 8 | # This file is free software; you can redistribute it and/or modify it |
9 | # under the terms of the GNU General Public License as published by | 9 | # under the terms of the GNU General Public License as published by |
@@ -221,6 +221,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
221 | mvmeppc:OpenBSD:*:*) | 221 | mvmeppc:OpenBSD:*:*) |
222 | echo powerpc-unknown-openbsd${UNAME_RELEASE} | 222 | echo powerpc-unknown-openbsd${UNAME_RELEASE} |
223 | exit 0 ;; | 223 | exit 0 ;; |
224 | pegasos:OpenBSD:*:*) | ||
225 | echo powerpc-unknown-openbsd${UNAME_RELEASE} | ||
226 | exit 0 ;; | ||
224 | pmax:OpenBSD:*:*) | 227 | pmax:OpenBSD:*:*) |
225 | echo mipsel-unknown-openbsd${UNAME_RELEASE} | 228 | echo mipsel-unknown-openbsd${UNAME_RELEASE} |
226 | exit 0 ;; | 229 | exit 0 ;; |
@@ -307,6 +310,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
307 | *:OS/390:*:*) | 310 | *:OS/390:*:*) |
308 | echo i370-ibm-openedition | 311 | echo i370-ibm-openedition |
309 | exit 0 ;; | 312 | exit 0 ;; |
313 | *:OS400:*:*) | ||
314 | echo powerpc-ibm-os400 | ||
315 | exit 0 ;; | ||
310 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) | 316 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
311 | echo arm-acorn-riscix${UNAME_RELEASE} | 317 | echo arm-acorn-riscix${UNAME_RELEASE} |
312 | exit 0;; | 318 | exit 0;; |
@@ -742,6 +748,11 @@ EOF | |||
742 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | 748 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
743 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | 749 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
744 | exit 0 ;; | 750 | exit 0 ;; |
751 | 5000:UNIX_System_V:4.*:*) | ||
752 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | ||
753 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | ||
754 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | ||
755 | exit 0 ;; | ||
745 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) | 756 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
746 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | 757 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
747 | exit 0 ;; | 758 | exit 0 ;; |
@@ -751,7 +762,7 @@ EOF | |||
751 | *:BSD/OS:*:*) | 762 | *:BSD/OS:*:*) |
752 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | 763 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
753 | exit 0 ;; | 764 | exit 0 ;; |
754 | *:FreeBSD:*:*|*:GNU/FreeBSD:*:*) | 765 | *:FreeBSD:*:*) |
755 | # Determine whether the default compiler uses glibc. | 766 | # Determine whether the default compiler uses glibc. |
756 | eval $set_cc_for_build | 767 | eval $set_cc_for_build |
757 | sed 's/^ //' << EOF >$dummy.c | 768 | sed 's/^ //' << EOF >$dummy.c |
@@ -763,7 +774,7 @@ EOF | |||
763 | #endif | 774 | #endif |
764 | EOF | 775 | EOF |
765 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` | 776 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` |
766 | # GNU/FreeBSD systems have a "k" prefix to indicate we are using | 777 | # GNU/KFreeBSD systems have a "k" prefix to indicate we are using |
767 | # FreeBSD's kernel, but not the complete OS. | 778 | # FreeBSD's kernel, but not the complete OS. |
768 | case ${LIBC} in gnu) kernel_only='k' ;; esac | 779 | case ${LIBC} in gnu) kernel_only='k' ;; esac |
769 | echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} | 780 | echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} |
@@ -799,8 +810,13 @@ EOF | |||
799 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 810 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
800 | exit 0 ;; | 811 | exit 0 ;; |
801 | *:GNU:*:*) | 812 | *:GNU:*:*) |
813 | # the GNU system | ||
802 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | 814 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
803 | exit 0 ;; | 815 | exit 0 ;; |
816 | *:GNU/*:*:*) | ||
817 | # other systems with GNU libc and userland | ||
818 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | ||
819 | exit 0 ;; | ||
804 | i*86:Minix:*:*) | 820 | i*86:Minix:*:*) |
805 | echo ${UNAME_MACHINE}-pc-minix | 821 | echo ${UNAME_MACHINE}-pc-minix |
806 | exit 0 ;; | 822 | exit 0 ;; |
@@ -981,6 +997,9 @@ EOF | |||
981 | i*86:atheos:*:*) | 997 | i*86:atheos:*:*) |
982 | echo ${UNAME_MACHINE}-unknown-atheos | 998 | echo ${UNAME_MACHINE}-unknown-atheos |
983 | exit 0 ;; | 999 | exit 0 ;; |
1000 | i*86:syllable:*:*) | ||
1001 | echo ${UNAME_MACHINE}-pc-syllable | ||
1002 | exit 0 ;; | ||
984 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) | 1003 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) |
985 | echo i386-unknown-lynxos${UNAME_RELEASE} | 1004 | echo i386-unknown-lynxos${UNAME_RELEASE} |
986 | exit 0 ;; | 1005 | exit 0 ;; |
@@ -1053,7 +1072,7 @@ EOF | |||
1053 | exit 0 ;; | 1072 | exit 0 ;; |
1054 | M68*:*:R3V[567]*:*) | 1073 | M68*:*:R3V[567]*:*) |
1055 | test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; | 1074 | test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; |
1056 | 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) | 1075 | 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) |
1057 | OS_REL='' | 1076 | OS_REL='' |
1058 | test -r /etc/.relid \ | 1077 | test -r /etc/.relid \ |
1059 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | 1078 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
@@ -1168,7 +1187,7 @@ EOF | |||
1168 | *:QNX:*:4*) | 1187 | *:QNX:*:4*) |
1169 | echo i386-pc-qnx | 1188 | echo i386-pc-qnx |
1170 | exit 0 ;; | 1189 | exit 0 ;; |
1171 | NSR-[DGKLNPTVWY]:NONSTOP_KERNEL:*:*) | 1190 | NSR-?:NONSTOP_KERNEL:*:*) |
1172 | echo nsr-tandem-nsk${UNAME_RELEASE} | 1191 | echo nsr-tandem-nsk${UNAME_RELEASE} |
1173 | exit 0 ;; | 1192 | exit 0 ;; |
1174 | *:NonStop-UX:*:*) | 1193 | *:NonStop-UX:*:*) |
@@ -1212,6 +1231,9 @@ EOF | |||
1212 | SEI:*:*:SEIUX) | 1231 | SEI:*:*:SEIUX) |
1213 | echo mips-sei-seiux${UNAME_RELEASE} | 1232 | echo mips-sei-seiux${UNAME_RELEASE} |
1214 | exit 0 ;; | 1233 | exit 0 ;; |
1234 | *:DRAGONFLY:*:*) | ||
1235 | echo ${UNAME_MACHINE}-unknown-dragonfly${UNAME_RELEASE} | ||
1236 | exit 0 ;; | ||
1215 | esac | 1237 | esac |
1216 | 1238 | ||
1217 | #echo '(No uname command or uname output not recognized.)' 1>&2 | 1239 | #echo '(No uname command or uname output not recognized.)' 1>&2 |