~ubuntu-branches/ubuntu/maverick/gpsdrive/maverick

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Stefano Rivera
  • Date: 2010-08-01 20:37:07 UTC
  • mfrom: (19.1.1 gpsdrive)
  • Revision ID: stefanor@ubuntu.com-20100801203707-0tahn2alke3c1gdg
Tags: 2.10~pre4-6.dfsg-5ubuntu1
* Merge from Debian unstable (LP: #605350), remaining changes:
  - scripts/geo-code: Changed executing environment from /bin/sh
    to /bin/bash.
  - Dropped changes:
    + Build with libmysqlclient16-dev.
* Added 103-no-textquery patch to remove Text::Query use. Removed
  dependency on the libtext-query-perl package.
  Thanks Jonathan Yu.
* Revised debian/control for a better layout.
* Vcs-* fields now point the trunk branch.
* Do not depend on versioned python.
* Policy bumped to 3.8.4.
* Moved to libmysqlclient-dev build-dep.
* Now suggests postgresql-8.4-postgis.
* Debhelper level moved to 7.
* Removed superfluous config.{guess,sub} override.
* Added me as an uploader.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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, 2001, 2002, 2003, 2004, 2005
 
60
Free Software Foundation, Inc.
61
61
 
62
62
This is free software; see the source for copying conditions.  There is NO
63
63
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
161
161
            arm*) machine=arm-unknown ;;
162
162
            sh3el) machine=shl-unknown ;;
163
163
            sh3eb) machine=sh-unknown ;;
164
 
            sh5el) machine=sh5le-unknown ;;
165
164
            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
166
165
        esac
167
166
        # The Operating System including object format, if it has switched
212
211
        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
213
212
        exit ;;
214
213
    macppc:MirBSD:*:*)
215
 
        echo powerpc-unknown-mirbsd${UNAME_RELEASE}
 
214
        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
216
215
        exit ;;
217
216
    *:MirBSD:*:*)
218
217
        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
324
323
        case `/usr/bin/uname -p` in
325
324
            sparc) echo sparc-icl-nx7; exit ;;
326
325
        esac ;;
327
 
    s390x:SunOS:*:*)
328
 
        echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
329
 
        exit ;;
330
326
    sun4H:SunOS:5.*:*)
331
327
        echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
332
328
        exit ;;
333
329
    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
334
330
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335
331
        exit ;;
336
 
    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337
 
        eval $set_cc_for_build
338
 
        SUN_ARCH="i386"
339
 
        # If there is a compiler, see if it is configured for 64-bit objects.
340
 
        # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
341
 
        # This test works for both compilers.
342
 
        if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
343
 
            if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
344
 
                (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
345
 
                grep IS_64BIT_ARCH >/dev/null
346
 
            then
347
 
                SUN_ARCH="x86_64"
348
 
            fi
349
 
        fi
350
 
        echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
332
    i86pc:SunOS:5.*:*)
 
333
        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
351
334
        exit ;;
352
335
    sun4*:SunOS:6*:*)
353
336
        # According to config.sub, this is the proper way to canonicalize
548
531
                echo rs6000-ibm-aix3.2
549
532
        fi
550
533
        exit ;;
551
 
    *:AIX:*:[456])
 
534
    *:AIX:*:[45])
552
535
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
553
536
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
554
537
                IBM_ARCH=rs6000
788
771
        case ${UNAME_MACHINE} in
789
772
            pc98)
790
773
                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
791
 
            amd64)
792
 
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
793
774
            *)
794
775
                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
795
776
        esac
797
778
    i*:CYGWIN*:*)
798
779
        echo ${UNAME_MACHINE}-pc-cygwin
799
780
        exit ;;
800
 
    *:MINGW*:*)
 
781
    i*:MINGW*:*)
 
782
        echo ${UNAME_MACHINE}-pc-mingw32
 
783
        exit ;;
 
784
    i*:MSYS_NT-*:*:*)
801
785
        echo ${UNAME_MACHINE}-pc-mingw32
802
786
        exit ;;
803
787
    i*:windows32*:*)
807
791
    i*:PW*:*)
808
792
        echo ${UNAME_MACHINE}-pc-pw32
809
793
        exit ;;
810
 
    *:Interix*:[3456]*)
811
 
        case ${UNAME_MACHINE} in
812
 
            x86)
813
 
                echo i586-pc-interix${UNAME_RELEASE}
814
 
                exit ;;
815
 
            EM64T | authenticamd | genuineintel)
816
 
                echo x86_64-unknown-interix${UNAME_RELEASE}
817
 
                exit ;;
818
 
            IA64)
819
 
                echo ia64-unknown-interix${UNAME_RELEASE}
820
 
                exit ;;
821
 
        esac ;;
 
794
    x86:Interix*:[345]*)
 
795
        echo i586-pc-interix${UNAME_RELEASE}
 
796
        exit ;;
 
797
    EM64T:Interix*:[345]*)
 
798
        echo x86_64-unknown-interix${UNAME_RELEASE}
 
799
        exit ;;
822
800
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
823
801
        echo i${UNAME_MACHINE}-pc-mks
824
802
        exit ;;
855
833
        echo ${UNAME_MACHINE}-pc-minix
856
834
        exit ;;
857
835
    arm*:Linux:*:*)
858
 
        eval $set_cc_for_build
859
 
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
860
 
            | grep -q __ARM_EABI__
