~ubuntu-branches/ubuntu/precise/thunar-media-tags-plugin/precise

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Package Import Robot
  • Author(s): Yves-Alexis Perez
  • Date: 2011-11-30 22:20:30 UTC
  • mfrom: (1.1.5) (1.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20111130222030-5pjt5dulv5rnriql
Tags: 0.2.0-1
* New upstream release.
* debian/patches:
  - 01_port-to-thunarx-2 and 02_port-to-exo-1,
    03_fix-crash-with-ogg-video-files and 04_fix-implicit-dso-linkin
    dropped, included upstream.
* debian/rules:
  - drop xdt-autogen rules, not needed anymore.
  - use dh9 and dpkg-dev 1.16.1 hardening rules.
  - switch to multiarch paths.
* debian/compat bumped to 9 for hardening support.
* debian/control:
  - update debhelper build-dep for hardening support
  - add dpkg-dev build-dep for hardening support
  - drop build-deps for autoreconf.

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 
5
#   Free Software Foundation, Inc.
5
6
 
6
 
timestamp='2005-12-13'
 
7
timestamp='2009-11-20'
7
8
 
8
9
# This file is free software; you can redistribute it and/or modify it
9
10
# under the terms of the GNU General Public License as published by
26
27
# the same distribution terms that you use for the rest of that program.
27
28
 
28
29
 
29
 
# Originally written by Per Bothner <per@bothner.com>.
30
 
# Please send patches to <config-patches@gnu.org>.  Submit a context
31
 
# diff and a properly formatted ChangeLog entry.
 
30
# Originally written by Per Bothner.  Please send patches (context
 
31
# diff format) to <config-patches@gnu.org> and include a ChangeLog
 
32
# entry.
32
33
#
33
34
# This script attempts to guess a canonical system name similar to
34
35
# config.sub.  If it succeeds, it prints the system name on stdout, and
35
36
# exits with 0.  Otherwise, it exits with 1.
36
37
#
37
 
# The plan is that this can be called by configure scripts if you
38
 
# don't specify an explicit build system type.
 
38
# You can get the latest version of this script from:
 
39
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
39
40
 
40
41
me=`echo "$0" | sed -e 's,.*/,,'`
41
42
 
55
56
GNU config.guess ($timestamp)
56
57
 
57
58
Originally written by Per Bothner.
58
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
59
 
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.
60
61
 
61
62
This is free software; see the source for copying conditions.  There is NO
62
63
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
106
107
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
107
108
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
108
109
: ${TMPDIR=/tmp} ;
109
 
 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
 
110
 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
110
111
 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
111
112
 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
112
113
 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
160
161
            arm*) machine=arm-unknown ;;
161
162
            sh3el) machine=shl-unknown ;;
162
163
            sh3eb) machine=sh-unknown ;;
 
164
            sh5el) machine=sh5le-unknown ;;
163
165
            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
164
166
        esac
165
167
        # The Operating System including object format, if it has switched
168
170
            arm*|i386|m68k|ns32k|sh3*|sparc|vax)
169
171
                eval $set_cc_for_build
170
172
                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
171
 
                        | grep __ELF__ >/dev/null
 
173
                        | grep -q __ELF__
172
174
                then
173
175
                    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
174
176
                    # Return netbsd for either.  FIX?
206
208
    *:ekkoBSD:*:*)
207
209
        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
208
210
        exit ;;
 
211
    *:SolidBSD:*:*)
 
212
        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
 
213
        exit ;;
209
214
    macppc:MirBSD:*:*)
210
 
        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
 
215
        echo powerpc-unknown-mirbsd${UNAME_RELEASE}
211
216
        exit ;;
212
217
    *:MirBSD:*:*)
213
218
        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
319
324
        case `/usr/bin/uname -p` in
320
325
            sparc) echo sparc-icl-nx7; exit ;;
321
326
        esac ;;
 
327
    s390x:SunOS:*:*)
 
328
        echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
329
        exit ;;
322
330
    sun4H:SunOS:5.*:*)
323
331
        echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
324
332
        exit ;;
325
333
    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
