~ubuntu-branches/ubuntu/trusty/gnome-contacts/trusty-proposed

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-07-30 14:26:00 UTC
  • mfrom: (1.3.2)
  • Revision ID: package-import@ubuntu.com-20120730142600-evecglz3pai4rrmt
Tags: 3.5.4.1-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libfolks-dev

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, 2012 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2012-01-01'
 
7
timestamp='2009-11-20'
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
56
56
GNU config.guess ($timestamp)
57
57
 
58
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, 2011, 2012
61
 
Free Software Foundation, Inc.
 
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.
62
61
 
63
62
This is free software; see the source for copying conditions.  There is NO
64
63
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
145
144
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
146
145
    *:NetBSD:*:*)
147
146
        # NetBSD (nbsd) targets should (where applicable) match one or
148
 
        # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
 
147
        # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
149
148
        # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
150
149
        # switched to ELF, *-*-netbsd* would select the old
151
150
        # object file format.  This provides both forward
181
180
                fi
182
181
                ;;
183
182
            *)
184
 
                os=netbsd
 
183
                os=netbsd
185
184
                ;;
186
185
        esac
187
186
        # The OS release
224
223
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
225
224
                ;;
226
225
        *5.*)
227
 
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
 
226
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
228
227
                ;;
229
228
        esac
230
229
        # According to Compaq, /usr/sbin/psrinfo has been available on
270
269
        # A Xn.n version is an unreleased experimental baselevel.
271
270
        # 1.2 uses "1.2" for uname -r.
272
271
        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 ;;
 
272
        exit ;;
277
273
    Alpha\ *:Windows_NT*:*)
278
274
        # How do we know it's Interix rather than the generic POSIX subsystem?
279
275
        # Should we change UNAME_MACHINE based on the output of uname instead
299
295
        echo s390-ibm-zvmoe
300
296
        exit ;;
301
297
    *:OS400:*:*)
302
 
        echo powerpc-ibm-os400
 
298
        echo powerpc-ibm-os400
303
299
        exit ;;
304
300
    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
305
301
        echo arm-acorn-riscix${UNAME_RELEASE}
398
394
    # MiNT.  But MiNT is downward compatible to TOS, so this should
399
395
    # be no problem.
400
396
    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
401
 
        echo m68k-atari-mint${UNAME_RELEASE}
 
397
        echo m68k-atari-mint${UNAME_RELEASE}
402
398
        exit ;;
403
399
    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
404
400
        echo m68k-atari-mint${UNAME_RELEASE}
405
 
        exit ;;
 
401
        exit ;;
406
402
    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
407
 
        echo m68k-atari-mint${UNAME_RELEASE}
 
403
        echo m68k-atari-mint${UNAME_RELEASE}
408
404
        exit ;;
409
405
    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
410
 
        echo m68k-milan-mint${UNAME_RELEASE}
411
 
        exit ;;
 
406
        echo m68k-milan-mint${UNAME_RELEASE}
 
407
        exit ;;
412
408
    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
413
 
        echo m68k-hades-mint${UNAME_RELEASE}
414
 
        exit ;;
 
409
        echo m68k-hades-mint${UNAME_RELEASE}
 
410
        exit ;;
415
411
    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
416
 
        echo m68k-unknown-mint${UNAME_RELEASE}
417
 
        exit ;;
 
412
        echo m68k-unknown-mint${UNAME_RELEASE}
 
413
        exit ;;
418
414
    m68k:machten:*:*)
419
415
        echo m68k-apple-machten${UNAME_RELEASE}
420
416
        exit ;;
484
480
        echo m88k-motorola-sysv3
485
481
        exit ;;
486
482
    AViiON:dgux:*:*)
487
 
        # DG/UX returns AViiON for all architectures
488
 
        UNAME_PROCESSOR=`/usr/bin/uname -p`
 
483
        # DG/UX returns AViiON for all architectures
 
484
        UNAME_PROCESSOR=`/usr/bin/uname -p`
489
485
        if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
490
486
        then
491
487
            if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
498
494
        else
