~ubuntu-branches/ubuntu/precise/indicator-application/precise

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Package Import Robot
  • Author(s): Ted Gould
  • Date: 2012-03-21 16:53:17 UTC
  • mfrom: (1.1.42)
  • Revision ID: package-import@ubuntu.com-20120321165317-s33aluzmsu4nu86b
Tags: 0.4.94-0ubuntu1
* New upstream release.
  * Memory leak (LP: #957992)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Attempt to guess a canonical system name.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5
 
#   2011, 2012 Free Software Foundation, Inc.
 
5
#   2011 Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2012-02-10'
 
7
timestamp='2011-05-11'
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
17
17
# General Public License for more details.
18
18
#
19
19
# You should have received a copy of the GNU General Public License
20
 
# along with this program; if not, see <http://www.gnu.org/licenses/>.
 
20
# along with this program; if not, write to the Free Software
 
21
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
22
# 02110-1301, USA.
21
23
#
22
24
# As a special exception to the GNU General Public License, if you
23
25
# distribute this file as part of a program that contains a
55
57
 
56
58
Originally written by Per Bothner.
57
59
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
58
 
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
59
 
Free Software Foundation, Inc.
 
60
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
 
61
Software Foundation, Inc.
60
62
 
61
63
This is free software; see the source for copying conditions.  There is NO
62
64
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
143
145
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
144
146
    *:NetBSD:*:*)
145
147
        # NetBSD (nbsd) targets should (where applicable) match one or
146
 
        # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
 
148
        # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
147
149
        # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
148
150
        # switched to ELF, *-*-netbsd* would select the old
149
151
        # object file format.  This provides both forward
790
792
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
791
793
        exit ;;
792
794
    *:FreeBSD:*:*)
793
 
        UNAME_PROCESSOR=`/usr/bin/uname -p`
794
 
        case ${UNAME_PROCESSOR} in
 
795
        case ${UNAME_MACHINE} in
 
796
            pc98)
 
797
                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
795
798
            amd64)
796
799
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
797
800
            *)
798
 
                echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
801
                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
799
802
        esac
800
803
        exit ;;
801
804
    i*:CYGWIN*:*)
804
807
    *:MINGW*:*)
805
808
        echo ${UNAME_MACHINE}-pc-mingw32
806
809
        exit ;;
807
 
    i*:MSYS*:*)
808
 
        echo ${UNAME_MACHINE}-pc-msys
809
 
        exit ;;
810
810
    i*:windows32*:*)
811
811
        # uname -m includes "-pc" on this system.
812
812
        echo ${UNAME_MACHINE}-mingw32
861
861
    i*86:Minix:*:*)
862
862
        echo ${UNAME_MACHINE}-pc-minix
863
863
        exit ;;
864
 
    aarch64:Linux:*:*)
865
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
866
 
        exit ;;
867
 
    aarch64_be:Linux:*:*)
868
 
        UNAME_MACHINE=aarch64_be
869
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
870
 
        exit ;;
871
864
    alpha:Linux:*:*)
872
865
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
873
866
          EV5)   UNAME_MACHINE=alphaev5 ;;
902
895
        echo ${UNAME_MACHINE}-unknown-linux-gnu
903
896
        exit ;;
904
897
    cris:Linux:*:*)
905
 
        echo ${UNAME_MACHINE}-axis-linux-gnu
 
898
        echo cris-axis-linux-gnu
906
899
        exit ;;
907
900
    crisv32:Linux:*:*)
908
 
        echo ${UNAME_MACHINE}-axis-linux-gnu
 
901
        echo crisv32-axis-linux-gnu
909
902
        exit ;;
910
903
    frv:Linux:*:*)
911
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
912
 
        exit ;;
913
 
    hexagon:Linux:*:*)
914
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
904
        echo frv-unknown-linux-gnu
915
905
        exit ;;
916
906
    i*86:Linux:*:*)
917
907
        LIBC=gnu
953
943
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
954
944
        ;;
955
945
    or32:Linux:*:*)
956
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
946
        echo or32-unknown-linux-gnu
957
947
        exit ;;
958
948
    padre:Linux:*:*)
959
949
        echo sparc-unknown-linux-gnu
988
978
        echo ${UNAME_MACHINE}-unknown-linux-gnu
989
979
        exit ;;
990
980
    tile*:Linux:*:*)
991
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
981
        echo ${UNAME_MACHINE}-tilera-linux-gnu
992
982
        exit ;;
993
983
    vax:Linux:*:*)
994
984
        echo ${UNAME_MACHINE}-dec-linux-gnu
995
985
        exit ;;
996
986
    x86_64:Linux:*:*)
997
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
987
        echo x86_64-unknown-linux-gnu
998
988
        exit ;;
999
989
    xtensa*:Linux:*:*)
1000
990
        echo ${UNAME_MACHINE}-unknown-linux-gnu
1325
1315
    i*86:AROS:*:*)
1326
1316
        echo ${UNAME_MACHINE}-pc-aros
1327
1317
        exit ;;
1328
 
    x86_64:VMkernel:*:*)
1329
 
        echo ${UNAME_MACHINE}-unknown-esx
1330
 
        exit ;;
1331
1318
esac
1332
1319
 
1333
1320
#echo '(No uname command or uname output not recognized.)' 1>&2