326
334
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
327
335
        exit ;;
328
 
    i86pc:SunOS:5.*:*)
329
 
        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
336
    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
 
337
        echo i386-pc-auroraux${UNAME_RELEASE}
 
338
        exit ;;
 
339
    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
 
340
        eval $set_cc_for_build
 
341
        SUN_ARCH="i386"
 
342
        # If there is a compiler, see if it is configured for 64-bit objects.
 
343
        # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
 
344
        # This test works for both compilers.
 
345
        if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
 
346
            if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
 
347
                (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
 
348
                grep IS_64BIT_ARCH >/dev/null
 
349
            then
 
350
                SUN_ARCH="x86_64"
 
351
            fi
 
352
        fi
 
353
        echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
330
354
        exit ;;
331
355
    sun4*:SunOS:6*:*)
332
356
        # According to config.sub, this is the proper way to canonicalize
527
551
                echo rs6000-ibm-aix3.2
528
552
        fi
529
553
        exit ;;
530
 
    *:AIX:*:[45])
 
554
    *:AIX:*:[456])
531
555
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
532
556
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
533
557
                IBM_ARCH=rs6000
635
659
            # => hppa64-hp-hpux11.23
636
660
 
637
661
            if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
638
 
                grep __LP64__ >/dev/null
 
662
                grep -q __LP64__
639
663
            then
640
664
                HP_ARCH="hppa2.0w"
641
665
            else
764
788
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
765
789
        exit ;;
766
790
    *:FreeBSD:*:*)
767
 
        echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 
791
        case ${UNAME_MACHINE} in
 
792
            pc98)
 
793
                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
794
            amd64)
 
795
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
796
            *)
 
797
                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
798
        esac
768
799
        exit ;;
769
800
    i*:CYGWIN*:*)
770
801
        echo ${UNAME_MACHINE}-pc-cygwin
771
802
        exit ;;
772
 
    i*:MINGW*:*)
 
803
    *:MINGW*:*)
773
804
        echo ${UNAME_MACHINE}-pc-mingw32
774
805
        exit ;;
775
806
    i*:windows32*:*)
779
810
    i*:PW*:*)
780
811
        echo ${UNAME_MACHINE}-pc-pw32
781
812
        exit ;;
782
 
    x86:Interix*:[345]*)
783
 
        echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
784
 
        exit ;;
 
813
    *:Interix*:*)
 
814
        case ${UNAME_MACHINE} in
 
815
            x86)
 
816
                echo i586-pc-interix${UNAME_RELEASE}
 
817
                exit ;;
 
818
            authenticamd | genuineintel | EM64T)
 
819
                echo x86_64-unknown-interix${UNAME_RELEASE}
 
820
                exit ;;
 
821
            IA64)
 
822
                echo ia64-unknown-interix${UNAME_RELEASE}
 
823
                exit ;;
 
824
        esac ;;
785
825
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
786
826
        echo i${UNAME_MACHINE}-pc-mks
787
827
        exit ;;
 
828
    8664:Windows_NT:*)
 
829
        echo x86_64-pc-mks
 
830
        exit ;;
788
831
    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
789
832
        # How do we know it's Interix rather than the generic POSIX subsystem?
790
833
        # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
814
857
    i*86:Minix:*:*)
815
858
        echo ${UNAME_MACHINE}-pc-minix
816
859
        exit ;;
 
860
    alpha:Linux:*:*)
 
861
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 
862
          EV5)   UNAME_MACHINE=alphaev5 ;;
 
863
          EV56)  UNAME_MACHINE=alphaev56 ;;
 
864
          PCA56) UNAME_MACHINE=alphapca56 ;;
 
865
          PCA57) UNAME_MACHINE=alphapca56 ;;
 
866
          EV6)   UNAME_MACHINE=alphaev6 ;;
 
867
          EV67)  UNAME_MACHINE=alphaev67 ;;
 
868
          EV68*) UNAME_MACHINE=alphaev68 ;;
 
869
        esac
 
870
        objdump --private-headers /bin/sh | grep -q ld.so.1
 
871
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 
872
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
 
