~ubuntu-branches/ubuntu/utopic/expat/utopic

« back to all changes in this revision

Viewing changes to debian/patches/autoconfupdate.diff

  • Committer: Package Import Robot
  • Author(s): Wookey
  • Date: 2012-10-01 12:57:03 UTC
  • Revision ID: package-import@ubuntu.com-20121001125703-60y7324v0y2k6t6a
Tags: 2.1.0-1ubuntu1
Update config.guess,sub for aarch64

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Update config.guess and sub for new arches
 
2
Last-Update: 2012-09-28
 
3
 
 
4
--- expat-2.1.0.orig/conftools/config.sub
 
5
+++ expat-2.1.0/conftools/config.sub
 
6
@@ -2,9 +2,9 @@
 
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.
 
12
 
 
13
-timestamp='2011-03-23'
 
14
+timestamp='2012-04-18'
 
15
 
 
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.
 
20
 #
 
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
 
24
-# 02110-1301, USA.
 
25
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 
26
 #
 
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)
 
31
 
 
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.
 
37
 
 
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
 
41
     os=-$maybe_os
 
42
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
 
43
     ;;
 
44
+  android-linux)
 
45
+    os=-linux-android
 
46
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
 
47
+    ;;
 
48
   *)
 
49
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
 
50
     if [ $basic_machine != $1 ]
 
51
@@ -223,6 +225,12 @@ case $os in
 
52
        -isc*)
 
53
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
54
                ;;
 
55
+       -lynx*178)
 
56
+               os=-lynxos178
 
57
+               ;;
 
58
+       -lynx*5)
 
59
+               os=-lynxos5
 
60
+               ;;
 
61
        -lynx*)
 
62
                os=-lynxos
 
63
                ;;
 
64
@@ -247,17 +255,22 @@ case $basic_machine in
 
65
        # Some are omitted here because they have special meanings below.
 
66
        1750a | 580 \
 
67
        | a29k \
 
68
+       | aarch64 | aarch64_be \
 
69
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 
70
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
71
        | am33_2.0 \
 
72
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
73
+        | be32 | be64 \
 
74
        | bfin \
 
75
        | c4x | clipper \
 
76
        | d10v | d30v | dlx | dsp16xx \
 
77
+       | epiphany \
 
78
        | fido | fr30 | frv \
 
79
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
80
+       | hexagon \
 
81
        | i370 | i860 | i960 | ia64 \
 
82
        | ip2k | iq2000 \
 
83
+       | le32 | le64 \
 
84
        | lm32 \
 
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 \
 
90
        | pyramid \
 
91
-       | rx \
 
92
+       | rl78 | rx \
 
93
        | score \
 
94
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
95
        | sh64 | sh64le \
 
96
@@ -300,7 +313,7 @@ case $basic_machine in
 
97
        | spu \
 
98
        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
 
99
        | ubicom32 \
 
100
-       | v850 | v850e \
 
101
+       | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
 
102
        | we32k \
 
103
        | x86 | xc16x | xstormy16 | xtensa \
 
104
        | z8k | z80)
 
105
@@ -315,8 +328,7 @@ case $basic_machine in
 
106
        c6x)
 
107
                basic_machine=tic6x-unknown
 
108
                ;;
 
109
-       m6811 | m68hc11 | m6812 | m68hc12 | picochip)
 
110
-               # Motorola 68HC11/12.
 
111
+       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
 
112
                basic_machine=$basic_machine-unknown
 
113
                os=-none
 
114
                ;;
 
115
@@ -329,7 +341,10 @@ case $basic_machine in
 
116
        strongarm | thumb | xscale)
 
117
                basic_machine=arm-unknown
 
118
                ;;
 
119
-
 
120
+       xgate)
 
121
+               basic_machine=$basic_machine-unknown
 
122
+               os=-none
 
123
+               ;;
 
124
        xscaleeb)
 
125
                basic_machine=armeb-unknown
 
126
                ;;
 
127
@@ -352,11 +367,13 @@ case $basic_machine in
 
128
        # Recognize the basic CPU types with company name.
 
129
        580-* \
 
130
        | a29k-* \
 
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*-* \
 
136
        | avr-* | avr32-* \
 
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-* \
 
145
+       | hexagon-* \
 
146
        | i*86-* | i860-* | i960-* | ia64-* \
 
147
        | ip2k-* | iq2000-* \
 
148
+       | le32-* | le64-* \
 
149
        | lm32-* \
 
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-* \
 
155
        | pyramid-* \
 
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?-* \
 
163
        | tahoe-* \
 
164
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
165
-       | tile-* | tilegx-* \
 
166
+       | tile*-* \
 
167
        | tron-* \
 
168
        | ubicom32-* \
 
169
-       | v850-* | v850e-* | vax-* \
 
170
+       | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
 
171
+       | vax-* \
 
172
        | we32k-* \
 
173
        | x86-* | x86_64-* | xc16x-* | xps100-* \
 
174
        | xstormy16-* | xtensa*-* \
 
175
@@ -711,7 +731,6 @@ case $basic_machine in
 
176
        i370-ibm* | ibm*)
 
177
                basic_machine=i370-ibm
 
178
                ;;
 
179
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
 
180
        i*86v32)
 
181
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 
182
                os=-sysv32
 
183
@@ -808,10 +827,18 @@ case $basic_machine in
 
184
        ms1-*)
 
185
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
186
                ;;
 
187
+       msys)
 
188
+               basic_machine=i386-pc
 
189
+               os=-msys
 
190
+               ;;
 
191
        mvs)
 
192
                basic_machine=i370-ibm
 
193
                os=-mvs
 
194
                ;;
 
195
+       nacl)
 
