~ubuntu-branches/ubuntu/precise/libgrip/precise

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Stephen M. Webb, Chase Douglas, Martin Pitt, Stephen M. Webb
  • Date: 2011-10-19 22:48:21 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20111019224821-v1i0yuds0wliapti
Tags: 0.3.3-0ubuntu1
[ Chase Douglas ]
* Run autoreconf if the build is native (for daily builds)
* Don't strip binaries if build is native (for daily builds)

[ Martin Pitt ]
* debian/libgrip-dev.install: Install the HTML documentation into
  /usr/share/doc/.
* Add debian/libgrip-dev.links: Provide a gtk-doc symlink for devhelp.
* debian/control: Fix Vcs-Bzr:, so that debcheckout actually works.

[ Stephen M. Webb ]
* New upstream release.
* Removed gio from main loop on shutdown (LP: #830640).
* Fixed segfaults to to inconsistent window handling (LP: #827958).
* Changed the names of generaed introspection files (LP: #861596).
* Tweked Python introspection bindings (LP: #861599).
* Fixed PPA daily build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
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, 2010,
5
 
#   2011 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2011-05-11'
 
7
timestamp='2009-12-30'
8
8
 
9
9
# This file is free software; you can redistribute it and/or modify it
10
10
# under the terms of the GNU General Public License as published by
57
57
 
58
58
Originally written by Per Bothner.
59
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
 
60
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
61
61
Software Foundation, Inc.
62
62
 
63
63
This is free software; see the source for copying conditions.  There is NO
181
181
                fi
182
182
                ;;
183
183
            *)
184
 
                os=netbsd
 
184
                os=netbsd
185
185
                ;;
186
186
        esac
187
187
        # The OS release
224
224
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
225
225
                ;;
226
226
        *5.*)
227
 
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
 
227
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
228
228
                ;;
229
229
        esac
230
230
        # According to Compaq, /usr/sbin/psrinfo has been available on
270
270
        # A Xn.n version is an unreleased experimental baselevel.
271
271
        # 1.2 uses "1.2" for uname -r.
272
272
        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
273
 
        # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
274
 
        exitcode=$?
275
 
        trap '' 0
276
 
        exit $exitcode ;;
 
273
        exit ;;
277
274
    Alpha\ *:Windows_NT*:*)
278
275
        # How do we know it's Interix rather than the generic POSIX subsystem?
279
276
        # Should we change UNAME_MACHINE based on the output of uname instead
299
296
        echo s390-ibm-zvmoe
300
297
        exit ;;
301
298
    *:OS400:*:*)
302
 
        echo powerpc-ibm-os400
 
299
        echo powerpc-ibm-os400
303
300
        exit ;;
304
301
    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
305
302
        echo arm-acorn-riscix${UNAME_RELEASE}
398
395
    # MiNT.  But MiNT is downward compatible to TOS, so this should
399
396
    # be no problem.
400
397
    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
401
 
        echo m68k-atari-mint${UNAME_RELEASE}
 
398
        echo m68k-atari-mint${UNAME_RELEASE}
402
399
        exit ;;
403
400
    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
404
401
        echo m68k-atari-mint${UNAME_RELEASE}
405
 
        exit ;;
 
402
        exit ;;
406
403
    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
407
 
        echo m68k-atari-mint${UNAME_RELEASE}
 
404
        echo m68k-atari-mint${UNAME_RELEASE}
408
405
        exit ;;
409
406
    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
410
 
        echo m68k-milan-mint${UNAME_RELEASE}
411
 
        exit ;;
 
407
        echo m68k-milan-mint${UNAME_RELEASE}
 
408
        exit ;;
412
409
    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
413
 
        echo m68k-hades-mint${UNAME_RELEASE}
414
 
        exit ;;
 
410
        echo m68k-hades-mint${UNAME_RELEASE}
 
411
        exit ;;
415
412
    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
416
 
        echo m68k-unknown-mint${UNAME_RELEASE}
417
 
        exit ;;
 
413
        echo m68k-unknown-mint${UNAME_RELEASE}
 
414
        exit ;;
418
415
    m68k:machten:*:*)
419
416
        echo m68k-apple-machten${UNAME_RELEASE}
420
417
        exit ;;
484
481
        echo m88k-motorola-sysv3
485
482
        exit ;;
486
483
    AViiON:dgux:*:*)
