~ubuntu-branches/ubuntu/trusty/apr-util/trusty-proposed

« back to all changes in this revision

Viewing changes to xml/expat/conftools/config.guess

  • Committer: Package Import Robot
  • Author(s): Stefan Fritsch
  • Date: 2013-05-05 15:43:34 UTC
  • mfrom: (1.3.4)
  • Revision ID: package-import@ubuntu.com-20130505154334-ljd2tn8515nf96mo
Tags: 1.5.2-1
* New upstream release.
* Ship find_apu.m4 in libaprutil1-dev. Closes: #699327

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-07-31'
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
202
200
        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
203
201
        echo "${machine}-${os}${release}"
204
202
        exit ;;
 
203
    *:Bitrig:*:*)
 
204
        UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
 
205
        echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
 
206
        exit ;;
205
207
    *:OpenBSD:*:*)
206
208
        UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
207
209
        echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
792
794
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
793
795
        exit ;;
794
796
    *:FreeBSD:*:*)
795
 
        case ${UNAME_MACHINE} in
796
 
            pc98)
797
 
                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
797
        UNAME_PROCESSOR=`/usr/bin/uname -p`
 
798
        case ${UNAME_PROCESSOR} in
798
799
            amd64)
799
800
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
800
801
            *)
801
 
                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
802
                echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
802
803
        esac
803
804
        exit ;;
804
805
    i*:CYGWIN*:*)
805
806
        echo ${UNAME_MACHINE}-pc-cygwin
806
807
        exit ;;
 
808
    *:MINGW64*:*)
 
809
        echo ${UNAME_MACHINE}-pc-mingw64
 
810
        exit ;;
807
811
    *:MINGW*:*)
808
812
        echo ${UNAME_MACHINE}-pc-mingw32
809
813
        exit ;;
 
814
    i*:MSYS*:*)
 
815
        echo ${UNAME_MACHINE}-pc-msys
 
816
        exit ;;
810
817
    i*:windows32*:*)
811
818
        # uname -m includes "-pc" on this system.
812
819
        echo ${UNAME_MACHINE}-mingw32
861
868
    i*86:Minix:*:*)
862
869
        echo ${UNAME_MACHINE}-pc-minix
863
870
        exit ;;
 
871
    aarch64:Linux:*:*)
 
872
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
873
        exit ;;
 
874
    aarch64_be:Linux:*:*)
 
875
        UNAME_MACHINE=aarch64_be
 
876
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
877
        exit ;;
864
878
    alpha:Linux:*:*)
865
879
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
866
880
          EV5)   UNAME_MACHINE=alphaev5 ;;
895
909
        echo ${UNAME_MACHINE}-unknown-linux-gnu
896
910
        exit ;;
897
911
    cris:Linux:*:*)
898
 
        echo cris-axis-linux-gnu
 
912
        echo ${UNAME_MACHINE}-axis-linux-gnu
899
913
        exit ;;
900
914
    crisv32:Linux:*:*)
901
 
        echo crisv32-axis-linux-gnu
 
915
        echo ${UNAME_MACHINE}-axis-linux-gnu
902
916
        exit ;;
903
917
    frv:Linux:*:*)
904
 
        echo frv-unknown-linux-gnu
 
918
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
919
        exit ;;
 
920
    hexagon:Linux:*:*)
 
921
        echo ${UNAME_MACHINE}-unknown-linux-gnu
905
922
        exit ;;
906
923
    i*86:Linux:*:*)
907
924
        LIBC=gnu
943
960
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
944
961
        ;;
945
962
    or32:Linux:*:*)
946
 
        echo or32-unknown-linux-gnu
 
963
        echo ${UNAME_MACHINE}-unknown-linux-gnu
947
964
        exit ;;
948
965
    padre:Linux:*:*)
949
966
        echo sparc-unknown-linux-gnu
978
995
        echo ${UNAME_MACHINE}-unknown-linux-gnu
979
996
        exit ;;
980
997
    tile*:Linux:*:*)
981
 
        echo ${UNAME_MACHINE}-tilera-linux-gnu
 
998
        echo ${UNAME_MACHINE}-unknown-linux-gnu
982
999
        exit ;;
983
1000
    vax:Linux:*:*)
984
1001
        echo ${UNAME_MACHINE}-dec-linux-gnu
985
1002
        exit ;;
986
1003
    x86_64:Linux:*:*)
987
 
        echo x86_64-unknown-linux-gnu
 
1004
        echo ${UNAME_MACHINE}-unknown-linux-gnu
988
1005
        exit ;;
989
1006
    xtensa*:Linux:*:*)
990
1007
        echo ${UNAME_MACHINE}-unknown-linux-gnu
1246
1263
    NEO-?:NONSTOP_KERNEL:*:*)
1247
1264
        echo neo-tandem-nsk${UNAME_RELEASE}
1248
1265
        exit ;;
1249
 
    NSE-?:NONSTOP_KERNEL:*:*)
 
1266
    NSE-*:NONSTOP_KERNEL:*:*)
1250
1267
        echo nse-tandem-nsk${UNAME_RELEASE}
1251
1268
        exit ;;
1252
1269
    NSR-?:NONSTOP_KERNEL:*:*)
1315
1332
    i*86:AROS:*:*)
1316
1333
        echo ${UNAME_MACHINE}-pc-aros
1317
1334
        exit ;;
 
1335
    x86_64:VMkernel:*:*)
 
1336
        echo ${UNAME_MACHINE}-unknown-esx
 
1337
        exit ;;
1318
1338
esac
1319
1339
 
1320
 
#echo '(No uname command or uname output not recognized.)' 1>&2
1321
 
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1322
 
 
1323
1340
eval $set_cc_for_build
1324
1341
cat >$dummy.c <<EOF
1325
1342
#ifdef _SEQUENT_