196
+               basic_machine=le32-unknown
 
197
+               os=-nacl
 
198
+               ;;
 
199
        ncr3000)
 
200
                basic_machine=i486-ncr
 
201
                os=-sysv4
 
202
@@ -1120,13 +1147,8 @@ case $basic_machine in
 
203
                basic_machine=t90-cray
 
204
                os=-unicos
 
205
                ;;
 
206
-       # This must be matched before tile*.
 
207
-       tilegx*)
 
208
-               basic_machine=tilegx-unknown
 
209
-               os=-linux-gnu
 
210
-               ;;
 
211
        tile*)
 
212
-               basic_machine=tile-unknown
 
213
+               basic_machine=$basic_machine-unknown
 
214
                os=-linux-gnu
 
215
                ;;
 
216
        tx39)
 
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
 
227
        c4x-* | tic4x-*)
 
228
                os=-coff
 
229
                ;;
 
230
+       hexagon-*)
 
231
+               os=-elf
 
232
+               ;;
 
233
        tic54x-*)
 
234
                os=-coff
 
235
                ;;
 
236
@@ -1548,9 +1573,6 @@ case $basic_machine in
 
237
                ;;
 
238
        m68000-sun)
 
239
                os=-sunos3
 
240
-               # This also exists in the configure program, but was not the
 
241
-               # default.
 
242
-               # os=-sunos4
 
243
                ;;
 
244
        m68*-cisco)
 
245
                os=-aout
 
246
--- expat-2.1.0.orig/conftools/config.guess
 
247
+++ expat-2.1.0/conftools/config.guess
 
248
@@ -2,9 +2,9 @@
 
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.
 
254
 
 
255
-timestamp='2011-05-11'
 
256
+timestamp='2012-02-10'
 
257
 
 
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.
 
262
 #
 
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
 
266
-# 02110-1301, USA.
 
267
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 
268
 #
 
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)
 
272
 
 
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.
 
279
 
 
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
 
284
     *:NetBSD:*:*)
 
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}
 
293
        exit ;;
 
294
     *:FreeBSD:*:*)
 
295
-       case ${UNAME_MACHINE} in
 
296
-           pc98)
 
297
-               echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
298
+       UNAME_PROCESSOR=`/usr/bin/uname -p`
 
299
+       case ${UNAME_PROCESSOR} in
 
300
            amd64)
 
301
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
302
            *)
 
303
-               echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
304
+               echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
305
        esac
 
306
        exit ;;
 
307
     i*:CYGWIN*:*)
 
308
@@ -807,6 +804,9 @@ EOF
 
309
     *:MINGW*:*)
 
310
        echo ${UNAME_MACHINE}-pc-mingw32
 
311
        exit ;;
 
312
+    i*:MSYS*:*)
 
313
+       echo ${UNAME_MACHINE}-pc-msys
 
314
+       exit ;;
 
315
     i*:windows32*:*)
 
316
        # uname -m includes "-pc" on this system.
 
317
        echo ${UNAME_MACHINE}-mingw32
 
318
@@ -861,6 +861,13 @@ EOF
 
319
     i*86:Minix:*:*)
 
320
        echo ${UNAME_MACHINE}-pc-minix
 
321
        exit ;;
 
322
+    aarch64:Linux:*:*)
 
323
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
324
+       exit ;;
 
325
+    aarch64_be:Linux:*:*)
 
326
+       UNAME_MACHINE=aarch64_be
 
327
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
328
+       exit ;;
 
329
     alpha:Linux:*:*)
 
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
 
334
        exit ;;
 
335
     cris:Linux:*:*)
 
336
-       echo cris-axis-linux-gnu
 
337
+       echo ${UNAME_MACHINE}-axis-linux-gnu
 
338
        exit ;;
 
339
     crisv32:Linux:*:*)
 
340
-       echo crisv32-axis-linux-gnu
 
341
+       echo ${UNAME_MACHINE}-axis-linux-gnu
 
342
        exit ;;
 
343
     frv:Linux:*:*)
 
344
-       echo frv-unknown-linux-gnu
 
345
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
346
+       exit ;;
 
347
+    hexagon:Linux:*:*)
 
348
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
349
        exit ;;
 
350
     i*86:Linux:*:*)
 
351
        LIBC=gnu
 
352
@@ -943,7 +953,7 @@ EOF
 
353
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 
354
        ;;
 
355
     or32:Linux:*:*)
 
356
-       echo or32-unknown-linux-gnu
 
357
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
358
        exit ;;
 
359
     padre:Linux:*:*)
 
360
        echo sparc-unknown-linux-gnu
 
361
@@ -978,13 +988,13 @@ EOF
 
362
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
363
        exit ;;
 
364
     tile*:Linux:*:*)
 
365
-       echo ${UNAME_MACHINE}-tilera-linux-gnu
 
366
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
367
        exit ;;
 
368
     vax:Linux:*:*)
 
369
        echo ${UNAME_MACHINE}-dec-linux-gnu
 
370
        exit ;;
 
371
     x86_64:Linux:*:*)
 
372
-       echo x86_64-unknown-linux-gnu
 
373
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
374
        exit ;;
 
375
     xtensa*:Linux:*:*)
 
376
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
377
@@ -1315,6 +1325,9 @@ EOF
 
378
     i*86:AROS:*:*)
 
379
        echo ${UNAME_MACHINE}-pc-aros
 
380
        exit ;;
 
381
+    x86_64:VMkernel:*:*)
 
382
+       echo ${UNAME_MACHINE}-unknown-esx
 
383
+       exit ;;
 
384
 esac
 
385
 
 
386
 #echo '(No uname command or uname output not recognized.)' 1>&2