487
 
        # DG/UX returns AViiON for all architectures
488
 
        UNAME_PROCESSOR=`/usr/bin/uname -p`
 
484
        # DG/UX returns AViiON for all architectures
 
485
        UNAME_PROCESSOR=`/usr/bin/uname -p`
489
486
        if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
490
487
        then
491
488
            if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
498
495
        else
499
496
            echo i586-dg-dgux${UNAME_RELEASE}
500
497
        fi
501
 
        exit ;;
 
498
        exit ;;
502
499
    M88*:DolphinOS:*:*) # DolphinOS (SVR3)
503
500
        echo m88k-dolphin-sysv3
504
501
        exit ;;
555
552
                echo rs6000-ibm-aix3.2
556
553
        fi
557
554
        exit ;;
558
 
    *:AIX:*:[4567])
 
555
    *:AIX:*:[456])
559
556
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
560
557
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
561
558
                IBM_ARCH=rs6000
598
595
            9000/[678][0-9][0-9])
599
596
                if [ -x /usr/bin/getconf ]; then
600
597
                    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" ;;
 
598
                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
 
599
                    case "${sc_cpu_version}" in
 
600
                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
 
601
                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
 
602
                      532)                      # CPU_PA_RISC2_0
 
603
                        case "${sc_kernel_bits}" in
 
604
                          32) HP_ARCH="hppa2.0n" ;;
 
605
                          64) HP_ARCH="hppa2.0w" ;;
609
606
                          '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
610
 
                        esac ;;
611
 
                    esac
 
607
                        esac ;;
 
608
                    esac
612
609
                fi
613
610
                if [ "${HP_ARCH}" = "" ]; then
614
611
                    eval $set_cc_for_build
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
 
                }
 
612
                    sed 's/^              //' << EOF >$dummy.c
 
613
 
 
614
              #define _HPUX_SOURCE
 
615
              #include <stdlib.h>
 
616
              #include <unistd.h>
 
617
 
 
618
              int main ()
 
619
              {
 
620
              #if defined(_SC_KERNEL_BITS)
 
621
                  long bits = sysconf(_SC_KERNEL_BITS);
 
622
              #endif
 
623
                  long cpu  = sysconf (_SC_CPU_VERSION);
 
624
 
 
625
                  switch (cpu)
 
626
                {
 
627
                case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
 
628
                case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
 
629
                case CPU_PA_RISC2_0:
 
630
              #if defined(_SC_KERNEL_BITS)
 
631
                    switch (bits)
 
632
                        {
 
633
                        case 64: puts ("hppa2.0w"); break;
 
634
                        case 32: puts ("hppa2.0n"); break;
 
635
                        default: puts ("hppa2.0"); break;
 
636
                        } break;
 
637
              #else  /* !defined(_SC_KERNEL_BITS) */
 
638
                    puts ("hppa2.0"); break;
 
639
              #endif
 
640
                default: puts ("hppa1.0"); break;
 
641
                }
 
642
                  exit (0);
 
643
              }
647
644
EOF
648
645
                    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
649
646
                    test -z "$HP_ARCH" && HP_ARCH=hppa
734
731
        exit ;;
735
732
    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
736
733
        echo c1-convex-bsd
737
 
        exit ;;
 
734
        exit ;;
738
735
    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
739
736
        if getsysinfo -f scalar_acc
740
737
        then echo c32-convex-bsd
741
738
        else echo c2-convex-bsd
742
739
        fi
743
 
        exit ;;
 
740
        exit ;;
744
741
    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
745
742
        echo c34-convex-bsd
746
 
        exit ;;
 
743
        exit ;;
747
744
    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
748
745
        echo c38-convex-bsd
749
 
        exit ;;
 
746
        exit ;;
750
747
    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
751
748
        echo c4-convex-bsd
752
 
        exit ;;
 
749
        exit ;;
753
750
    CRAY*Y-MP:*:*:*)
754
751
        echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
755
752
        exit ;;
773
770
        exit ;;
774
771
    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
775
772
        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 ;;
 
773
        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
 
774
        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
 
775
        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 
776
        exit ;;
780
777
    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}"
 
778
        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
 
779
        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
 
780
        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
784
781
        exit ;;
785
782
    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
786
783
        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
808
805
        echo ${UNAME_MACHINE}-pc-mingw32
809
806
        exit ;;
