~ubuntu-branches/ubuntu/jaunty/gnupg2/jaunty-security

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-10-04 10:25:53 UTC
  • mfrom: (5.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081004102553-fv62pp8dsitxli47
Tags: 2.0.9-3.1
* Non-maintainer upload.
* agent/gpg-agent.c: Deinit the threading library before exec'ing
  the command to run in --daemon mode. And because that still doesn't
  restore the sigprocmask, do that manually. Closes: #499569

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
 
5
#   Free Software Foundation, Inc.
5
6
 
6
 
timestamp='2006-02-23'
 
7
timestamp='2008-01-23'
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
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."
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
210
212
        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
211
213
        exit ;;
212
214
    macppc:MirBSD:*:*)
213
 
        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
 
215
        echo powerpc-unknown-mirbsd${UNAME_RELEASE}
214
216
        exit ;;
215
217
    *:MirBSD:*:*)
216
218
        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
328
330
    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
329
331
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
330
332
        exit ;;
331
 
    i86pc:SunOS:5.*:*)
 
333
    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
332
334
        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
333
335
        exit ;;
334
336
    sun4*:SunOS:6*:*)
530
532
                echo rs6000-ibm-aix3.2
531
533
        fi
532
534
        exit ;;
533
 
    *:AIX:*:[45])
 
535
    *:AIX:*:[456])
534
536
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
535
537
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
536
538
                IBM_ARCH=rs6000
770
772
        case ${UNAME_MACHINE} in
771
773
            pc98)
772
774
                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
775
            amd64)
 
776
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
773
777
            *)
774
778
                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
775
779
        esac
777
781
    i*:CYGWIN*:*)
778
782
        echo ${UNAME_MACHINE}-pc-cygwin
779
783
        exit ;;
780
 
    i*:MINGW*:*)
781
 
        echo ${UNAME_MACHINE}-pc-mingw32
782
 
        exit ;;
783
 
    i*:MSYS_NT-*:*:*)
 
784
    *:MINGW*:*)
784
785
        echo ${UNAME_MACHINE}-pc-mingw32
785
786
        exit ;;
786
787
    i*:windows32*:*)
790
791
    i*:PW*:*)
791
792
        echo ${UNAME_MACHINE}-pc-pw32
792
793
        exit ;;
793
 
    x86:Interix*:[345]*)
794
 
        echo i586-pc-interix${UNAME_RELEASE}
795
 
        exit ;;
796
 
    EM64T:Interix*:[345]*)
797
 
        echo x86_64-unknown-interix${UNAME_RELEASE}
798
 
        exit ;;
 
794
    *:Interix*:[3456]*)
 
795
        case ${UNAME_MACHINE} in
 
796
            x86)
 
797
                echo i586-pc-interix${UNAME_RELEASE}
 
798
                exit ;;
 
799
            EM64T | authenticamd)
 
800
                echo x86_64-unknown-interix${UNAME_RELEASE}
 
801
                exit ;;
 
802
            IA64)
 
803
                echo ia64-unknown-interix${UNAME_RELEASE}
 
804
                exit ;;
 
805
        esac ;;
799
806
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
800
807
        echo i${UNAME_MACHINE}-pc-mks
801
808
        exit ;;
829
836
        echo ${UNAME_MACHINE}-pc-minix
830
837
        exit ;;
831
838
    arm*:Linux:*:*)
 
839
        eval $set_cc_for_build
 
840
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
 
841
            | grep -q __ARM_EABI__
 
842
        then
 
843
            echo ${UNAME_MACHINE}-unknown-linux-gnu
 
844
        else
 
845
            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
 
846
        fi
 
847
        exit ;;
 
848
    avr32*:Linux:*:*)
832
849
        echo ${UNAME_MACHINE}-unknown-linux-gnu
833
850
        exit ;;
834
851
    cris:Linux:*:*)
947
964
    x86_64:Linux:*:*)
948
965
        echo x86_64-unknown-linux-gnu
949
966
        exit ;;
 
967
    xtensa*:Linux:*:*)
 
968
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
969
        exit ;;
950
970
    i*86:Linux:*:*)
951
971
        # The BFD linker knows what the default object file format is, so
952
972
        # first see if it will tell us. cd to the root directory to prevent
989
1009
        LIBC=gnulibc1
990
1010
        # endif
991
1011
        #else
992
 
        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun)
 
1012
        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
993
1013
        LIBC=gnu
994
1014
        #else
995
1015
        LIBC=gnuaout
1205
1225
    SX-6:SUPER-UX:*:*)
1206
1226
        echo sx6-nec-superux${UNAME_RELEASE}
1207
1227
        exit ;;
 
1228
    SX-7:SUPER-UX:*:*)
 
1229
        echo sx7-nec-superux${UNAME_RELEASE}
 
1230
        exit ;;
 
1231
    SX-8:SUPER-UX:*:*)
 
1232
        echo sx8-nec-superux${UNAME_RELEASE}
 
1233
        exit ;;
 
1234
    SX-8R:SUPER-UX:*:*)
 
1235
        echo sx8r-nec-superux${UNAME_RELEASE}
 
1236
        exit ;;
1208
1237
    Power*:Rhapsody:*:*)
1209
1238
        echo powerpc-apple-rhapsody${UNAME_RELEASE}
1210
1239
        exit ;;
1455
1484
the operating system you are using. It is advised that you
1456
1485
download the most up to date version of the config scripts from
1457
1486
 
1458
 
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
 
1487
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1459
1488
and
1460
 
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
 
1489
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1461
1490
 
1462
1491
If the version you run ($0) is already up to date, please
1463
1492
send the following data and any information you think might be