873
        exit ;;
817
874
    arm*:Linux:*:*)
 
875
        eval $set_cc_for_build
 
876
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
 
877
            | grep -q __ARM_EABI__
 
878
        then
 
879
            echo ${UNAME_MACHINE}-unknown-linux-gnu
 
880
        else
 
881
            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
 
882
        fi
 
883
        exit ;;
 
884
    avr32*:Linux:*:*)
818
885
        echo ${UNAME_MACHINE}-unknown-linux-gnu
819
886
        exit ;;
820
887
    cris:Linux:*:*)
826
893
    frv:Linux:*:*)
827
894
        echo frv-unknown-linux-gnu
828
895
        exit ;;
 
896
    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}"
 
906
        exit ;;
829
907
    ia64:Linux:*:*)
830
908
        echo ${UNAME_MACHINE}-unknown-linux-gnu
831
909
        exit ;;
835
913
    m68*:Linux:*:*)
836
914
        echo ${UNAME_MACHINE}-unknown-linux-gnu
837
915
        exit ;;
838
 
    mips:Linux:*:*)
839
 
        eval $set_cc_for_build
840
 
        sed 's/^        //' << EOF >$dummy.c
841
 
        #undef CPU
842
 
        #undef mips
843
 
        #undef mipsel
844
 
        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
845
 
        CPU=mipsel
846
 
        #else
847
 
        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
848
 
        CPU=mips
849
 
        #else
850
 
        CPU=
851
 
        #endif
852
 
        #endif
853
 
EOF
854
 
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
855
 
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
856
 
        ;;
857
 
    mips64:Linux:*:*)
858
 
        eval $set_cc_for_build
859
 
        sed 's/^        //' << EOF >$dummy.c
860
 
        #undef CPU
861
 
        #undef mips64
862
 
        #undef mips64el
863
 
        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
864
 
        CPU=mips64el
865
 
        #else
866
 
        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
867
 
        CPU=mips64
868
 
        #else
869
 
        CPU=
870
 
        #endif
871
 
        #endif
872
 
EOF
873
 
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
 
916
    mips:Linux:*:* | mips64:Linux:*:*)
 
917
        eval $set_cc_for_build
 
918
        sed 's/^        //' << EOF >$dummy.c
 
919
        #undef CPU
 
920
        #undef ${UNAME_MACHINE}
 
921
        #undef ${UNAME_MACHINE}el
 
922
        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 
923
        CPU=${UNAME_MACHINE}el
 
924
        #else
 
925
        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 
926
        CPU=${UNAME_MACHINE}
 
927
        #else
 
928
        CPU=
 
929
        #endif
 
930
        #endif
 
931
EOF
 
932
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
874
933
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
875
934
        ;;
876
935
    or32:Linux:*:*)
877
936
        echo or32-unknown-linux-gnu
878
937
        exit ;;
879
 
    ppc:Linux:*:*)
880
 
        echo powerpc-unknown-linux-gnu
881
 
        exit ;;
882
 
    ppc64:Linux:*:*)
883
 
        echo powerpc64-unknown-linux-gnu
884
 
        exit ;;
885
 
    alpha:Linux:*:*)
886
 
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
887
 
          EV5)   UNAME_MACHINE=alphaev5 ;;
888
 
          EV56)  UNAME_MACHINE=alphaev56 ;;
889
 
          PCA56) UNAME_MACHINE=alphapca56 ;;
890
 
          PCA57) UNAME_MACHINE=alphapca56 ;;
891
 
          EV6)   UNAME_MACHINE=alphaev6 ;;
892
 
          EV67)  UNAME_MACHINE=alphaev67 ;;
893
 
          EV68*) UNAME_MACHINE=alphaev68 ;;
894
 
        esac
895
 
        objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
896
 
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
897
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
 
938
    padre:Linux:*:*)
 
939
        echo sparc-unknown-linux-gnu
 
940
        exit ;;
 
941
    parisc64:Linux:*:* | hppa64:Linux:*:*)
 
942
        echo hppa64-unknown-linux-gnu
898
943
        exit ;;