810
807
    i*:windows32*:*)
811
 
        # uname -m includes "-pc" on this system.
812
 
        echo ${UNAME_MACHINE}-mingw32
 
808
        # uname -m includes "-pc" on this system.
 
809
        echo ${UNAME_MACHINE}-mingw32
813
810
        exit ;;
814
811
    i*:PW*:*)
815
812
        echo ${UNAME_MACHINE}-pc-pw32
816
813
        exit ;;
817
814
    *:Interix*:*)
818
 
        case ${UNAME_MACHINE} in
 
815
        case ${UNAME_MACHINE} in
819
816
            x86)
820
817
                echo i586-pc-interix${UNAME_RELEASE}
821
818
                exit ;;
870
867
          EV6)   UNAME_MACHINE=alphaev6 ;;
871
868
          EV67)  UNAME_MACHINE=alphaev67 ;;
872
869
          EV68*) UNAME_MACHINE=alphaev68 ;;
873
 
        esac
 
870
        esac
874
871
        objdump --private-headers /bin/sh | grep -q ld.so.1
875
872
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
876
873
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
882
879
        then
883
880
            echo ${UNAME_MACHINE}-unknown-linux-gnu
884
881
        else
885
 
            if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
886
 
                | grep -q __ARM_PCS_VFP
887
 
            then
888
 
                echo ${UNAME_MACHINE}-unknown-linux-gnueabi
889
 
            else
890
 
                echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
891
 
            fi
 
882
            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
892
883
        fi
893
884
        exit ;;
894
885
    avr32*:Linux:*:*)
901
892
        echo crisv32-axis-linux-gnu
902
893
        exit ;;
903
894
    frv:Linux:*:*)
904
 
        echo frv-unknown-linux-gnu
 
895
        echo frv-unknown-linux-gnu
905
896
        exit ;;
906
897
    i*86:Linux:*:*)
907
898
        LIBC=gnu
969
960
        echo ${UNAME_MACHINE}-ibm-linux
970
961
        exit ;;
971
962
    sh64*:Linux:*:*)
972
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
963
        echo ${UNAME_MACHINE}-unknown-linux-gnu
973
964
        exit ;;
974
965
    sh*:Linux:*:*)
975
966
        echo ${UNAME_MACHINE}-unknown-linux-gnu
977
968
    sparc:Linux:*:* | sparc64:Linux:*:*)
978
969
        echo ${UNAME_MACHINE}-unknown-linux-gnu
979
970
        exit ;;
980
 
    tile*:Linux:*:*)
981
 
        echo ${UNAME_MACHINE}-tilera-linux-gnu
982
 
        exit ;;
983
971
    vax:Linux:*:*)
984
972
        echo ${UNAME_MACHINE}-dec-linux-gnu
985
973
        exit ;;
987
975
        echo x86_64-unknown-linux-gnu
988
976
        exit ;;
989
977
    xtensa*:Linux:*:*)
990
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
978
        echo ${UNAME_MACHINE}-unknown-linux-gnu
991
979
        exit ;;
992
980
    i*86:DYNIX/ptx:4*:*)
993
981
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
996
984
        echo i386-sequent-sysv4
997
985
        exit ;;
998
986
    i*86:UNIX_SV:4.2MP:2.*)
999
 
        # Unixware is an offshoot of SVR4, but it has its own version
1000
 
        # number series starting with 2...
1001
 
        # I am not positive that other SVR4 systems won't match this,
 
987
        # Unixware is an offshoot of SVR4, but it has its own version
 
988
        # number series starting with 2...
 
989
        # I am not positive that other SVR4 systems won't match this,
1002
990
        # I just have to hope.  -- rms.
1003
 
        # Use sysv4.2uw... so that sysv4* matches it.
 
991
        # Use sysv4.2uw... so that sysv4* matches it.
1004
992
        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1005
993
        exit ;;
1006
994
    i*86:OS/2:*:*)
1032
1020
        fi
1033
1021
        exit ;;
1034
1022
    i*86:*:5:[678]*)
1035
 
        # UnixWare 7.x, OpenUNIX and OpenServer 6.
 
1023
        # UnixWare 7.x, OpenUNIX and OpenServer 6.
1036
1024
        case `/bin/uname -X | grep "^Machine"` in
1037
1025
            *486*)           UNAME_MACHINE=i486 ;;
