~ubuntu-branches/ubuntu/trusty/thunar-volman/trusty-proposed

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Package Import Robot
  • Author(s): Yves-Alexis Perez
  • Date: 2012-03-30 07:34:59 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120330073459-2fq88d6gg6fqifvm
Tags: 0.6.1-1
* New upstream release.
* debian/watch updated since thunar-volman is now part of core Xfce.
* debian/control:
  - update standards version to 3.9.3.
  - update debhelper build-dep to 9 and add build-dep on dpkg-dev 1.16.1 for
    hardening support.
  - drop build-dep on hardening-includes.
* debian/compat bumped to 9.
* debian/rules:
  - use debhelper 9 / dpkg-dev hardening support.

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
5
 
#   Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 
5
#   2011, 2012 Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-11-20'
 
7
timestamp='2012-01-01'
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, 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
63
64
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
144
145
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
145
146
    *:NetBSD:*:*)
146
147
        # NetBSD (nbsd) targets should (where applicable) match one or
147
 
        # more of the tupples: *-*-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
150
151
        # object file format.  This provides both forward
180
181
                fi
181
182
                ;;
182
183
            *)
183
 
                os=netbsd
 
184
                os=netbsd
184
185
                ;;
185
186
        esac
186
187
        # The OS release
223
224
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
224
225
                ;;
225
226
        *5.*)
226
 
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
 
227
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
227
228
                ;;
228
229
        esac
229
230
        # According to Compaq, /usr/sbin/psrinfo has been available on
269
270
        # A Xn.n version is an unreleased experimental baselevel.
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?
275
279
        # Should we change UNAME_MACHINE based on the output of uname instead
295
299
        echo s390-ibm-zvmoe
296
300
        exit ;;
297
301
    *:OS400:*:*)
298
 
        echo powerpc-ibm-os400
 
302
        echo powerpc-ibm-os400
299
303
        exit ;;
300
304
    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
301
305
        echo arm-acorn-riscix${UNAME_RELEASE}
394
398
    # MiNT.  But MiNT is downward compatible to TOS, so this should
395
399
    # be no problem.
396
400
    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
397
 
        echo m68k-atari-mint${UNAME_RELEASE}
 
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
 
        exit ;;
 
405
        exit ;;
402
406
    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
403
 
        echo m68k-atari-mint${UNAME_RELEASE}
 
407
        echo m68k-atari-mint${UNAME_RELEASE}
404
408
        exit ;;
405
409
    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
406
 
        echo m68k-milan-mint${UNAME_RELEASE}
407
 
        exit ;;
 
410
        echo m68k-milan-mint${UNAME_RELEASE}
 
411
        exit ;;
408
412
    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
409
 
        echo m68k-hades-mint${UNAME_RELEASE}
410
 
        exit ;;
 
413
        echo m68k-hades-mint${UNAME_RELEASE}
 
414
        exit ;;
411
415
    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
412
 
        echo m68k-unknown-mint${UNAME_RELEASE}
413
 
        exit ;;
 
416
        echo m68k-unknown-mint${UNAME_RELEASE}
 
417
        exit ;;
414
418
    m68k:machten:*:*)
415
419
        echo m68k-apple-machten${UNAME_RELEASE}
416
420
        exit ;;
480
484
        echo m88k-motorola-sysv3
481
485
        exit ;;
482
486
    AViiON:dgux:*:*)
483
 
        # DG/UX returns AViiON for all architectures
484
 
        UNAME_PROCESSOR=`/usr/bin/uname -p`
 
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
487
491
            if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
494
498
        else
495
499
            echo i586-dg-dgux${UNAME_RELEASE}
496
500
        fi
497
 
        exit ;;
 
501
        exit ;;
498
502
    M88*:DolphinOS:*:*) # DolphinOS (SVR3)
499
503
        echo m88k-dolphin-sysv3
500
504
        exit ;;
551
555
                echo rs6000-ibm-aix3.2
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
557
561
                IBM_ARCH=rs6000