899
944
    parisc:Linux:*:* | hppa:Linux:*:*)
900
945
        # Look for CPU level
904
949
          *)    echo hppa-unknown-linux-gnu ;;
905
950
        esac
906
951
        exit ;;
907
 
    parisc64:Linux:*:* | hppa64:Linux:*:*)
908
 
        echo hppa64-unknown-linux-gnu
 
952
    ppc64:Linux:*:*)
 
953
        echo powerpc64-unknown-linux-gnu
 
954
        exit ;;
 
955
    ppc:Linux:*:*)
 
956
        echo powerpc-unknown-linux-gnu
909
957
        exit ;;
910
958
    s390:Linux:*:* | s390x:Linux:*:*)
911
959
        echo ${UNAME_MACHINE}-ibm-linux
925
973
    x86_64:Linux:*:*)
926
974
        echo x86_64-unknown-linux-gnu
927
975
        exit ;;
928
 
    i*86:Linux:*:*)
929
 
        # The BFD linker knows what the default object file format is, so
930
 
        # first see if it will tell us. cd to the root directory to prevent
931
 
        # problems with other programs or directories called `ld' in the path.
932
 
        # Set LC_ALL=C to ensure ld outputs messages in English.
933
 
        ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
934
 
                         | sed -ne '/supported targets:/!d
935
 
                                    s/[         ][      ]*/ /g
936
 
                                    s/.*supported targets: *//
937
 
                                    s/ .*//
938
 
                                    p'`
939
 
        case "$ld_supported_targets" in
940
 
          elf32-i386)
941
 
                TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
942
 
                ;;
943
 
          a.out-i386-linux)
944
 
                echo "${UNAME_MACHINE}-pc-linux-gnuaout"
945
 
                exit ;;
946
 
          coff-i386)
947
 
                echo "${UNAME_MACHINE}-pc-linux-gnucoff"
948
 
                exit ;;
949
 
          "")
950
 
                # Either a pre-BFD a.out linker (linux-gnuoldld) or
951
 
                # one that does not give us useful --help.
952
 
                echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
953
 
                exit ;;
954
 
        esac
955
 
        # Determine whether the default compiler is a.out or elf
956
 
        eval $set_cc_for_build
957
 
        sed 's/^        //' << EOF >$dummy.c
958
 
        #include <features.h>
959
 
        #ifdef __ELF__
960
 
        # ifdef __GLIBC__
961
 
        #  if __GLIBC__ >= 2
962
 
        LIBC=gnu
963
 
        #  else
964
 
        LIBC=gnulibc1
965
 
        #  endif
966
 
        # else
967
 
        LIBC=gnulibc1
968
 
        # endif
969
 
        #else
970
 
        #if defined(__INTEL_COMPILER) || defined(__PGI)
971
 
        LIBC=gnu
972
 
        #else
973
 
        LIBC=gnuaout
974
 
        #endif
975
 
        #endif
976
 
        #ifdef __dietlibc__
977
 
        LIBC=dietlibc
978
 
        #endif
979
 
EOF
980
 
        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s: ::g;p;}'`"
981
 
        test x"${LIBC}" != x && {
982
 
                echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
983
 
                exit
984
 
        }
985
 
        test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
986
 
        ;;
 
976
    xtensa*:Linux:*:*)
 
977
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
978
        exit ;;
987
979
    i*86:DYNIX/ptx:4*:*)
988
980
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
989
981
        # earlier versions are messed up and put the nodename in both
1012
1004
    i*86:syllable:*:*)
1013
1005
        echo ${UNAME_MACHINE}-pc-syllable
1014
1006
        exit ;;
1015
 
    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
 
1007
    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1016
1008
        echo i386-unknown-lynxos${UNAME_RELEASE}
1017
1009
        exit ;;
1018
1010
    i*86:*DOS:*:*)
1056
1048
    pc:*:*:*)
1057
1049
        # Left here for compatibility:
1058
1050
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
1059
 
        # the processor, so we play safe by assuming i386.
1060
 
        echo i386-pc-msdosdjgpp
 