499
495
            echo i586-dg-dgux${UNAME_RELEASE}
500
496
        fi
501
 
        exit ;;
 
497
        exit ;;
502
498
    M88*:DolphinOS:*:*) # DolphinOS (SVR3)
503
499
        echo m88k-dolphin-sysv3
504
500
        exit ;;
555
551
                echo rs6000-ibm-aix3.2
556
552
        fi
557
553
        exit ;;
558
 
    *:AIX:*:[4567])
 
554
    *:AIX:*:[456])
559
555
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
560
556
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
561
557
                IBM_ARCH=rs6000
598
594
            9000/[678][0-9][0-9])
599
595
                if [ -x /usr/bin/getconf ]; then
600
596
                    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" ;;
 
597
                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
 
598
                    case "${sc_cpu_version}" in
 
599
                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
 
600
                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
 
601
                      532)                      # CPU_PA_RISC2_0
 
602
                        case "${sc_kernel_bits}" in
 
603
                          32) HP_ARCH="hppa2.0n" ;;
 
604
                          64) HP_ARCH="hppa2.0w" ;;
609
605
                          '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
610
 
                        esac ;;
611
 
                    esac
 
606
                        esac ;;
 
607
                    esac
612
608
                fi
613
609
                if [ "${HP_ARCH}" = "" ]; then
614
610
                    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
 
                }
 
611
                    sed 's/^              //' << EOF >$dummy.c
 
612
 
 
613
              #define _HPUX_SOURCE
 
614
              #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
              #endif
 
622
                  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
              #endif
 
639
                default: puts ("hppa1.0"); break;
 
640
                }
 
641
                  exit (0);
 
642
              }
647
643
EOF
648
644
                    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
649
645
                    test -z "$HP_ARCH" && HP_ARCH=hppa
734
730
        exit ;;
735
731
    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
736
732
        echo c1-convex-bsd
737
 
        exit ;;
 
733
        exit ;;
738
734
    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
739
735
        if getsysinfo -f scalar_acc
740
736
        then echo c32-convex-bsd
741
737
        else echo c2-convex-bsd
742
738
        fi
743
 
        exit ;;
 
739
        exit ;;
744
740
    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
745
741
        echo c34-convex-bsd
746
 
        exit ;;
 
742
        exit ;;
747
743
    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
748
744
        echo c38-convex-bsd
749
 
        exit ;;
 
745
        exit ;;
750
746
    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
751
747
        echo c4-convex-bsd
752
 
        exit ;;
 
748
        exit ;;
753
749
    CRAY*Y-MP:*:*:*)
754
750
        echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
755
751
        exit ;;
773
769
        exit ;;
774
770
    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
775
771
        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 ;;
 
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 ;;
780
776
    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}"
 
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}"
784
780
        exit ;;
785
781
    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
786
782
        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
792
788
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
793
789
        exit ;;
794
790
    *:FreeBSD:*:*)
795
 
        UNAME_PROCESSOR=`/usr/bin/uname -p`
796
 
        case ${UNAME_PROCESSOR} in
 
791
        case ${UNAME_MACHINE} in
 
792
            pc98)
 
793
                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
797
794
            amd64)
798
795
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
799
796
            *)
800
 
                echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
797
                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
801
798
        esac
802
799
        exit ;;
803
800
    i*:CYGWIN*:*)
806
803
    *:MINGW*:*)
807
804
        echo ${UNAME_MACHINE}-pc-mingw32
808
805
        exit ;;
809
 
    i*:MSYS*:*)
810
 
        echo ${UNAME_MACHINE}-pc-msys
811
 
        exit ;;
812
806
    i*:windows32*:*)
813
 
        # uname -m includes "-pc" on this system.
814
 
        echo ${UNAME_MACHINE}-mingw32
 
807
        # uname -m includes "-pc" on this system.
 
808
        echo ${UNAME_MACHINE}-mingw32
815
809
        exit ;;
816
810
    i*:PW*:*)
817
811
        echo ${UNAME_MACHINE}-pc-pw32
818
812
        exit ;;
