Changeset ffe76f8 for config.guess
- Timestamp:
- 08/11/04 14:52:23 (18 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- ac50951
- Parents:
- 1f3696b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
config.guess
r1f3696b rffe76f8 2 2 # Attempt to guess a canonical system name. 3 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4 # 2000, 2001, 2002 , 2003Free Software Foundation, Inc.5 6 timestamp='200 4-01-24'4 # 2000, 2001, 2002 Free Software Foundation, Inc. 5 6 timestamp='2002-03-20' 7 7 8 8 # This file is free software; you can redistribute it and/or modify it … … 89 89 fi 90 90 91 trap 'exit 1' 1 2 15 92 93 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a 94 # compiler to aid in system detection is discouraged as it requires 95 # temporary files to be created and, as you can see below, it is a 96 # headache to deal with in a portable fashion. 97 91 92 dummy=dummy-$$ 93 trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 94 95 # CC_FOR_BUILD -- compiler used by this script. 98 96 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still 99 97 # use `HOST_CC' if defined, but it is deprecated. 100 98 101 # Portable tmp directory creation inspired by the Autoconf team. 102 103 set_cc_for_build=' 104 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; 105 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; 106 : ${TMPDIR=/tmp} ; 107 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || 108 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || 109 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || 110 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; 111 dummy=$tmp/dummy ; 112 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; 113 case $CC_FOR_BUILD,$HOST_CC,$CC in 114 ,,) echo "int x;" > $dummy.c ; 99 set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in 100 ,,) echo "int dummy(){}" > $dummy.c ; 115 101 for c in cc gcc c89 c99 ; do 116 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then 102 ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; 103 if test $? = 0 ; then 117 104 CC_FOR_BUILD="$c"; break ; 118 105 fi ; 119 106 done ; 107 rm -f $dummy.c $dummy.o $dummy.rel ; 120 108 if test x"$CC_FOR_BUILD" = x ; then 121 109 CC_FOR_BUILD=no_compiler_found ; … … 124 112 ,,*) CC_FOR_BUILD=$CC ;; 125 113 ,*,*) CC_FOR_BUILD=$HOST_CC ;; 126 esac ;'114 esac' 127 115 128 116 # This is needed to find uname on a Pyramid OSx when run in the BSD universe. … … 155 143 /usr/sbin/$sysctl 2>/dev/null || echo unknown)` 156 144 case "${UNAME_MACHINE_ARCH}" in 157 armeb) machine=armeb-unknown ;;158 145 arm*) machine=arm-unknown ;; 159 146 sh3el) machine=shl-unknown ;; … … 181 168 esac 182 169 # The OS release 183 # Debian GNU/NetBSD machines have a different userland, and 184 # thus, need a distinct triplet. However, they do not need 185 # kernel version information, so it can be replaced with a 186 # suitable tag, in the style of linux-gnu. 187 case "${UNAME_VERSION}" in 188 Debian*) 189 release='-gnu' 190 ;; 191 *) 192 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` 193 ;; 194 esac 170 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` 195 171 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: 196 172 # contains redundant information, the shorter form: … … 222 198 echo powerpc-unknown-openbsd${UNAME_RELEASE} 223 199 exit 0 ;; 224 pegasos:OpenBSD:*:*)225 echo powerpc-unknown-openbsd${UNAME_RELEASE}226 exit 0 ;;227 200 pmax:OpenBSD:*:*) 228 201 echo mipsel-unknown-openbsd${UNAME_RELEASE} … … 244 217 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` 245 218 fi 246 # According to Compaq, /usr/sbin/psrinfo has been available on247 # OSF/1 and Tru64 systems produced since 1995. I hope that248 # covers most systems running today. This code pipes the CPU249 # types through head -n 1, so we only detect the type of CPU 0.250 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`251 case "$ALPHA_CPU_TYPE" in252 "EV4 (21064)")253 UNAME_MACHINE="alpha" ;;254 "EV4.5 (21064)")255 UNAME_MACHINE="alpha" ;;256 "LCA4 (21066/21068)")257 UNAME_MACHINE="alpha" ;;258 "EV5 (21164)")259 UNAME_MACHINE="alphaev5" ;;260 "EV5.6 (21164A)")261 UNAME_MACHINE="alphaev56" ;;262 "EV5.6 (21164PC)")263 UNAME_MACHINE="alphapca56" ;;264 "EV5.7 (21164PC)")265 UNAME_MACHINE="alphapca57" ;;266 "EV6 (21264)")267 UNAME_MACHINE="alphaev6" ;;268 "EV6.7 (21264A)")269 UNAME_MACHINE="alphaev67" ;;270 "EV6.8CB (21264C)")271 UNAME_MACHINE="alphaev68" ;;272 "EV6.8AL (21264B)")273 UNAME_MACHINE="alphaev68" ;;274 "EV6.8CX (21264D)")275 UNAME_MACHINE="alphaev68" ;;276 "EV6.9A (21264/EV69A)")277 UNAME_MACHINE="alphaev69" ;;278 "EV7 (21364)")279 UNAME_MACHINE="alphaev7" ;;280 "EV7.9 (21364A)")281 UNAME_MACHINE="alphaev79" ;;282 esac283 219 # A Vn.n version is a released version. 284 220 # A Tn.n version is a released field test version. 285 221 # A Xn.n version is an unreleased experimental baselevel. 286 222 # 1.2 uses "1.2" for uname -r. 223 cat <<EOF >$dummy.s 224 .data 225 \$Lformat: 226 .byte 37,100,45,37,120,10,0 # "%d-%x\n" 227 228 .text 229 .globl main 230 .align 4 231 .ent main 232 main: 233 .frame \$30,16,\$26,0 234 ldgp \$29,0(\$27) 235 .prologue 1 236 .long 0x47e03d80 # implver \$0 237 lda \$2,-1 238 .long 0x47e20c21 # amask \$2,\$1 239 lda \$16,\$Lformat 240 mov \$0,\$17 241 not \$1,\$18 242 jsr \$26,printf 243 ldgp \$29,0(\$26) 244 mov 0,\$16 245 jsr \$26,exit 246 .end main 247 EOF 248 eval $set_cc_for_build 249 $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null 250 if test "$?" = 0 ; then 251 case `./$dummy` in 252 0-0) 253 UNAME_MACHINE="alpha" 254 ;; 255 1-0) 256 UNAME_MACHINE="alphaev5" 257 ;; 258 1-1) 259 UNAME_MACHINE="alphaev56" 260 ;; 261 1-101) 262 UNAME_MACHINE="alphapca56" 263 ;; 264 2-303) 265 UNAME_MACHINE="alphaev6" 266 ;; 267 2-307) 268 UNAME_MACHINE="alphaev67" 269 ;; 270 2-1307) 271 UNAME_MACHINE="alphaev68" 272 ;; 273 esac 274 fi 275 rm -f $dummy.s $dummy 287 276 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 288 exit 0 ;;289 Alpha*:OpenVMS:*:*)290 echo alpha-hp-vms291 277 exit 0 ;; 292 278 Alpha\ *:Windows_NT*:*) … … 310 296 *:OS/390:*:*) 311 297 echo i370-ibm-openedition 312 exit 0 ;;313 *:OS400:*:*)314 echo powerpc-ibm-os400315 298 exit 0 ;; 316 299 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) … … 331 314 echo pyramid-pyramid-svr4 332 315 exit 0 ;; 333 DRS?6000:unix:4.0:6*)334 echo sparc-icl-nx6335 exit 0 ;;336 DRS?6000:UNIX_SV:4.2*:7*)337 case `/usr/bin/uname -p` in338 sparc) echo sparc-icl-nx7 && exit 0 ;;339 esac ;;340 316 sun4H:SunOS:5.*:*) 341 317 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` … … 406 382 echo m68k-unknown-mint${UNAME_RELEASE} 407 383 exit 0 ;; 408 m68k:machten:*:*)409 echo m68k-apple-machten${UNAME_RELEASE}410 exit 0 ;;411 384 powerpc:machten:*:*) 412 385 echo powerpc-apple-machten${UNAME_RELEASE} … … 447 420 } 448 421 EOF 449 $CC_FOR_BUILD -o $dummy $dummy.c \ 450 && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ 451 && exit 0 422 $CC_FOR_BUILD $dummy.c -o $dummy \ 423 && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ 424 && rm -f $dummy.c $dummy && exit 0 425 rm -f $dummy.c $dummy 452 426 echo mips-mips-riscos${UNAME_RELEASE} 453 427 exit 0 ;; 454 428 Motorola:PowerMAX_OS:*:*) 455 429 echo powerpc-motorola-powermax 456 exit 0 ;;457 Motorola:*:4.3:PL8-*)458 echo powerpc-harris-powermax459 exit 0 ;;460 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)461 echo powerpc-harris-powermax462 430 exit 0 ;; 463 431 Night_Hawk:Power_UNIX:*:*) … … 533 501 } 534 502 EOF 535 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 503 $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 504 rm -f $dummy.c $dummy 536 505 echo rs6000-ibm-aix3.2.5 537 506 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then … … 631 600 } 632 601 EOF 633 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` 634 test -z "$HP_ARCH" && HP_ARCH=hppa 602 (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy` 603 if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi 604 rm -f $dummy.c $dummy 635 605 fi ;; 636 606 esac 637 if [ ${HP_ARCH} = "hppa2.0w" ]638 then639 # avoid double evaluation of $set_cc_for_build640 test -n "$CC_FOR_BUILD" || eval $set_cc_for_build641 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null642 then643 HP_ARCH="hppa2.0w"644 else645 HP_ARCH="hppa64"646 fi647 fi648 607 echo ${HP_ARCH}-hp-hpux${HPUX_REV} 649 608 exit 0 ;; … … 679 638 } 680 639 EOF 681 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 640 $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 641 rm -f $dummy.c $dummy 682 642 echo unknown-hitachi-hiuxwe2 683 643 exit 0 ;; … … 737 697 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 738 698 exit 0 ;; 699 CRAY*T3D:*:*:*) 700 echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 701 exit 0 ;; 739 702 CRAY*T3E:*:*:*) 740 703 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' … … 742 705 CRAY*SV1:*:*:*) 743 706 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 744 exit 0 ;;745 *:UNICOS/mp:*:*)746 echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'747 707 exit 0 ;; 748 708 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) … … 752 712 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 753 713 exit 0 ;; 754 5000:UNIX_System_V:4.*:*)755 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`756 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`757 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"758 exit 0 ;;759 714 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 760 715 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} … … 767 722 exit 0 ;; 768 723 *:FreeBSD:*:*) 769 # Determine whether the default compiler uses glibc. 770 eval $set_cc_for_build 771 sed 's/^ //' << EOF >$dummy.c 772 #include <features.h> 773 #if __GLIBC__ >= 2 774 LIBC=gnu 775 #else 776 LIBC= 777 #endif 778 EOF 779 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 780 # GNU/KFreeBSD systems have a "k" prefix to indicate we are using 781 # FreeBSD's kernel, but not the complete OS. 782 case ${LIBC} in gnu) kernel_only='k' ;; esac 783 echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} 724 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 784 725 exit 0 ;; 785 726 i*:CYGWIN*:*) … … 792 733 echo ${UNAME_MACHINE}-pc-pw32 793 734 exit 0 ;; 794 x86:Interix*:[34]*) 795 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' 796 exit 0 ;; 797 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 798 echo i${UNAME_MACHINE}-pc-mks 735 x86:Interix*:3*) 736 echo i386-pc-interix3 799 737 exit 0 ;; 800 738 i*:Windows_NT*:* | Pentium*:Windows_NT*:*) … … 802 740 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we 803 741 # UNAME_MACHINE based on the output of uname instead of i386? 804 echo i 586-pc-interix742 echo i386-pc-interix 805 743 exit 0 ;; 806 744 i*:UWIN*:*) … … 814 752 exit 0 ;; 815 753 *:GNU:*:*) 816 # the GNU system817 754 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 818 exit 0 ;;819 *:GNU/*:*:*)820 # other systems with GNU libc and userland821 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu822 755 exit 0 ;; 823 756 i*86:Minix:*:*) … … 826 759 arm*:Linux:*:*) 827 760 echo ${UNAME_MACHINE}-unknown-linux-gnu 828 exit 0 ;;829 cris:Linux:*:*)830 echo cris-axis-linux-gnu831 761 exit 0 ;; 832 762 ia64:Linux:*:*) … … 853 783 EOF 854 784 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 855 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 856 ;; 857 mips64:Linux:*:*) 858 eval $set_cc_for_build 859 sed 's/^ //' << EOF >$dummy.c 860 #undef CPU 861 #undef mips64 862 #undef mips64el 863 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) 864 CPU=mips64el 865 #else 866 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) 867 CPU=mips64 868 #else 869 CPU= 870 #endif 871 #endif 872 EOF 873 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 874 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 785 rm -f $dummy.c 786 test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0 875 787 ;; 876 788 ppc:Linux:*:*) … … 907 819 s390:Linux:*:* | s390x:Linux:*:*) 908 820 echo ${UNAME_MACHINE}-ibm-linux 909 exit 0 ;;910 sh64*:Linux:*:*)911 echo ${UNAME_MACHINE}-unknown-linux-gnu912 821 exit 0 ;; 913 822 sh*:Linux:*:*) … … 937 846 a.out-i386-linux) 938 847 echo "${UNAME_MACHINE}-pc-linux-gnuaout" 939 exit 0 ;; 848 exit 0 ;; 940 849 coff-i386) 941 850 echo "${UNAME_MACHINE}-pc-linux-gnucoff" … … 968 877 #endif 969 878 #endif 970 #ifdef __dietlibc__971 LIBC=dietlibc972 #endif973 879 EOF 974 880 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 881 rm -f $dummy.c 975 882 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 976 883 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 … … 990 897 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 991 898 exit 0 ;; 992 i*86:OS/2:*:*)993 # If we were able to find `uname', then EMX Unix compatibility994 # is probably installed.995 echo ${UNAME_MACHINE}-pc-os2-emx996 exit 0 ;;997 i*86:XTS-300:*:STOP)998 echo ${UNAME_MACHINE}-unknown-stop999 exit 0 ;;1000 i*86:atheos:*:*)1001 echo ${UNAME_MACHINE}-unknown-atheos1002 exit 0 ;;1003 i*86:syllable:*:*)1004 echo ${UNAME_MACHINE}-pc-syllable1005 exit 0 ;;1006 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)1007 echo i386-unknown-lynxos${UNAME_RELEASE}1008 exit 0 ;;1009 i*86:*DOS:*:*)1010 echo ${UNAME_MACHINE}-pc-msdosdjgpp1011 exit 0 ;;1012 899 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) 1013 900 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` … … 1031 918 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL 1032 919 elif /bin/uname -X 2>/dev/null >/dev/null ; then 1033 UNAME_REL=`(/bin/uname -X| grep Release|sed -e 's/.*= //')`1034 (/bin/uname -X| grep i80486 >/dev/null) && UNAME_MACHINE=i4861035 (/bin/uname -X| grep '^Machine.*Pentium' >/dev/null) \920 UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` 921 (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 922 (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ 1036 923 && UNAME_MACHINE=i586 1037 (/bin/uname -X| grep '^Machine.*Pent *II' >/dev/null) \924 (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ 1038 925 && UNAME_MACHINE=i686 1039 (/bin/uname -X| grep '^Machine.*Pentium Pro' >/dev/null) \926 (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ 1040 927 && UNAME_MACHINE=i686 1041 928 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL … … 1043 930 echo ${UNAME_MACHINE}-pc-sysv32 1044 931 fi 932 exit 0 ;; 933 i*86:*DOS:*:*) 934 echo ${UNAME_MACHINE}-pc-msdosdjgpp 1045 935 exit 0 ;; 1046 936 pc:*:*:*) … … 1067 957 echo m68010-convergent-sysv 1068 958 exit 0 ;; 1069 mc68k:UNIX:SYSTEM5:3.51m)1070 echo m68k-convergent-sysv1071 exit 0 ;;1072 M680?0:D-NIX:5.3:*)1073 echo m68k-diab-dnix1074 exit 0 ;;1075 959 M68*:*:R3V[567]*:*) 1076 960 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 1077 3[34 5]??:*: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)961 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 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0) 1078 962 OS_REL='' 1079 963 test -r /etc/.relid \ … … 1092 976 echo m68k-atari-sysv4 1093 977 exit 0 ;; 978 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) 979 echo i386-unknown-lynxos${UNAME_RELEASE} 980 exit 0 ;; 1094 981 TSUNAMI:LynxOS:2.*:*) 1095 982 echo sparc-unknown-lynxos${UNAME_RELEASE} … … 1163 1050 echo sx5-nec-superux${UNAME_RELEASE} 1164 1051 exit 0 ;; 1165 SX-6:SUPER-UX:*:*)1166 echo sx6-nec-superux${UNAME_RELEASE}1167 exit 0 ;;1168 1052 Power*:Rhapsody:*:*) 1169 1053 echo powerpc-apple-rhapsody${UNAME_RELEASE} … … 1173 1057 exit 0 ;; 1174 1058 *:Darwin:*:*) 1175 case `uname -p` in 1176 *86) UNAME_PROCESSOR=i686 ;; 1177 powerpc) UNAME_PROCESSOR=powerpc ;; 1178 esac 1179 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1059 echo `uname -p`-apple-darwin${UNAME_RELEASE} 1180 1060 exit 0 ;; 1181 1061 *:procnto*:*:* | *:QNX:[0123456789]*:*) … … 1190 1070 echo i386-pc-qnx 1191 1071 exit 0 ;; 1192 NSR- ?:NONSTOP_KERNEL:*:*)1072 NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*) 1193 1073 echo nsr-tandem-nsk${UNAME_RELEASE} 1194 1074 exit 0 ;; … … 1213 1093 echo ${UNAME_MACHINE}-unknown-plan9 1214 1094 exit 0 ;; 1095 i*86:OS/2:*:*) 1096 # If we were able to find `uname', then EMX Unix compatibility 1097 # is probably installed. 1098 echo ${UNAME_MACHINE}-pc-os2-emx 1099 exit 0 ;; 1215 1100 *:TOPS-10:*:*) 1216 1101 echo pdp10-unknown-tops10 … … 1231 1116 echo pdp10-unknown-its 1232 1117 exit 0 ;; 1233 SEI:*:*:SEIUX)1234 echo mips-sei-seiux${UNAME_RELEASE} 1235 exit 0 ;; 1236 *:DragonFly:*:*)1237 echo ${UNAME_MACHINE}-unknown- dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`1118 i*86:XTS-300:*:STOP) 1119 echo ${UNAME_MACHINE}-unknown-stop 1120 exit 0 ;; 1121 i*86:atheos:*:*) 1122 echo ${UNAME_MACHINE}-unknown-atheos 1238 1123 exit 0 ;; 1239 1124 esac … … 1357 1242 EOF 1358 1243 1359 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 1244 $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 1245 rm -f $dummy.c $dummy 1360 1246 1361 1247 # Apollos put the system type in the environment.
Note: See TracChangeset
for help on using the changeset viewer.