594
598
            9000/[678][0-9][0-9])
595
599
                if [ -x /usr/bin/getconf ]; then
596
600
                    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}" 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" ;;
 
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
 
                        esac ;;
607
 
                    esac
 
610
                        esac ;;
 
611
                    esac
608
612
                fi
609
613
                if [ "${HP_ARCH}" = "" ]; then
610
614
                    eval $set_cc_for_build
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
 
              }
 
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`
645
649
                    test -z "$HP_ARCH" && HP_ARCH=hppa
730
734
        exit ;;
731
735
    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
732
736
        echo c1-convex-bsd
733
 
        exit ;;
 
737
        exit ;;
734
738
    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
735
739
        if getsysinfo -f scalar_acc
736
740
        then echo c32-convex-bsd
737
741
        else echo c2-convex-bsd
738
742
        fi
739
 
        exit ;;
 
743
        exit ;;
740
744
    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
741
745
        echo c34-convex-bsd
742
 
        exit ;;
 
746
        exit ;;
743
747
    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
744
748
        echo c38-convex-bsd
745
 
        exit ;;
 
749
        exit ;;
746
750
    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
747
751
        echo c4-convex-bsd
748
 
        exit ;;
 
752
        exit ;;
749
753
    CRAY*Y-MP:*:*:*)
750
754
        echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
751
755
        exit ;;
769
773
        exit ;;
770
774
    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
771
775
        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 ;;
 
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
 
        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}"
 
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:*:*)
782
786
        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
788
792
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
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 ;;
800
803
    i*:CYGWIN*:*)
803
806
    *:MINGW*:*)
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
 
        # uname -m includes "-pc" on this system.
808
 
        echo ${UNAME_MACHINE}-mingw32
 
813
        # uname -m includes "-pc" on this system.
 
814
        echo ${UNAME_MACHINE}-mingw32
809
815
        exit ;;
810
816
    i*:PW*:*)
811
817
        echo ${UNAME_MACHINE}-pc-pw32
812
818
        exit ;;
813
819
    *:Interix*:*)
814
 
        case ${UNAME_MACHINE} in
 
820
        case ${UNAME_MACHINE} in
815
821
            x86)
816
822
                echo i586-pc-interix${UNAME_RELEASE}
817
823
                exit ;;
866
872
          EV6)   UNAME_MACHINE=alphaev6 ;;
867
873
          EV67)  UNAME_MACHINE=alphaev67 ;;
868
874
          EV68*) UNAME_MACHINE=alphaev68 ;;
869
 
        esac
 
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
872
878
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
878
884
        then
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 ;;
884
896
    avr32*:Linux:*:*)
885
897
        echo ${UNAME_MACHINE}-unknown-linux-gnu
886
898
        exit ;;
887
899
    cris:Linux:*:*)
888
 
        echo cris-axis-linux-gnu
 
900
        echo ${UNAME_MACHINE}-axis-linux-gnu
889
901
        exit ;;
890
902
    crisv32:Linux:*:*)
891
 
        echo crisv32-axis-linux-gnu
 
903
        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:*:*)
897
912
        LIBC=gnu
933
948
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
934
949
        ;;
935
950
    or32:Linux:*:*)
936
 
        echo or32-unknown-linux-gnu
 
951
        echo ${UNAME_MACHINE}-unknown-linux-gnu
937
952
        exit ;;
938
953
    padre:Linux:*:*)
939
954
        echo sparc-unknown-linux-gnu
959
974
        echo ${UNAME_MACHINE}-ibm-linux
960
975
        exit ;;
961
976
    sh64*:Linux:*:*)
962
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
977
        echo ${UNAME_MACHINE}-unknown-linux-gnu
963
978
        exit ;;
964
979
    sh*:Linux:*:*)
965
980
        echo ${UNAME_MACHINE}-unknown-linux-gnu
967
982
    sparc:Linux:*:* | sparc64: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-gnu
 
992
        echo ${UNAME_MACHINE}-unknown-linux-gnu
975
993
        exit ;;
976
994
    xtensa*:Linux:*:*)
977
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
995
        echo ${UNAME_MACHINE}-unknown-linux-gnu
978
996
        exit ;;
979
997
    i*86:DYNIX/ptx:4*:*)
980
998
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
983
1001
        echo i386-sequent-sysv4
984
1002
        exit ;;
985
1003
    i*86:UNIX_SV:4.2MP:2.*)
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,
 
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
 
        # Use sysv4.2uw... so that sysv4* matches it.
 
1008
        # Use sysv4.2uw... so that sysv4* matches it.
991
1009
        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
992
1010
        exit ;;
993
1011
    i*86:OS/2:*:*)
1019
1037
        fi
1020
1038
        exit ;;
1021
1039
    i*86:*:5:[678]*)
1022
 
        # UnixWare 7.x, OpenUNIX and OpenServer 6.
 
1040
        # UnixWare 7.x, OpenUNIX and OpenServer 6.
1023
1041
        case `/bin/uname -X | grep "^Machine"` in
1024
1042
            *486*)           UNAME_MACHINE=i486 ;;
1025
1043
            *Pentium)        UNAME_MACHINE=i586 ;;
1047
1065
        exit ;;
1048
1066
    pc:*:*:*)
1049
1067
        # Left here for compatibility:
1050
 
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
1051
 
        # 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.
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
 
        exit ;;
 
1074
        exit ;;
1057
1075
    Intel:Mach:3*:*)
1058
1076
        echo i386-pc-mach3
1059
1077
        exit ;;
1088
1106
        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1089
1107
          && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1090
1108
    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; } ;;
 
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'
1095
1113
        test -r /etc/.relid \
1132
1150
                echo ns32k-sni-sysv
1133
1151
        fi
1134
1152
        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 ;;
 
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>.
1141
1159
        # How about differentiating between stratus architectures? -djm
1161
1179
        exit ;;
1162
1180
    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1163
1181
        if [ -d /usr/nec ]; then
1164
 
                echo mips-nec-sysv${UNAME_RELEASE}
 
1182
                echo mips-nec-sysv${UNAME_RELEASE}
1165
1183
        else
1166
 
                echo mips-unknown-sysv${UNAME_RELEASE}
 
1184
                echo mips-unknown-sysv${UNAME_RELEASE}
1167
1185
        fi
1168
 
        exit ;;
 
1186
        exit ;;
1169
1187
    BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only.
1170
1188
        echo powerpc-be-beos
1171
1189
        exit ;;
1230
1248
    *:QNX:*:4*)
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}
1235
1256
        exit ;;
1275
1296
        echo pdp10-unknown-its
1276
1297
        exit ;;
1277
1298
    SEI:*:*:SEIUX)
1278
 
        echo mips-sei-seiux${UNAME_RELEASE}
 
1299
        echo mips-sei-seiux${UNAME_RELEASE}
1279
1300
        exit ;;
1280
1301
    *:DragonFly:*:*)
1281
1302
        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1282
1303
        exit ;;
1283
1304
    *:*VMS:*:*)
1284
 
        UNAME_MACHINE=`(uname -p) 2>/dev/null`
 
1305
        UNAME_MACHINE=`(uname -p) 2>/dev/null`
1285
1306
        case "${UNAME_MACHINE}" in
1286
1307
            A*) echo alpha-dec-vms ; exit ;;
1287
1308
            I*) echo ia64-dec-vms ; exit ;;
1321
1342
#include <sys/param.h>
1322
1343
  printf ("m68k-sony-newsos%s\n",
1323
1344
#ifdef NEWSOS4
1324
 
          "4"
 
1345
        "4"
1325
1346
#else
1326
 
          ""
 
1347
        ""
1327
1348
#endif
1328
 
         ); exit (0);
 
1349
        ); exit (0);
1329
1350
#endif
1330
1351
#endif
1331
1352