819
813
    *:Interix*:*)
820
 
        case ${UNAME_MACHINE} in
 
814
        case ${UNAME_MACHINE} in
821
815
            x86)
822
816
                echo i586-pc-interix${UNAME_RELEASE}
823
817
                exit ;;
872
866
          EV6)   UNAME_MACHINE=alphaev6 ;;
873
867
          EV67)  UNAME_MACHINE=alphaev67 ;;
874
868
          EV68*) UNAME_MACHINE=alphaev68 ;;
875
 
        esac
 
869
        esac
876
870
        objdump --private-headers /bin/sh | grep -q ld.so.1
877
871
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
878
872
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
884
878
        then
885
879
            echo ${UNAME_MACHINE}-unknown-linux-gnu
886
880
        else
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
 
881
            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
894
882
        fi
895
883
        exit ;;
896
884
    avr32*:Linux:*:*)
897
885
        echo ${UNAME_MACHINE}-unknown-linux-gnu
898
886
        exit ;;
899
887
    cris:Linux:*:*)
900
 
        echo ${UNAME_MACHINE}-axis-linux-gnu
 
888
        echo cris-axis-linux-gnu
901
889
        exit ;;
902
890
    crisv32:Linux:*:*)
903
 
        echo ${UNAME_MACHINE}-axis-linux-gnu
 
891
        echo crisv32-axis-linux-gnu
904
892
        exit ;;
905
893
    frv:Linux:*:*)
906
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
907
 
        exit ;;
908
 
    hexagon:Linux:*:*)
909
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
894
        echo frv-unknown-linux-gnu
910
895
        exit ;;
911
896
    i*86:Linux:*:*)
912
897
        LIBC=gnu
948
933
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
949
934
        ;;
950
935
    or32:Linux:*:*)
951
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
936
        echo or32-unknown-linux-gnu
952
937
        exit ;;
953
938
    padre:Linux:*:*)
954
939
        echo sparc-unknown-linux-gnu
974
959
        echo ${UNAME_MACHINE}-ibm-linux
975
960
        exit ;;
976
961
    sh64*:Linux:*:*)
977
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
962
        echo ${UNAME_MACHINE}-unknown-linux-gnu
978
963
        exit ;;
979
964
    sh*:Linux:*:*)
980
965
        echo ${UNAME_MACHINE}-unknown-linux-gnu
982
967
    sparc:Linux:*:* | sparc64:Linux:*:*)
983
968
        echo ${UNAME_MACHINE}-unknown-linux-gnu
984
969
        exit ;;
985
 
    tile*:Linux:*:*)
986
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
987
 
        exit ;;
988
970
    vax:Linux:*:*)
989
971
        echo ${UNAME_MACHINE}-dec-linux-gnu
990
972
        exit ;;
991
973
    x86_64:Linux:*:*)
992
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
974
        echo x86_64-unknown-linux-gnu
993
975
        exit ;;
994
976
    xtensa*:Linux:*:*)
995
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
977
        echo ${UNAME_MACHINE}-unknown-linux-gnu
996
978
        exit ;;
997
979
    i*86:DYNIX/ptx:4*:*)
998
980
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1001
983
        echo i386-sequent-sysv4
1002
984
        exit ;;
1003
985
    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,
 
986
        # Unixware is an offshoot of SVR4, but it has its own version
 
987
        # number series starting with 2...
 
988
        # I am not positive that other SVR4 systems won't match this,
1007
989
        # I just have to hope.  -- rms.
1008
 
        # Use sysv4.2uw... so that sysv4* matches it.
 
990
        # Use sysv4.2uw... so that sysv4* matches it.
1009
991
        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1010
992
        exit ;;
1011
993
    i*86:OS/2:*:*)
1037
1019
        fi
1038
1020
        exit ;;
1039
1021
    i*86:*:5:[678]*)
1040
 
        # UnixWare 7.x, OpenUNIX and OpenServer 6.
 
1022
        # UnixWare 7.x, OpenUNIX and OpenServer 6.
1041
1023
        case `/bin/uname -X | grep "^Machine"` in