1051
        # the processor, so we play safe by assuming i586.
 
1052
        # Note: whatever this is, it MUST be the same as what config.sub
 
1053
        # prints for the "djgpp" host, or else GDB configury will decide that
 
1054
        # this is a cross-build.
 
1055
        echo i586-pc-msdosdjgpp
1061
1056
        exit ;;
1062
1057
    Intel:Mach:3*:*)
1063
1058
        echo i386-pc-mach3
1095
1090
    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1096
1091
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1097
1092
          && { echo i486-ncr-sysv4; exit; } ;;
 
1093
    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
 
1094
        OS_REL='.3'
 
1095
        test -r /etc/.relid \
 
1096
            && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 
1097
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 
1098
            && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 
1099
        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 
1100
            && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
 
1101
        /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
 
1102
            && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1098
1103
    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1099
1104
        echo m68k-unknown-lynxos${UNAME_RELEASE}
1100
1105
        exit ;;
1107
1112
    rs6000:LynxOS:2.*:*)
1108
1113
        echo rs6000-unknown-lynxos${UNAME_RELEASE}
1109
1114
        exit ;;
1110
 
    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
 
1115
    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1111
1116
        echo powerpc-unknown-lynxos${UNAME_RELEASE}
1112
1117
        exit ;;
1113
1118
    SM[BE]S:UNIX_SV:*:*)
1170
1175
    BePC:BeOS:*:*)      # BeOS running on Intel PC compatible.
1171
1176
        echo i586-pc-beos
1172
1177
        exit ;;
 
1178
    BePC:Haiku:*:*)     # Haiku running on Intel PC compatible.
 
1179
        echo i586-pc-haiku
 
1180
        exit ;;
1173
1181
    SX-4:SUPER-UX:*:*)
1174
1182
        echo sx4-nec-superux${UNAME_RELEASE}
1175
1183
        exit ;;
1179
1187
    SX-6:SUPER-UX:*:*)
1180
1188
        echo sx6-nec-superux${UNAME_RELEASE}
1181
1189
        exit ;;
 
1190
    SX-7:SUPER-UX:*:*)
 
1191
        echo sx7-nec-superux${UNAME_RELEASE}
 
1192
        exit ;;
 
1193
    SX-8:SUPER-UX:*:*)
 
1194
        echo sx8-nec-superux${UNAME_RELEASE}
 
1195
        exit ;;
 
1196
    SX-8R:SUPER-UX:*:*)
 
1197
        echo sx8r-nec-superux${UNAME_RELEASE}
 
1198
        exit ;;
1182
1199
    Power*:Rhapsody:*:*)
1183
1200
        echo powerpc-apple-rhapsody${UNAME_RELEASE}
1184
1201
        exit ;;
1188
1205
    *:Darwin:*:*)
1189
1206
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1190
1207
        case $UNAME_PROCESSOR in
 
1208
            i386)
 
1209
                eval $set_cc_for_build
 
1210
                if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
 
1211
                  if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
 
1212
                      (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
 
1213
                      grep IS_64BIT_ARCH >/dev/null
 
1214
                  then
 
1215
                      UNAME_PROCESSOR="x86_64"
 
1216
                  fi
 
1217
                fi ;;
1191
1218
            unknown) UNAME_PROCESSOR=powerpc ;;
1192
1219
        esac
1193
1220
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1269
1296
    i*86:rdos:*:*)
1270
1297
        echo ${UNAME_MACHINE}-pc-rdos
1271
1298
        exit ;;
 
1299
    i*86:AROS:*:*)
 
1300
        echo ${UNAME_MACHINE}-pc-aros
 
1301
        exit ;;
1272
1302
esac
1273
1303
 
1274
1304
#echo '(No uname command or uname output not recognized.)' 1>&2
1429
1459
the operating system you are using. It is advised that you
1430
1460
download the most up to date version of the config scripts from
1431
1461
 
1432
 
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
 
1462
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1433
1463
and
1434
 
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
 
1464
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1435
1465
 
1436
1466
If the version you run ($0) is already up to date, please
1437
1467
send the following data and any information you think might be