1
Description: Update config.guess and sub for new arches
2
Last-Update: 2012-09-28
4
--- expat-2.1.0.orig/conftools/config.sub
5
+++ expat-2.1.0/conftools/config.sub
7
# Configuration validation subroutine script.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
9
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
10
-# 2011 Free Software Foundation, Inc.
11
+# 2011, 2012 Free Software Foundation, Inc.
13
-timestamp='2011-03-23'
14
+timestamp='2012-04-18'
16
# This file is (in principle) common to ALL GNU software.
17
# The presence of a machine in this file suggests that SOME GNU software
18
@@ -21,9 +21,7 @@ timestamp='2011-03-23'
19
# GNU General Public License for more details.
21
# You should have received a copy of the GNU General Public License
22
-# along with this program; if not, write to the Free Software
23
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
25
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
27
# As a special exception to the GNU General Public License, if you
28
# distribute this file as part of a program that contains a
29
@@ -76,8 +74,8 @@ version="\
30
GNU config.sub ($timestamp)
32
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
33
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
34
-Software Foundation, Inc.
35
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
36
+Free Software Foundation, Inc.
38
This is free software; see the source for copying conditions. There is NO
39
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
40
@@ -132,6 +130,10 @@ case $maybe_os in
42
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
46
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
49
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
50
if [ $basic_machine != $1 ]
51
@@ -223,6 +225,12 @@ case $os in
53
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
64
@@ -247,17 +255,22 @@ case $basic_machine in
65
# Some are omitted here because they have special meanings below.
68
+ | aarch64 | aarch64_be \
69
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
70
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
72
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
76
| d10v | d30v | dlx | dsp16xx \
79
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
81
| i370 | i860 | i960 | ia64 \
85
| m32c | m32r | m32rle | m68000 | m68k | m88k \
86
| maxq | mb | microblaze | mcore | mep | metag \
87
@@ -291,7 +304,7 @@ case $basic_machine in
88
| pdp10 | pdp11 | pj | pjl \
89
| powerpc | powerpc64 | powerpc64le | powerpcle \
94
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
96
@@ -300,7 +313,7 @@ case $basic_machine in
98
| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
101
+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
103
| x86 | xc16x | xstormy16 | xtensa \
105
@@ -315,8 +328,7 @@ case $basic_machine in
107
basic_machine=tic6x-unknown
109
- m6811 | m68hc11 | m6812 | m68hc12 | picochip)
110
- # Motorola 68HC11/12.
111
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
112
basic_machine=$basic_machine-unknown
115
@@ -329,7 +341,10 @@ case $basic_machine in
116
strongarm | thumb | xscale)
117
basic_machine=arm-unknown
121
+ basic_machine=$basic_machine-unknown
125
basic_machine=armeb-unknown
127
@@ -352,11 +367,13 @@ case $basic_machine in
128
# Recognize the basic CPU types with company name.
131
+ | aarch64-* | aarch64_be-* \
132
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
133
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
134
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
135
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
137
+ | be32-* | be64-* \
138
| bfin-* | bs2000-* \
139
| c[123]* | c30-* | [cjt]90-* | c4x-* \
140
| clipper-* | craynv-* | cydra-* \
141
@@ -365,8 +382,10 @@ case $basic_machine in
142
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
143
| h8300-* | h8500-* \
144
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
146
| i*86-* | i860-* | i960-* | ia64-* \
147
| ip2k-* | iq2000-* \
148
+ | le32-* | le64-* \
150
| m32c-* | m32r-* | m32rle-* \
151
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
152
@@ -400,7 +419,7 @@ case $basic_machine in
153
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
154
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
156
- | romp-* | rs6000-* | rx-* \
157
+ | rl78-* | romp-* | rs6000-* | rx-* \
158
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
159
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
160
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
161
@@ -408,10 +427,11 @@ case $basic_machine in
162
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
164
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
165
- | tile-* | tilegx-* \
169
- | v850-* | v850e-* | vax-* \
170
+ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
173
| x86-* | x86_64-* | xc16x-* | xps100-* \
174
| xstormy16-* | xtensa*-* \
175
@@ -711,7 +731,6 @@ case $basic_machine in
177
basic_machine=i370-ibm
179
-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
181
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
183
@@ -808,10 +827,18 @@ case $basic_machine in
185
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
188
+ basic_machine=i386-pc
192
basic_machine=i370-ibm
196
+ basic_machine=le32-unknown
200
basic_machine=i486-ncr
202
@@ -1120,13 +1147,8 @@ case $basic_machine in
203
basic_machine=t90-cray
206
- # This must be matched before tile*.
208
- basic_machine=tilegx-unknown
212
- basic_machine=tile-unknown
213
+ basic_machine=$basic_machine-unknown
217
@@ -1336,7 +1358,7 @@ case $os in
218
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
219
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
220
| -chorusos* | -chorusrdb* | -cegcc* \
221
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
222
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
223
| -mingw32* | -linux-gnu* | -linux-android* \
224
| -linux-newlib* | -linux-uclibc* \
225
| -uxpv* | -beos* | -mpeix* | -udk* \
226
@@ -1521,6 +1543,9 @@ case $basic_machine in
236
@@ -1548,9 +1573,6 @@ case $basic_machine in
240
- # This also exists in the configure program, but was not the
246
--- expat-2.1.0.orig/conftools/config.guess
247
+++ expat-2.1.0/conftools/config.guess
249
# Attempt to guess a canonical system name.
250
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
251
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
252
-# 2011 Free Software Foundation, Inc.
253
+# 2011, 2012 Free Software Foundation, Inc.
255
-timestamp='2011-05-11'
256
+timestamp='2012-02-10'
258
# This file is free software; you can redistribute it and/or modify it
259
# under the terms of the GNU General Public License as published by
260
@@ -17,9 +17,7 @@ timestamp='2011-05-11'
261
# General Public License for more details.
263
# You should have received a copy of the GNU General Public License
264
-# along with this program; if not, write to the Free Software
265
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
267
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
269
# As a special exception to the GNU General Public License, if you
270
# distribute this file as part of a program that contains a
271
@@ -57,8 +55,8 @@ GNU config.guess ($timestamp)
273
Originally written by Per Bothner.
274
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
275
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
276
-Software Foundation, Inc.
277
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
278
+Free Software Foundation, Inc.
280
This is free software; see the source for copying conditions. There is NO
281
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
282
@@ -145,7 +143,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` |
283
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
285
# NetBSD (nbsd) targets should (where applicable) match one or
286
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
287
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
288
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
289
# switched to ELF, *-*-netbsd* would select the old
290
# object file format. This provides both forward
291
@@ -792,13 +790,12 @@ EOF
292
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
295
- case ${UNAME_MACHINE} in
297
- echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
298
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
299
+ case ${UNAME_PROCESSOR} in
301
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
303
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
304
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
308
@@ -807,6 +804,9 @@ EOF
310
echo ${UNAME_MACHINE}-pc-mingw32
313
+ echo ${UNAME_MACHINE}-pc-msys
316
# uname -m includes "-pc" on this system.
317
echo ${UNAME_MACHINE}-mingw32
318
@@ -861,6 +861,13 @@ EOF
320
echo ${UNAME_MACHINE}-pc-minix
323
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
325
+ aarch64_be:Linux:*:*)
326
+ UNAME_MACHINE=aarch64_be
327
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
330
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
331
EV5) UNAME_MACHINE=alphaev5 ;;
332
@@ -895,13 +902,16 @@ EOF
333
echo ${UNAME_MACHINE}-unknown-linux-gnu
336
- echo cris-axis-linux-gnu
337
+ echo ${UNAME_MACHINE}-axis-linux-gnu
340
- echo crisv32-axis-linux-gnu
341
+ echo ${UNAME_MACHINE}-axis-linux-gnu
344
- echo frv-unknown-linux-gnu
345
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
348
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
352
@@ -943,7 +953,7 @@ EOF
353
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
356
- echo or32-unknown-linux-gnu
357
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
360
echo sparc-unknown-linux-gnu
361
@@ -978,13 +988,13 @@ EOF
362
echo ${UNAME_MACHINE}-unknown-linux-gnu
365
- echo ${UNAME_MACHINE}-tilera-linux-gnu
366
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
369
echo ${UNAME_MACHINE}-dec-linux-gnu
372
- echo x86_64-unknown-linux-gnu
373
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
376
echo ${UNAME_MACHINE}-unknown-linux-gnu
377
@@ -1315,6 +1325,9 @@ EOF
379
echo ${UNAME_MACHINE}-pc-aros
381
+ x86_64:VMkernel:*:*)
382
+ echo ${UNAME_MACHINE}-unknown-esx
386
#echo '(No uname command or uname output not recognized.)' 1>&2