1042
1024
            *486*)           UNAME_MACHINE=i486 ;;
1043
1025
            *Pentium)        UNAME_MACHINE=i586 ;;
1065
1047
        exit ;;
1066
1048
    pc:*:*:*)
1067
1049
        # 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.
 
1050
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
 
1051
        # the processor, so we play safe by assuming i586.
1070
1052
        # Note: whatever this is, it MUST be the same as what config.sub
1071
1053
        # prints for the "djgpp" host, or else GDB configury will decide that
1072
1054
        # this is a cross-build.
1073
1055
        echo i586-pc-msdosdjgpp
1074
 
        exit ;;
 
1056
        exit ;;
1075
1057
    Intel:Mach:3*:*)
1076
1058
        echo i386-pc-mach3
1077
1059
        exit ;;
1106
1088
        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1107
1089
          && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1108
1090
    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; } ;;
 
1091
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 
1092
          && { echo i486-ncr-sysv4; exit; } ;;
1111
1093
    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1112
1094
        OS_REL='.3'
1113
1095
        test -r /etc/.relid \
1150
1132
                echo ns32k-sni-sysv
1151
1133
        fi
1152
1134
        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 ;;
 
1135
    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
 
1136
                      # says <Richard.M.Bartel@ccMail.Census.GOV>
 
1137
        echo i586-unisys-sysv4
 
1138
        exit ;;
1157
1139
    *:UNIX_System_V:4*:FTX*)
1158
1140
        # From Gerald Hewes <hewes@openmarket.com>.
1159
1141
        # How about differentiating between stratus architectures? -djm
1179
1161
        exit ;;
1180
1162
    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1181
1163
        if [ -d /usr/nec ]; then
1182
 
                echo mips-nec-sysv${UNAME_RELEASE}
 
1164
                echo mips-nec-sysv${UNAME_RELEASE}
1183
1165
        else
1184
 
                echo mips-unknown-sysv${UNAME_RELEASE}
 
1166
                echo mips-unknown-sysv${UNAME_RELEASE}
1185
1167
        fi
1186
 
        exit ;;
 
1168
        exit ;;
1187
1169
    BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only.
1188
1170
        echo powerpc-be-beos
1189
1171
        exit ;;
1248
1230
    *:QNX:*:4*)
1249
1231
        echo i386-pc-qnx
1250
1232
        exit ;;
1251
 
    NEO-?:NONSTOP_KERNEL:*:*)
1252
 
        echo neo-tandem-nsk${UNAME_RELEASE}
1253
 
        exit ;;
1254
1233
    NSE-?:NONSTOP_KERNEL:*:*)
1255
1234
        echo nse-tandem-nsk${UNAME_RELEASE}
1256
1235
        exit ;;
1296
1275
        echo pdp10-unknown-its
1297
1276
        exit ;;
1298
1277
    SEI:*:*:SEIUX)
1299
 
        echo mips-sei-seiux${UNAME_RELEASE}
 
1278
        echo mips-sei-seiux${UNAME_RELEASE}
1300
1279
        exit ;;
1301
1280
    *:DragonFly:*:*)
1302
1281
        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1303
1282
        exit ;;
1304
1283
    *:*VMS:*:*)
1305
 
        UNAME_MACHINE=`(uname -p) 2>/dev/null`
 
1284
        UNAME_MACHINE=`(uname -p) 2>/dev/null`
1306
1285
        case "${UNAME_MACHINE}" in
1307
1286
            A*) echo alpha-dec-vms ; exit ;;
1308
1287
            I*) echo ia64-dec-vms ; exit ;;
1342
1321
#include <sys/param.h>
1343
1322
  printf ("m68k-sony-newsos%s\n",
1344
1323
#ifdef NEWSOS4
1345
 
        "4"
 
1324
          "4"
1346
1325
#else
1347
 
        ""
 
1326
          ""
1348
1327
#endif
1349
 
        ); exit (0);
 
1328
         ); exit (0);
1350
1329
#endif
1351
1330
#endif
1352
1331