ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/config.guess
(Generate patch)

Comparing ircd-hybrid-8/config.guess (file contents):
Revision 1256 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1257 by michael, Sun Jan 15 06:28:46 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Attempt to guess a canonical system name.
3   #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 < #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5 < #   Free Software Foundation, Inc.
4 > #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5 > #   2011 Free Software Foundation, Inc.
6  
7 < timestamp='2010-08-21'
7 > timestamp='2011-11-11'
8  
9   # This file is free software; you can redistribute it and/or modify it
10   # under the terms of the GNU General Public License as published by
# Line 57 | Line 57 | GNU config.guess ($timestamp)
57  
58   Originally written by Per Bothner.
59   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
60 < 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
60 > 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
61   Software Foundation, Inc.
62  
63   This is free software; see the source for copying conditions.  There is NO
# Line 92 | Line 92 | if test $# != 0; then
92    exit 1
93   fi
94  
95 < trap 'exit 1' HUP INT TERM
95 > trap 'exit 1' 1 2 15
96  
97   # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
98   # compiler to aid in system detection is discouraged as it requires
# Line 106 | Line 106 | trap 'exit 1' HUP INT TERM
106  
107   set_cc_for_build='
108   trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
109 < trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ;
109 > trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
110   : ${TMPDIR=/tmp} ;
111   { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
112   { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
# Line 181 | Line 181 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
181                  fi
182                  ;;
183              *)
184 <                os=netbsd
184 >                os=netbsd
185                  ;;
186          esac
187          # The OS release
# Line 224 | Line 224 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
224                  UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
225                  ;;
226          *5.*)
227 <                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
227 >                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
228                  ;;
229          esac
230          # According to Compaq, /usr/sbin/psrinfo has been available on
# Line 270 | Line 270 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
270          # A Xn.n version is an unreleased experimental baselevel.
271          # 1.2 uses "1.2" for uname -r.
272          echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
273 <        exit ;;
273 >        # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
274 >        exitcode=$?
275 >        trap '' 0
276 >        exit $exitcode ;;
277      Alpha\ *:Windows_NT*:*)
278          # How do we know it's Interix rather than the generic POSIX subsystem?
279          # Should we change UNAME_MACHINE based on the output of uname instead
# Line 296 | Line 299 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
299          echo s390-ibm-zvmoe
300          exit ;;
301      *:OS400:*:*)
302 <        echo powerpc-ibm-os400
302 >        echo powerpc-ibm-os400
303          exit ;;
304      arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
305          echo arm-acorn-riscix${UNAME_RELEASE}
# Line 395 | Line 398 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
398      # MiNT.  But MiNT is downward compatible to TOS, so this should
399      # be no problem.
400      atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
401 <        echo m68k-atari-mint${UNAME_RELEASE}
401 >        echo m68k-atari-mint${UNAME_RELEASE}
402          exit ;;
403      atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
404          echo m68k-atari-mint${UNAME_RELEASE}
405 <        exit ;;
405 >        exit ;;
406      *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
407 <        echo m68k-atari-mint${UNAME_RELEASE}
407 >        echo m68k-atari-mint${UNAME_RELEASE}
408          exit ;;
409      milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
410 <        echo m68k-milan-mint${UNAME_RELEASE}
411 <        exit ;;
410 >        echo m68k-milan-mint${UNAME_RELEASE}
411 >        exit ;;
412      hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
413 <        echo m68k-hades-mint${UNAME_RELEASE}
414 <        exit ;;
413 >        echo m68k-hades-mint${UNAME_RELEASE}
414 >        exit ;;
415      *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
416 <        echo m68k-unknown-mint${UNAME_RELEASE}
417 <        exit ;;
416 >        echo m68k-unknown-mint${UNAME_RELEASE}
417 >        exit ;;
418      m68k:machten:*:*)
419          echo m68k-apple-machten${UNAME_RELEASE}
420          exit ;;
# Line 481 | Line 484 | EOF
484          echo m88k-motorola-sysv3
485          exit ;;
486      AViiON:dgux:*:*)
487 <        # DG/UX returns AViiON for all architectures
488 <        UNAME_PROCESSOR=`/usr/bin/uname -p`
487 >        # DG/UX returns AViiON for all architectures
488 >        UNAME_PROCESSOR=`/usr/bin/uname -p`
489          if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
490          then
491              if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
# Line 495 | Line 498 | EOF
498          else
499              echo i586-dg-dgux${UNAME_RELEASE}
500          fi
501 <        exit ;;
501 >        exit ;;
502      M88*:DolphinOS:*:*) # DolphinOS (SVR3)
503          echo m88k-dolphin-sysv3
504          exit ;;
# Line 595 | Line 598 | EOF
598              9000/[678][0-9][0-9])
599                  if [ -x /usr/bin/getconf ]; then
600                      sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
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" ;;
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" ;;
609                            '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
610 <                        esac ;;
611 <                    esac
610 >                        esac ;;
611 >                    esac
612                  fi
613                  if [ "${HP_ARCH}" = "" ]; then
614                      eval $set_cc_for_build
615 <                    sed 's/^              //' << EOF >$dummy.c
615 >                    sed 's/^            //' << EOF >$dummy.c
616 >
617 >                #define _HPUX_SOURCE
618 >                #include <stdlib.h>
619 >                #include <unistd.h>
620  
621 <              #define _HPUX_SOURCE
622 <              #include <stdlib.h>
623 <              #include <unistd.h>
624 <
625 <              int main ()
626 <              {
627 <              #if defined(_SC_KERNEL_BITS)
628 <                  long bits = sysconf(_SC_KERNEL_BITS);
629 <              #endif
630 <                  long cpu  = sysconf (_SC_CPU_VERSION);
631 <
632 <                  switch (cpu)
633 <                {
634 <                case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
635 <                case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
636 <                case CPU_PA_RISC2_0:
637 <              #if defined(_SC_KERNEL_BITS)
638 <                    switch (bits)
639 <                        {
640 <                        case 64: puts ("hppa2.0w"); break;
641 <                        case 32: puts ("hppa2.0n"); break;
642 <                        default: puts ("hppa2.0"); break;
643 <                        } break;
644 <              #else  /* !defined(_SC_KERNEL_BITS) */
645 <                    puts ("hppa2.0"); break;
646 <              #endif
640 <                default: puts ("hppa1.0"); break;
641 <                }
642 <                  exit (0);
643 <              }
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 >                }
647   EOF
648                      (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
649                      test -z "$HP_ARCH" && HP_ARCH=hppa
# Line 731 | Line 734 | EOF
734          exit ;;
735      C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
736          echo c1-convex-bsd
737 <        exit ;;
737 >        exit ;;
738      C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
739          if getsysinfo -f scalar_acc
740          then echo c32-convex-bsd
741          else echo c2-convex-bsd
742          fi
743 <        exit ;;
743 >        exit ;;
744      C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
745          echo c34-convex-bsd
746 <        exit ;;
746 >        exit ;;
747      C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
748          echo c38-convex-bsd
749 <        exit ;;
749 >        exit ;;
750      C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
751          echo c4-convex-bsd
752 <        exit ;;
752 >        exit ;;
753      CRAY*Y-MP:*:*:*)
754          echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
755          exit ;;
# Line 770 | Line 773 | EOF
773          exit ;;
774      F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
775          FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
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 >        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 ;;
780      5000:UNIX_System_V:4.*:*)
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}"
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}"
784          exit ;;
785      i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
786          echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
# Line 789 | Line 792 | EOF
792          echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
793          exit ;;
794      *:FreeBSD:*:*)
795 <        case ${UNAME_MACHINE} in
796 <            pc98)
794 <                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
795 >        UNAME_PROCESSOR=`/usr/bin/uname -p`
796 >        case ${UNAME_PROCESSOR} in
797              amd64)
798                  echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
799              *)
800 <                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
800 >                echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
801          esac
802          exit ;;
803      i*:CYGWIN*:*)
# Line 804 | Line 806 | EOF
806      *:MINGW*:*)
807          echo ${UNAME_MACHINE}-pc-mingw32
808          exit ;;
809 +    i*:MSYS*:*)
810 +        echo ${UNAME_MACHINE}-pc-msys
811 +        exit ;;
812      i*:windows32*:*)
813 <        # uname -m includes "-pc" on this system.
814 <        echo ${UNAME_MACHINE}-mingw32
813 >        # uname -m includes "-pc" on this system.
814 >        echo ${UNAME_MACHINE}-mingw32
815          exit ;;
816      i*:PW*:*)
817          echo ${UNAME_MACHINE}-pc-pw32
818          exit ;;
819      *:Interix*:*)
820 <        case ${UNAME_MACHINE} in
820 >        case ${UNAME_MACHINE} in
821              x86)
822                  echo i586-pc-interix${UNAME_RELEASE}
823                  exit ;;
# Line 867 | Line 872 | EOF
872            EV6)   UNAME_MACHINE=alphaev6 ;;
873            EV67)  UNAME_MACHINE=alphaev67 ;;
874            EV68*) UNAME_MACHINE=alphaev68 ;;
875 <        esac
875 >        esac
876          objdump --private-headers /bin/sh | grep -q ld.so.1
877          if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
878          echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
# Line 879 | Line 884 | EOF
884          then
885              echo ${UNAME_MACHINE}-unknown-linux-gnu
886          else
887 <            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
894          fi
895          exit ;;
896      avr32*:Linux:*:*)
# Line 892 | Line 903 | EOF
903          echo crisv32-axis-linux-gnu
904          exit ;;
905      frv:Linux:*:*)
906 <        echo frv-unknown-linux-gnu
906 >        echo frv-unknown-linux-gnu
907 >        exit ;;
908 >    hexagon:Linux:*:*)
909 >        echo hexagon-unknown-linux-gnu
910          exit ;;
911      i*86:Linux:*:*)
912          LIBC=gnu
# Line 960 | Line 974 | EOF
974          echo ${UNAME_MACHINE}-ibm-linux
975          exit ;;
976      sh64*:Linux:*:*)
977 <        echo ${UNAME_MACHINE}-unknown-linux-gnu
977 >        echo ${UNAME_MACHINE}-unknown-linux-gnu
978          exit ;;
979      sh*:Linux:*:*)
980          echo ${UNAME_MACHINE}-unknown-linux-gnu
# Line 969 | Line 983 | EOF
983          echo ${UNAME_MACHINE}-unknown-linux-gnu
984          exit ;;
985      tile*:Linux:*:*)
986 <        echo ${UNAME_MACHINE}-tilera-linux-gnu
986 >        echo ${UNAME_MACHINE}-unknown-linux-gnu
987          exit ;;
988      vax:Linux:*:*)
989          echo ${UNAME_MACHINE}-dec-linux-gnu
# Line 978 | Line 992 | EOF
992          echo x86_64-unknown-linux-gnu
993          exit ;;
994      xtensa*:Linux:*:*)
995 <        echo ${UNAME_MACHINE}-unknown-linux-gnu
995 >        echo ${UNAME_MACHINE}-unknown-linux-gnu
996          exit ;;
997      i*86:DYNIX/ptx:4*:*)
998          # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
# Line 987 | Line 1001 | EOF
1001          echo i386-sequent-sysv4
1002          exit ;;
1003      i*86:UNIX_SV:4.2MP:2.*)
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,
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,
1007          # I just have to hope.  -- rms.
1008 <        # Use sysv4.2uw... so that sysv4* matches it.
1008 >        # Use sysv4.2uw... so that sysv4* matches it.
1009          echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1010          exit ;;
1011      i*86:OS/2:*:*)
# Line 1023 | Line 1037 | EOF
1037          fi
1038          exit ;;
1039      i*86:*:5:[678]*)
1040 <        # UnixWare 7.x, OpenUNIX and OpenServer 6.
1040 >        # UnixWare 7.x, OpenUNIX and OpenServer 6.
1041          case `/bin/uname -X | grep "^Machine"` in
1042              *486*)           UNAME_MACHINE=i486 ;;
1043              *Pentium)        UNAME_MACHINE=i586 ;;
# Line 1051 | Line 1065 | EOF
1065          exit ;;
1066      pc:*:*:*)
1067          # Left here for compatibility:
1068 <        # uname -m prints for DJGPP always 'pc', but it prints nothing about
1069 <        # the processor, so we play safe by assuming i586.
1068 >        # uname -m prints for DJGPP always 'pc', but it prints nothing about
1069 >        # the processor, so we play safe by assuming i586.
1070          # Note: whatever this is, it MUST be the same as what config.sub
1071          # prints for the "djgpp" host, or else GDB configury will decide that
1072          # this is a cross-build.
1073          echo i586-pc-msdosdjgpp
1074 <        exit ;;
1074 >        exit ;;
1075      Intel:Mach:3*:*)
1076          echo i386-pc-mach3
1077          exit ;;
# Line 1092 | Line 1106 | EOF
1106          /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1107            && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1108      3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1109 <        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1110 <          && { echo i486-ncr-sysv4; exit; } ;;
1109 >        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1110 >          && { echo i486-ncr-sysv4; exit; } ;;
1111      NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1112          OS_REL='.3'
1113          test -r /etc/.relid \
# Line 1136 | Line 1150 | EOF
1150                  echo ns32k-sni-sysv
1151          fi
1152          exit ;;
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 ;;
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 ;;
1157      *:UNIX_System_V:4*:FTX*)
1158          # From Gerald Hewes <hewes@openmarket.com>.
1159          # How about differentiating between stratus architectures? -djm
# Line 1165 | Line 1179 | EOF
1179          exit ;;
1180      R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1181          if [ -d /usr/nec ]; then
1182 <                echo mips-nec-sysv${UNAME_RELEASE}
1182 >                echo mips-nec-sysv${UNAME_RELEASE}
1183          else
1184 <                echo mips-unknown-sysv${UNAME_RELEASE}
1184 >                echo mips-unknown-sysv${UNAME_RELEASE}
1185          fi
1186 <        exit ;;
1186 >        exit ;;
1187      BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only.
1188          echo powerpc-be-beos
1189          exit ;;
# Line 1234 | Line 1248 | EOF
1248      *:QNX:*:4*)
1249          echo i386-pc-qnx
1250          exit ;;
1251 +    NEO-?:NONSTOP_KERNEL:*:*)
1252 +        echo neo-tandem-nsk${UNAME_RELEASE}
1253 +        exit ;;
1254      NSE-?:NONSTOP_KERNEL:*:*)
1255          echo nse-tandem-nsk${UNAME_RELEASE}
1256          exit ;;
# Line 1279 | Line 1296 | EOF
1296          echo pdp10-unknown-its
1297          exit ;;
1298      SEI:*:*:SEIUX)
1299 <        echo mips-sei-seiux${UNAME_RELEASE}
1299 >        echo mips-sei-seiux${UNAME_RELEASE}
1300          exit ;;
1301      *:DragonFly:*:*)
1302          echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1303          exit ;;
1304      *:*VMS:*:*)
1305 <        UNAME_MACHINE=`(uname -p) 2>/dev/null`
1305 >        UNAME_MACHINE=`(uname -p) 2>/dev/null`
1306          case "${UNAME_MACHINE}" in
1307              A*) echo alpha-dec-vms ; exit ;;
1308              I*) echo ia64-dec-vms ; exit ;;
# Line 1325 | Line 1342 | main ()
1342   #include <sys/param.h>
1343    printf ("m68k-sony-newsos%s\n",
1344   #ifdef NEWSOS4
1345 <          "4"
1345 >        "4"
1346   #else
1347 <          ""
1347 >        ""
1348   #endif
1349 <         ); exit (0);
1349 >        ); exit (0);
1350   #endif
1351   #endif
1352  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)