Changeset 18797 for src/router/quagga/config.guess
- Timestamp:
- 03/22/12 02:00:38 (14 months ago)
- File:
-
- 1 edited
-
src/router/quagga/config.guess (modified) (32 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/quagga/config.guess
r15177 r18797 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 Free Software Foundation, Inc. 6 7 timestamp='2011-06-03' 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 Free 61 Software Foundation, Inc. 61 62 62 63 This is free software; see the source for copying conditions. There is NO … … 139 140 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown 140 141 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown 142 143 case "${UNAME_SYSTEM}" in 144 Linux|GNU/*) 145 eval $set_cc_for_build 146 cat <<-EOF > $dummy.c 147 #include <features.h> 148 #ifdef __UCLIBC__ 149 # ifdef __UCLIBC_CONFIG_VERSION__ 150 LIBC=uclibc __UCLIBC_CONFIG_VERSION__ 151 # else 152 LIBC=uclibc 153 # endif 154 #else 155 # ifdef __dietlibc__ 156 LIBC=dietlibc 157 # else 158 LIBC=gnu 159 # endif 160 #endif 161 EOF 162 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` 163 ;; 164 esac 141 165 142 166 # Note: order is significant - the case branches are not exclusive. … … 181 205 ;; 182 206 *) 183 os=netbsd207 os=netbsd 184 208 ;; 185 209 esac … … 224 248 ;; 225 249 *5.*) 226 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`250 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` 227 251 ;; 228 252 esac … … 270 294 # 1.2 uses "1.2" for uname -r. 271 295 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 272 exit ;; 296 # Reset EXIT trap before exiting to avoid spurious non-zero exit code. 297 exitcode=$? 298 trap '' 0 299 exit $exitcode ;; 273 300 Alpha\ *:Windows_NT*:*) 274 301 # How do we know it's Interix rather than the generic POSIX subsystem? … … 296 323 exit ;; 297 324 *:OS400:*:*) 298 echo powerpc-ibm-os400325 echo powerpc-ibm-os400 299 326 exit ;; 300 327 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) … … 395 422 # be no problem. 396 423 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 397 echo m68k-atari-mint${UNAME_RELEASE}424 echo m68k-atari-mint${UNAME_RELEASE} 398 425 exit ;; 399 426 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 400 427 echo m68k-atari-mint${UNAME_RELEASE} 401 exit ;;428 exit ;; 402 429 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 403 echo m68k-atari-mint${UNAME_RELEASE}430 echo m68k-atari-mint${UNAME_RELEASE} 404 431 exit ;; 405 432 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 406 echo m68k-milan-mint${UNAME_RELEASE}407 exit ;;433 echo m68k-milan-mint${UNAME_RELEASE} 434 exit ;; 408 435 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 409 echo m68k-hades-mint${UNAME_RELEASE}410 exit ;;436 echo m68k-hades-mint${UNAME_RELEASE} 437 exit ;; 411 438 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 412 echo m68k-unknown-mint${UNAME_RELEASE}413 exit ;;439 echo m68k-unknown-mint${UNAME_RELEASE} 440 exit ;; 414 441 m68k:machten:*:*) 415 442 echo m68k-apple-machten${UNAME_RELEASE} … … 481 508 exit ;; 482 509 AViiON:dgux:*:*) 483 # DG/UX returns AViiON for all architectures484 UNAME_PROCESSOR=`/usr/bin/uname -p`510 # DG/UX returns AViiON for all architectures 511 UNAME_PROCESSOR=`/usr/bin/uname -p` 485 512 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] 486 513 then … … 495 522 echo i586-dg-dgux${UNAME_RELEASE} 496 523 fi 497 exit ;;524 exit ;; 498 525 M88*:DolphinOS:*:*) # DolphinOS (SVR3) 499 526 echo m88k-dolphin-sysv3 … … 552 579 fi 553 580 exit ;; 554 *:AIX:*:[456 ])581 *:AIX:*:[4567]) 555 582 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 556 583 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then … … 595 622 if [ -x /usr/bin/getconf ]; then 596 623 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` 597 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`598 case "${sc_cpu_version}" in599 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0600 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1601 532) # CPU_PA_RISC2_0602 case "${sc_kernel_bits}" in603 32) HP_ARCH="hppa2.0n" ;;604 64) HP_ARCH="hppa2.0w" ;;624 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` 625 case "${sc_cpu_version}" in 626 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 627 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 628 532) # CPU_PA_RISC2_0 629 case "${sc_kernel_bits}" in 630 32) HP_ARCH="hppa2.0n" ;; 631 64) HP_ARCH="hppa2.0w" ;; 605 632 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 606 esac ;;607 esac633 esac ;; 634 esac 608 635 fi 609 636 if [ "${HP_ARCH}" = "" ]; then 610 637 eval $set_cc_for_build 611 sed 's/^ //' << EOF >$dummy.c612 613 #define _HPUX_SOURCE614 #include <stdlib.h>615 #include <unistd.h>616 617 int main ()618 {619 #if defined(_SC_KERNEL_BITS)620 long bits = sysconf(_SC_KERNEL_BITS);621 #endif622 long cpu = sysconf (_SC_CPU_VERSION);623 624 switch (cpu)625 {626 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;627 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;628 case CPU_PA_RISC2_0:629 #if defined(_SC_KERNEL_BITS)630 switch (bits)631 {632 case 64: puts ("hppa2.0w"); break;633 case 32: puts ("hppa2.0n"); break;634 default: puts ("hppa2.0"); break;635 } break;636 #else /* !defined(_SC_KERNEL_BITS) */637 puts ("hppa2.0"); break;638 #endif639 default: puts ("hppa1.0"); break;640 }641 exit (0);642 }638 sed 's/^ //' << EOF >$dummy.c 639 640 #define _HPUX_SOURCE 641 #include <stdlib.h> 642 #include <unistd.h> 643 644 int main () 645 { 646 #if defined(_SC_KERNEL_BITS) 647 long bits = sysconf(_SC_KERNEL_BITS); 648 #endif 649 long cpu = sysconf (_SC_CPU_VERSION); 650 651 switch (cpu) 652 { 653 case CPU_PA_RISC1_0: puts ("hppa1.0"); break; 654 case CPU_PA_RISC1_1: puts ("hppa1.1"); break; 655 case CPU_PA_RISC2_0: 656 #if defined(_SC_KERNEL_BITS) 657 switch (bits) 658 { 659 case 64: puts ("hppa2.0w"); break; 660 case 32: puts ("hppa2.0n"); break; 661 default: puts ("hppa2.0"); break; 662 } break; 663 #else /* !defined(_SC_KERNEL_BITS) */ 664 puts ("hppa2.0"); break; 665 #endif 666 default: puts ("hppa1.0"); break; 667 } 668 exit (0); 669 } 643 670 EOF 644 671 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` … … 731 758 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 732 759 echo c1-convex-bsd 733 exit ;;760 exit ;; 734 761 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 735 762 if getsysinfo -f scalar_acc … … 737 764 else echo c2-convex-bsd 738 765 fi 739 exit ;;766 exit ;; 740 767 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 741 768 echo c34-convex-bsd 742 exit ;;769 exit ;; 743 770 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 744 771 echo c38-convex-bsd 745 exit ;;772 exit ;; 746 773 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 747 774 echo c4-convex-bsd 748 exit ;;775 exit ;; 749 776 CRAY*Y-MP:*:*:*) 750 777 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' … … 770 797 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 771 798 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 772 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`773 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`774 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"775 exit ;;799 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 800 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 801 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 802 exit ;; 776 803 5000:UNIX_System_V:4.*:*) 777 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`778 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`779 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"804 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 805 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 806 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 780 807 exit ;; 781 808 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) … … 805 832 exit ;; 806 833 i*:windows32*:*) 807 # uname -m includes "-pc" on this system.808 echo ${UNAME_MACHINE}-mingw32834 # uname -m includes "-pc" on this system. 835 echo ${UNAME_MACHINE}-mingw32 809 836 exit ;; 810 837 i*:PW*:*) … … 812 839 exit ;; 813 840 *:Interix*:*) 814 case ${UNAME_MACHINE} in841 case ${UNAME_MACHINE} in 815 842 x86) 816 843 echo i586-pc-interix${UNAME_RELEASE} … … 849 876 *:GNU:*:*) 850 877 # the GNU system 851 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown- gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`878 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 852 879 exit ;; 853 880 *:GNU/*:*:*) 854 881 # other systems with GNU libc and userland 855 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`- gnu882 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} 856 883 exit ;; 857 884 i*86:Minix:*:*) … … 867 894 EV67) UNAME_MACHINE=alphaev67 ;; 868 895 EV68*) UNAME_MACHINE=alphaev68 ;; 869 esac896 esac 870 897 objdump --private-headers /bin/sh | grep -q ld.so.1 871 if test "$?" = 0 ; then LIBC=" libc1" ; else LIBC="" ; fi872 echo ${UNAME_MACHINE}-unknown-linux- gnu${LIBC}898 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi 899 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 873 900 exit ;; 874 901 arm*:Linux:*:*) … … 877 904 | grep -q __ARM_EABI__ 878 905 then 879 echo ${UNAME_MACHINE}-unknown-linux- gnu906 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 880 907 else 881 echo ${UNAME_MACHINE}-unknown-linux-gnueabi 908 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ 909 | grep -q __ARM_PCS_VFP 910 then 911 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi 912 else 913 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf 914 fi 882 915 fi 883 916 exit ;; 884 917 avr32*:Linux:*:*) 885 echo ${UNAME_MACHINE}-unknown-linux- gnu918 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 886 919 exit ;; 887 920 cris:Linux:*:*) 888 echo cris-axis-linux- gnu921 echo cris-axis-linux-${LIBC} 889 922 exit ;; 890 923 crisv32:Linux:*:*) 891 echo crisv32-axis-linux- gnu924 echo crisv32-axis-linux-${LIBC} 892 925 exit ;; 893 926 frv:Linux:*:*) 894 echo frv-unknown-linux-gnu 927 echo frv-unknown-linux-${LIBC} 895 928 exit ;; 896 929 i*86:Linux:*:*) 897 LIBC=gnu 898 eval $set_cc_for_build 899 sed 's/^ //' << EOF >$dummy.c 900 #ifdef __dietlibc__ 901 LIBC=dietlibc 902 #endif 903 EOF 904 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` 905 echo "${UNAME_MACHINE}-pc-linux-${LIBC}" 930 echo ${UNAME_MACHINE}-pc-linux-${LIBC} 906 931 exit ;; 907 932 ia64:Linux:*:*) 908 echo ${UNAME_MACHINE}-unknown-linux- gnu933 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 909 934 exit ;; 910 935 m32r*:Linux:*:*) 911 echo ${UNAME_MACHINE}-unknown-linux- gnu936 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 912 937 exit ;; 913 938 m68*:Linux:*:*) 914 echo ${UNAME_MACHINE}-unknown-linux- gnu939 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 915 940 exit ;; 916 941 mips:Linux:*:* | mips64:Linux:*:*) … … 931 956 EOF 932 957 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` 933 test x"${CPU}" != x && { echo "${CPU}-unknown-linux- gnu"; exit; }958 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } 934 959 ;; 935 960 or32:Linux:*:*) 936 echo or32-unknown-linux- gnu961 echo or32-unknown-linux-${LIBC} 937 962 exit ;; 938 963 padre:Linux:*:*) 939 echo sparc-unknown-linux- gnu964 echo sparc-unknown-linux-${LIBC} 940 965 exit ;; 941 966 parisc64:Linux:*:* | hppa64:Linux:*:*) 942 echo hppa64-unknown-linux- gnu967 echo hppa64-unknown-linux-${LIBC} 943 968 exit ;; 944 969 parisc:Linux:*:* | hppa:Linux:*:*) 945 970 # Look for CPU level 946 971 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 947 PA7*) echo hppa1.1-unknown-linux- gnu;;948 PA8*) echo hppa2.0-unknown-linux- gnu;;949 *) echo hppa-unknown-linux- gnu;;972 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; 973 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; 974 *) echo hppa-unknown-linux-${LIBC} ;; 950 975 esac 951 976 exit ;; 952 977 ppc64:Linux:*:*) 953 echo powerpc64-unknown-linux- gnu978 echo powerpc64-unknown-linux-${LIBC} 954 979 exit ;; 955 980 ppc:Linux:*:*) 956 echo powerpc-unknown-linux- gnu981 echo powerpc-unknown-linux-${LIBC} 957 982 exit ;; 958 983 s390:Linux:*:* | s390x:Linux:*:*) … … 960 985 exit ;; 961 986 sh64*:Linux:*:*) 962 echo ${UNAME_MACHINE}-unknown-linux-gnu 987 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 963 988 exit ;; 964 989 sh*:Linux:*:*) 990 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 991 exit ;; 992 sparc:Linux:*:* | sparc64:Linux:*:*) 993 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 994 exit ;; 995 tile*:Linux:*:*) 965 996 echo ${UNAME_MACHINE}-unknown-linux-gnu 966 997 exit ;; 967 sparc:Linux:*:* | sparc64:Linux:*:*)968 echo ${UNAME_MACHINE}-unknown-linux-gnu969 exit ;;970 998 vax:Linux:*:*) 971 echo ${UNAME_MACHINE}-dec-linux- gnu999 echo ${UNAME_MACHINE}-dec-linux-${LIBC} 972 1000 exit ;; 973 1001 x86_64:Linux:*:*) 974 echo x86_64-unknown-linux- gnu1002 echo x86_64-unknown-linux-${LIBC} 975 1003 exit ;; 976 1004 xtensa*:Linux:*:*) 977 echo ${UNAME_MACHINE}-unknown-linux-gnu 1005 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 978 1006 exit ;; 979 1007 i*86:DYNIX/ptx:4*:*) … … 984 1012 exit ;; 985 1013 i*86:UNIX_SV:4.2MP:2.*) 986 # Unixware is an offshoot of SVR4, but it has its own version987 # number series starting with 2...988 # I am not positive that other SVR4 systems won't match this,1014 # Unixware is an offshoot of SVR4, but it has its own version 1015 # number series starting with 2... 1016 # I am not positive that other SVR4 systems won't match this, 989 1017 # I just have to hope. -- rms. 990 # Use sysv4.2uw... so that sysv4* matches it.1018 # Use sysv4.2uw... so that sysv4* matches it. 991 1019 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 992 1020 exit ;; … … 1020 1048 exit ;; 1021 1049 i*86:*:5:[678]*) 1022 # UnixWare 7.x, OpenUNIX and OpenServer 6.1050 # UnixWare 7.x, OpenUNIX and OpenServer 6. 1023 1051 case `/bin/uname -X | grep "^Machine"` in 1024 1052 *486*) UNAME_MACHINE=i486 ;; … … 1048 1076 pc:*:*:*) 1049 1077 # Left here for compatibility: 1050 # uname -m prints for DJGPP always 'pc', but it prints nothing about1051 # the processor, so we play safe by assuming i586.1078 # uname -m prints for DJGPP always 'pc', but it prints nothing about 1079 # the processor, so we play safe by assuming i586. 1052 1080 # Note: whatever this is, it MUST be the same as what config.sub 1053 1081 # prints for the "djgpp" host, or else GDB configury will decide that 1054 1082 # this is a cross-build. 1055 1083 echo i586-pc-msdosdjgpp 1056 exit ;;1084 exit ;; 1057 1085 Intel:Mach:3*:*) 1058 1086 echo i386-pc-mach3 … … 1089 1117 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 1090 1118 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 1091 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \1092 && { echo i486-ncr-sysv4; exit; } ;;1119 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1120 && { echo i486-ncr-sysv4; exit; } ;; 1093 1121 NCR*:*:4.2:* | MPRAS*:*:4.2:*) 1094 1122 OS_REL='.3' … … 1133 1161 fi 1134 1162 exit ;; 1135 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort1136 # says <Richard.M.Bartel@ccMail.Census.GOV>1137 echo i586-unisys-sysv41138 exit ;;1163 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 1164 # says <Richard.M.Bartel@ccMail.Census.GOV> 1165 echo i586-unisys-sysv4 1166 exit ;; 1139 1167 *:UNIX_System_V:4*:FTX*) 1140 1168 # From Gerald Hewes <hewes@openmarket.com>. … … 1162 1190 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 1163 1191 if [ -d /usr/nec ]; then 1164 echo mips-nec-sysv${UNAME_RELEASE}1192 echo mips-nec-sysv${UNAME_RELEASE} 1165 1193 else 1166 echo mips-unknown-sysv${UNAME_RELEASE}1167 fi 1168 exit ;;1194 echo mips-unknown-sysv${UNAME_RELEASE} 1195 fi 1196 exit ;; 1169 1197 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. 1170 1198 echo powerpc-be-beos … … 1231 1259 echo i386-pc-qnx 1232 1260 exit ;; 1261 NEO-?:NONSTOP_KERNEL:*:*) 1262 echo neo-tandem-nsk${UNAME_RELEASE} 1263 exit ;; 1233 1264 NSE-?:NONSTOP_KERNEL:*:*) 1234 1265 echo nse-tandem-nsk${UNAME_RELEASE} … … 1276 1307 exit ;; 1277 1308 SEI:*:*:SEIUX) 1278 echo mips-sei-seiux${UNAME_RELEASE}1309 echo mips-sei-seiux${UNAME_RELEASE} 1279 1310 exit ;; 1280 1311 *:DragonFly:*:*) … … 1282 1313 exit ;; 1283 1314 *:*VMS:*:*) 1284 UNAME_MACHINE=`(uname -p) 2>/dev/null`1315 UNAME_MACHINE=`(uname -p) 2>/dev/null` 1285 1316 case "${UNAME_MACHINE}" in 1286 1317 A*) echo alpha-dec-vms ; exit ;; … … 1322 1353 printf ("m68k-sony-newsos%s\n", 1323 1354 #ifdef NEWSOS4 1324 "4"1355 "4" 1325 1356 #else 1326 ""1327 #endif 1328 ); exit (0);1357 "" 1358 #endif 1359 ); exit (0); 1329 1360 #endif 1330 1361 #endif
Note: See TracChangeset
for help on using the changeset viewer.
