~ubuntu-branches/ubuntu/utopic/libgrip/utopic-proposed

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Package Import Robot
  • Author(s): Chase Douglas
  • Date: 2012-07-30 14:13:08 UTC
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: package-import@ubuntu.com-20120730141308-2b0i6k8vecjqqz9r
Tags: upstream-0.3.5
ImportĀ upstreamĀ versionĀ 0.3.5

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