Changeset 418 for trunk/icedtea-web/config.guess
- Timestamp:
- Feb 11, 2013, 8:53:47 PM (13 years ago)
- Location:
- trunk/icedtea-web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/icedtea-web
-
Property svn:mergeinfo
set to
/branches/vendor/sourceforge/icedtea-web/1.3 merged eligible /branches/vendor/sourceforge/icedtea-web/current merged eligible
-
Property svn:mergeinfo
set to
-
trunk/icedtea-web/config.guess
r348 r418 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, 2003, 2004, 2005, 2006, 2007, 2008, 2009 5 # Free Software Foundation, Inc.6 7 timestamp='20 09-11-20'4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 5 # 2011, 2012 Free Software Foundation, Inc. 6 7 timestamp='2012-01-01' 8 8 9 9 # This file is free software; you can redistribute it and/or modify it … … 57 57 58 58 Originally written by Per Bothner. 59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 60 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 60 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 61 Free Software Foundation, Inc. 61 62 62 63 This is free software; see the source for copying conditions. There is NO … … 145 146 *:NetBSD:*:*) 146 147 # NetBSD (nbsd) targets should (where applicable) match one or 147 # more of the tup ples: *-*-netbsdelf*, *-*-netbsdaout*,148 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, 148 149 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently 149 150 # switched to ELF, *-*-netbsd* would select the old … … 181 182 ;; 182 183 *) 183 184 os=netbsd 184 185 ;; 185 186 esac … … 224 225 ;; 225 226 *5.*) 226 227 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` 227 228 ;; 228 229 esac … … 270 271 # 1.2 uses "1.2" for uname -r. 271 272 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 272 exit ;; 273 # Reset EXIT trap before exiting to avoid spurious non-zero exit code. 274 exitcode=$? 275 trap '' 0 276 exit $exitcode ;; 273 277 Alpha\ *:Windows_NT*:*) 274 278 # How do we know it's Interix rather than the generic POSIX subsystem? … … 296 300 exit ;; 297 301 *:OS400:*:*) 298 302 echo powerpc-ibm-os400 299 303 exit ;; 300 304 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) … … 395 399 # be no problem. 396 400 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 397 401 echo m68k-atari-mint${UNAME_RELEASE} 398 402 exit ;; 399 403 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 400 404 echo m68k-atari-mint${UNAME_RELEASE} 401 405 exit ;; 402 406 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 403 407 echo m68k-atari-mint${UNAME_RELEASE} 404 408 exit ;; 405 409 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 406 407 410 echo m68k-milan-mint${UNAME_RELEASE} 411 exit ;; 408 412 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 409 410 413 echo m68k-hades-mint${UNAME_RELEASE} 414 exit ;; 411 415 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 412 413 416 echo m68k-unknown-mint${UNAME_RELEASE} 417 exit ;; 414 418 m68k:machten:*:*) 415 419 echo m68k-apple-machten${UNAME_RELEASE} … … 481 485 exit ;; 482 486 AViiON:dgux:*:*) 483 484 487 # DG/UX returns AViiON for all architectures 488 UNAME_PROCESSOR=`/usr/bin/uname -p` 485 489 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] 486 490 then … … 495 499 echo i586-dg-dgux${UNAME_RELEASE} 496 500 fi 497 501 exit ;; 498 502 M88*:DolphinOS:*:*) # DolphinOS (SVR3) 499 503 echo m88k-dolphin-sysv3 … … 552 556 fi 553 557 exit ;; 554 *:AIX:*:[456 ])558 *:AIX:*:[4567]) 555 559 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 556 560 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then … … 595 599 if [ -x /usr/bin/getconf ]; then 596 600 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` 597 598 599 600 601 602 603 604 601 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` 602 case "${sc_cpu_version}" in 603 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 604 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 605 532) # CPU_PA_RISC2_0 606 case "${sc_kernel_bits}" in 607 32) HP_ARCH="hppa2.0n" ;; 608 64) HP_ARCH="hppa2.0w" ;; 605 609 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 606 607 610 esac ;; 611 esac 608 612 fi 609 613 if [ "${HP_ARCH}" = "" ]; then 610 614 eval $set_cc_for_build 611 sed 's/^ 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 615 sed 's/^ //' << EOF >$dummy.c 616 617 #define _HPUX_SOURCE 618 #include <stdlib.h> 619 #include <unistd.h> 620 621 int main () 622 { 623 #if defined(_SC_KERNEL_BITS) 624 long bits = sysconf(_SC_KERNEL_BITS); 625 #endif 626 long cpu = sysconf (_SC_CPU_VERSION); 627 628 switch (cpu) 629 { 630 case CPU_PA_RISC1_0: puts ("hppa1.0"); break; 631 case CPU_PA_RISC1_1: puts ("hppa1.1"); break; 632 case CPU_PA_RISC2_0: 633 #if defined(_SC_KERNEL_BITS) 634 switch (bits) 635 { 636 case 64: puts ("hppa2.0w"); break; 637 case 32: puts ("hppa2.0n"); break; 638 default: puts ("hppa2.0"); break; 639 } break; 640 #else /* !defined(_SC_KERNEL_BITS) */ 641 puts ("hppa2.0"); break; 642 #endif 643 default: puts ("hppa1.0"); break; 644 } 645 exit (0); 646 } 643 647 EOF 644 648 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` … … 731 735 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 732 736 echo c1-convex-bsd 733 737 exit ;; 734 738 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 735 739 if getsysinfo -f scalar_acc … … 737 741 else echo c2-convex-bsd 738 742 fi 739 743 exit ;; 740 744 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 741 745 echo c34-convex-bsd 742 746 exit ;; 743 747 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 744 748 echo c38-convex-bsd 745 749 exit ;; 746 750 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 747 751 echo c4-convex-bsd 748 752 exit ;; 749 753 CRAY*Y-MP:*:*:*) 750 754 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' … … 770 774 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 771 775 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 772 773 774 775 776 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 777 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 778 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 779 exit ;; 776 780 5000:UNIX_System_V:4.*:*) 777 778 779 781 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 782 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 783 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 780 784 exit ;; 781 785 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) … … 789 793 exit ;; 790 794 *:FreeBSD:*:*) 791 case ${UNAME_MACHINE} in 792 pc98) 793 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 795 UNAME_PROCESSOR=`/usr/bin/uname -p` 796 case ${UNAME_PROCESSOR} in 794 797 amd64) 795 798 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 796 799 *) 797 echo ${UNAME_ MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;800 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 798 801 esac 799 802 exit ;; … … 804 807 echo ${UNAME_MACHINE}-pc-mingw32 805 808 exit ;; 809 i*:MSYS*:*) 810 echo ${UNAME_MACHINE}-pc-msys 811 exit ;; 806 812 i*:windows32*:*) 807 808 813 # uname -m includes "-pc" on this system. 814 echo ${UNAME_MACHINE}-mingw32 809 815 exit ;; 810 816 i*:PW*:*) … … 812 818 exit ;; 813 819 *:Interix*:*) 814 820 case ${UNAME_MACHINE} in 815 821 x86) 816 822 echo i586-pc-interix${UNAME_RELEASE} … … 867 873 EV67) UNAME_MACHINE=alphaev67 ;; 868 874 EV68*) UNAME_MACHINE=alphaev68 ;; 869 875 esac 870 876 objdump --private-headers /bin/sh | grep -q ld.so.1 871 877 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi … … 879 885 echo ${UNAME_MACHINE}-unknown-linux-gnu 880 886 else 881 echo ${UNAME_MACHINE}-unknown-linux-gnueabi 887 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ 888 | grep -q __ARM_PCS_VFP 889 then 890 echo ${UNAME_MACHINE}-unknown-linux-gnueabi 891 else 892 echo ${UNAME_MACHINE}-unknown-linux-gnueabihf 893 fi 882 894 fi 883 895 exit ;; … … 886 898 exit ;; 887 899 cris:Linux:*:*) 888 echo cris-axis-linux-gnu900 echo ${UNAME_MACHINE}-axis-linux-gnu 889 901 exit ;; 890 902 crisv32:Linux:*:*) 891 echo crisv32-axis-linux-gnu903 echo ${UNAME_MACHINE}-axis-linux-gnu 892 904 exit ;; 893 905 frv:Linux:*:*) 894 echo frv-unknown-linux-gnu 906 echo ${UNAME_MACHINE}-unknown-linux-gnu 907 exit ;; 908 hexagon:Linux:*:*) 909 echo ${UNAME_MACHINE}-unknown-linux-gnu 895 910 exit ;; 896 911 i*86:Linux:*:*) … … 934 949 ;; 935 950 or32:Linux:*:*) 936 echo or32-unknown-linux-gnu951 echo ${UNAME_MACHINE}-unknown-linux-gnu 937 952 exit ;; 938 953 padre:Linux:*:*) … … 960 975 exit ;; 961 976 sh64*:Linux:*:*) 962 977 echo ${UNAME_MACHINE}-unknown-linux-gnu 963 978 exit ;; 964 979 sh*:Linux:*:*) … … 968 983 echo ${UNAME_MACHINE}-unknown-linux-gnu 969 984 exit ;; 985 tile*:Linux:*:*) 986 echo ${UNAME_MACHINE}-unknown-linux-gnu 987 exit ;; 970 988 vax:Linux:*:*) 971 989 echo ${UNAME_MACHINE}-dec-linux-gnu 972 990 exit ;; 973 991 x86_64:Linux:*:*) 974 echo x86_64-unknown-linux-gnu992 echo ${UNAME_MACHINE}-unknown-linux-gnu 975 993 exit ;; 976 994 xtensa*:Linux:*:*) 977 995 echo ${UNAME_MACHINE}-unknown-linux-gnu 978 996 exit ;; 979 997 i*86:DYNIX/ptx:4*:*) … … 984 1002 exit ;; 985 1003 i*86:UNIX_SV:4.2MP:2.*) 986 987 988 1004 # Unixware is an offshoot of SVR4, but it has its own version 1005 # number series starting with 2... 1006 # I am not positive that other SVR4 systems won't match this, 989 1007 # I just have to hope. -- rms. 990 1008 # Use sysv4.2uw... so that sysv4* matches it. 991 1009 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 992 1010 exit ;; … … 1020 1038 exit ;; 1021 1039 i*86:*:5:[678]*) 1022 1040 # UnixWare 7.x, OpenUNIX and OpenServer 6. 1023 1041 case `/bin/uname -X | grep "^Machine"` in 1024 1042 *486*) UNAME_MACHINE=i486 ;; … … 1048 1066 pc:*:*:*) 1049 1067 # Left here for compatibility: 1050 1051 1068 # uname -m prints for DJGPP always 'pc', but it prints nothing about 1069 # the processor, so we play safe by assuming i586. 1052 1070 # Note: whatever this is, it MUST be the same as what config.sub 1053 1071 # prints for the "djgpp" host, or else GDB configury will decide that 1054 1072 # this is a cross-build. 1055 1073 echo i586-pc-msdosdjgpp 1056 1074 exit ;; 1057 1075 Intel:Mach:3*:*) 1058 1076 echo i386-pc-mach3 … … 1089 1107 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 1090 1108 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 1091 1092 1109 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1110 && { echo i486-ncr-sysv4; exit; } ;; 1093 1111 NCR*:*:4.2:* | MPRAS*:*:4.2:*) 1094 1112 OS_REL='.3' … … 1133 1151 fi 1134 1152 exit ;; 1135 PENTIUM:*:4.0*:*) 1136 1137 1138 1153 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 1154 # says <Richard.M.Bartel@ccMail.Census.GOV> 1155 echo i586-unisys-sysv4 1156 exit ;; 1139 1157 *:UNIX_System_V:4*:FTX*) 1140 1158 # From Gerald Hewes <hewes@openmarket.com>. … … 1162 1180 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 1163 1181 if [ -d /usr/nec ]; then 1164 1182 echo mips-nec-sysv${UNAME_RELEASE} 1165 1183 else 1166 1167 fi 1168 1184 echo mips-unknown-sysv${UNAME_RELEASE} 1185 fi 1186 exit ;; 1169 1187 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. 1170 1188 echo powerpc-be-beos … … 1231 1249 echo i386-pc-qnx 1232 1250 exit ;; 1251 NEO-?:NONSTOP_KERNEL:*:*) 1252 echo neo-tandem-nsk${UNAME_RELEASE} 1253 exit ;; 1233 1254 NSE-?:NONSTOP_KERNEL:*:*) 1234 1255 echo nse-tandem-nsk${UNAME_RELEASE} … … 1276 1297 exit ;; 1277 1298 SEI:*:*:SEIUX) 1278 1299 echo mips-sei-seiux${UNAME_RELEASE} 1279 1300 exit ;; 1280 1301 *:DragonFly:*:*) … … 1282 1303 exit ;; 1283 1304 *:*VMS:*:*) 1284 1305 UNAME_MACHINE=`(uname -p) 2>/dev/null` 1285 1306 case "${UNAME_MACHINE}" in 1286 1307 A*) echo alpha-dec-vms ; exit ;; … … 1322 1343 printf ("m68k-sony-newsos%s\n", 1323 1344 #ifdef NEWSOS4 1324 1345 "4" 1325 1346 #else 1326 1327 #endif 1328 1347 "" 1348 #endif 1349 ); exit (0); 1329 1350 #endif 1330 1351 #endif
Note:
See TracChangeset
for help on using the changeset viewer.