1038
1026
            *Pentium)        UNAME_MACHINE=i586 ;;
1060
1048
        exit ;;
1061
1049
    pc:*:*:*)
1062
1050
        # Left here for compatibility:
1063
 
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
1064
 
        # the processor, so we play safe by assuming i586.
 
1051
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
 
1052
        # the processor, so we play safe by assuming i586.
1065
1053
        # Note: whatever this is, it MUST be the same as what config.sub
1066
1054
        # prints for the "djgpp" host, or else GDB configury will decide that
1067
1055
        # this is a cross-build.
1068
1056
        echo i586-pc-msdosdjgpp
1069
 
        exit ;;
 
1057
        exit ;;
1070
1058
    Intel:Mach:3*:*)
1071
1059
        echo i386-pc-mach3
1072
1060
        exit ;;
1101
1089
        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1102
1090
          && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1103
1091
    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1104
 
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1105
 
          && { echo i486-ncr-sysv4; exit; } ;;
 
1092
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 
1093
          && { echo i486-ncr-sysv4; exit; } ;;
1106
1094
    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1107
1095
        OS_REL='.3'
1108
1096
        test -r /etc/.relid \
1145
1133
                echo ns32k-sni-sysv
1146
1134
        fi
1147
1135
        exit ;;
1148
 
    PENTIUM:*:4.0*:*)   # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1149
 
                        # says <Richard.M.Bartel@ccMail.Census.GOV>
1150
 
        echo i586-unisys-sysv4
1151
 
        exit ;;
 
1136
    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
 
1137
                      # says <Richard.M.Bartel@ccMail.Census.GOV>
 
1138
        echo i586-unisys-sysv4
 
1139
        exit ;;
1152
1140
    *:UNIX_System_V:4*:FTX*)
1153
1141
        # From Gerald Hewes <hewes@openmarket.com>.
1154
1142
        # How about differentiating between stratus architectures? -djm
1174
1162
        exit ;;
1175
1163
    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1176
1164
        if [ -d /usr/nec ]; then
1177
 
                echo mips-nec-sysv${UNAME_RELEASE}
 
1165
                echo mips-nec-sysv${UNAME_RELEASE}
1178
1166
        else
1179
 
                echo mips-unknown-sysv${UNAME_RELEASE}
 
1167
                echo mips-unknown-sysv${UNAME_RELEASE}
1180
1168
        fi
1181
 
        exit ;;
 
1169
        exit ;;
1182
1170
    BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only.
1183
1171
        echo powerpc-be-beos
1184
1172
        exit ;;
1243
1231
    *:QNX:*:4*)
1244
1232
        echo i386-pc-qnx
1245
1233
        exit ;;
1246
 
    NEO-?:NONSTOP_KERNEL:*:*)
1247
 
        echo neo-tandem-nsk${UNAME_RELEASE}
1248
 
        exit ;;
1249
1234
    NSE-?:NONSTOP_KERNEL:*:*)
1250
1235
        echo nse-tandem-nsk${UNAME_RELEASE}
1251
1236
        exit ;;
1291
1276
        echo pdp10-unknown-its
1292
1277
        exit ;;
1293
1278
    SEI:*:*:SEIUX)
1294
 
        echo mips-sei-seiux${UNAME_RELEASE}
 
1279
        echo mips-sei-seiux${UNAME_RELEASE}
1295
1280
        exit ;;
1296
1281
    *:DragonFly:*:*)
1297
1282
        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1298
1283
        exit ;;
1299
1284
    *:*VMS:*:*)
1300
 
        UNAME_MACHINE=`(uname -p) 2>/dev/null`
 
1285
        UNAME_MACHINE=`(uname -p) 2>/dev/null`
1301
1286
        case "${UNAME_MACHINE}" in
1302
1287
            A*) echo alpha-dec-vms ; exit ;;
1303
1288
            I*) echo ia64-dec-vms ; exit ;;
1337
1322
#include <sys/param.h>
1338
1323
  printf ("m68k-sony-newsos%s\n",
1339
1324
#ifdef NEWSOS4
1340
 
        "4"
 
1325
          "4"
1341
1326
#else
1342
 
        ""
 
1327
          ""
1343
1328
#endif
1344
 
        ); exit (0);
 
1329
         ); exit (0);
1345
1330
#endif
1346
1331
#endif
1347
1332