861
 
        then
862
 
            echo ${UNAME_MACHINE}-unknown-linux-gnu
863
 
        else
864
 
            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
865
 
        fi
866
 
        exit ;;
867
 
    avr32*:Linux:*:*)
868
836
        echo ${UNAME_MACHINE}-unknown-linux-gnu
869
837
        exit ;;
870
838
    cris:Linux:*:*)
931
899
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932
900
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933
901
        exit ;;
934
 
    padre:Linux:*:*)
935
 
        echo sparc-unknown-linux-gnu
936
 
        exit ;;
937
902
    parisc:Linux:*:* | hppa:Linux:*:*)
938
903
        # Look for CPU level
939
904
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
963
928
    x86_64:Linux:*:*)
964
929
        echo x86_64-unknown-linux-gnu
965
930
        exit ;;
966
 
    xtensa*:Linux:*:*)
967
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
968
 
        exit ;;
969
931
    i*86:Linux:*:*)
970
932
        # The BFD linker knows what the default object file format is, so
971
933
        # first see if it will tell us. cd to the root directory to prevent
981
943
          elf32-i386)
982
944
                TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
983
945
                ;;
 
946
          a.out-i386-linux)
 
947
                echo "${UNAME_MACHINE}-pc-linux-gnuaout"
 
948
                exit ;;
 
949
          coff-i386)
 
950
                echo "${UNAME_MACHINE}-pc-linux-gnucoff"
 
951
                exit ;;
 
952
          "")
 
953
                # Either a pre-BFD a.out linker (linux-gnuoldld) or
 
954
                # one that does not give us useful --help.
 
955
                echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
 
956
                exit ;;
984
957
        esac
985
958
        # Determine whether the default compiler is a.out or elf
986
959
        eval $set_cc_for_build
997
970
        LIBC=gnulibc1
998
971
        # endif
999
972
        #else
1000
 
        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
 
973
        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun)
1001
974
        LIBC=gnu
1002
975
        #else
1003
976
        LIBC=gnuaout
1090
1063
    pc:*:*:*)
1091
1064
        # Left here for compatibility:
1092
1065
        # uname -m prints for DJGPP always 'pc', but it prints nothing about
1093
 
        # the processor, so we play safe by assuming i586.
1094
 
        # Note: whatever this is, it MUST be the same as what config.sub
1095
 
        # prints for the "djgpp" host, or else GDB configury will decide that
1096
 
        # this is a cross-build.
1097
 
        echo i586-pc-msdosdjgpp
 
1066
        # the processor, so we play safe by assuming i386.
 
1067
        echo i386-pc-msdosdjgpp
1098
1068
        exit ;;
1099
1069
    Intel:Mach:3*:*)
1100
1070
        echo i386-pc-mach3
1132
1102
    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1133
1103
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1134
1104
          && { echo i486-ncr-sysv4; exit; } ;;
1135
 
    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1136
 
        OS_REL='.3'
1137
 
        test -r /etc/.relid \
1138
 
            && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1139
 
        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1140
 
            && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1141
 
        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1142
 
            && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1143
 
        /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1144
 
            && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1145
1105
    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1146
1106
        echo m68k-unknown-lynxos${UNAME_RELEASE}
1147
1107
        exit ;;
1217
1177
    BePC:BeOS:*:*)      # BeOS running on Intel PC compatible.
1218
1178
        echo i586-pc-beos
1219
1179
        exit ;;
1220
 
    BePC:Haiku:*:*)     # Haiku running on Intel PC compatible.
1221
 
        echo i586-pc-haiku
1222
 
        exit ;;
1223
1180
    SX-4:SUPER-UX:*:*)
1224
1181
        echo sx4-nec-superux${UNAME_RELEASE}
1225
1182
        exit ;;
1229
1186
    SX-6:SUPER-UX:*:*)
1230
1187
        echo sx6-nec-superux${UNAME_RELEASE}
1231
1188
        exit ;;
1232
 
    SX-7:SUPER-UX:*:*)
1233
 
        echo sx7-nec-superux${UNAME_RELEASE}
1234
 
        exit ;;
1235
 
    SX-8:SUPER-UX:*:*)
1236
 
        echo sx8-nec-superux${UNAME_RELEASE}
1237
 
        exit ;;
1238
 
    SX-8R:SUPER-UX:*:*)
1239
 
        echo sx8r-nec-superux${UNAME_RELEASE}
1240
 
        exit ;;
1241
1189
    Power*:Rhapsody:*:*)
1242
1190
        echo powerpc-apple-rhapsody${UNAME_RELEASE}
1243
1191
        exit ;;
1328
1276
    i*86:rdos:*:*)
1329
1277
        echo ${UNAME_MACHINE}-pc-rdos
1330
1278
        exit ;;
1331
 
    i*86:AROS:*:*)
1332
 
        echo ${UNAME_MACHINE}-pc-aros
1333
 
        exit ;;
1334
1279
esac
1335
1280
 
1336
1281
#echo '(No uname command or uname output not recognized.)' 1>&2
1491
1436
the operating system you are using. It is advised that you
1492
1437
download the most up to date version of the config scripts from
1493
1438
 
1494
 
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
 
1439
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1495
1440
and
1496
 
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 
1441
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1497
1442
 
1498
1443
If the version you run ($0) is already up to date, please
1499
1444
send the following data and any information you think might be