~ubuntu-branches/ubuntu/trusty/renameutils/trusty-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2006-07-21 16:39:15 UTC
  • mfrom: (1.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060721163915-k3kqs080hol8uw1n
Tags: 0.8.1-4
* Enable large file support on 32-bit platforms (closes: #377845)
* Bump Standards-Version up to 3.7.2 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2004-06-24'
 
6
timestamp='2005-07-08'
7
7
 
8
8
# This file is (in principle) common to ALL GNU software.
9
9
# The presence of a machine in this file suggests that SOME GNU software
21
21
#
22
22
# You should have received a copy of the GNU General Public License
23
23
# along with this program; if not, write to the Free Software
24
 
# Foundation, Inc., 59 Temple Place - Suite 330,
25
 
# Boston, MA 02111-1307, USA.
26
 
 
 
24
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
25
# 02110-1301, USA.
 
26
#
27
27
# As a special exception to the GNU General Public License, if you
28
28
# distribute this file as part of a program that contains a
29
29
# configuration script generated by Autoconf, you may include it under
30
30
# the same distribution terms that you use for the rest of that program.
31
31
 
 
32
 
32
33
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
34
# diff and a properly formatted ChangeLog entry.
34
35
#
70
71
version="\
71
72
GNU config.sub ($timestamp)
72
73
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 
74
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74
75
Free Software Foundation, Inc.
75
76
 
76
77
This is free software; see the source for copying conditions.  There is NO
83
84
while test $# -gt 0 ; do
84
85
  case $1 in
85
86
    --time-stamp | --time* | -t )
86
 
       echo "$timestamp" ; exit 0 ;;
 
87
       echo "$timestamp" ; exit ;;
87
88
    --version | -v )
88
 
       echo "$version" ; exit 0 ;;
 
89
       echo "$version" ; exit ;;
89
90
    --help | --h* | -h )
90
 
       echo "$usage"; exit 0 ;;
 
91
       echo "$usage"; exit ;;
91
92
    -- )     # Stop option processing
92
93
       shift; break ;;
93
94
    - ) # Use stdin as input.
99
100
    *local*)
100
101
       # First pass through any local machine types.
101
102
       echo $1
102
 
       exit 0;;
 
103
       exit ;;
103
104
 
104
105
    * )
105
106
       break ;;
231
232
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
232
233
        | am33_2.0 \
233
234
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
235
        | bfin \
234
236
        | c4x | clipper \
235
237
        | d10v | d30v | dlx | dsp16xx \
236
238
        | fr30 | frv \
237
239
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
238
240
        | i370 | i860 | i960 | ia64 \
239
241
        | ip2k | iq2000 \
240
 
        | m32r | m32rle | m68000 | m68k | m88k | mcore \
 
242
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
241
243
        | mips | mipsbe | mipseb | mipsel | mipsle \
242
244
        | mips16 \
243
245
        | mips64 | mips64el \
246
248
        | mips64vr4100 | mips64vr4100el \
247
249
        | mips64vr4300 | mips64vr4300el \
248
250
        | mips64vr5000 | mips64vr5000el \
 
251
        | mips64vr5900 | mips64vr5900el \
249
252
        | mipsisa32 | mipsisa32el \
250
253
        | mipsisa32r2 | mipsisa32r2el \
251
254
        | mipsisa64 | mipsisa64el \
254
257
        | mipsisa64sr71k | mipsisa64sr71kel \
255
258
        | mipstx39 | mipstx39el \
256
259
        | mn10200 | mn10300 \
 
260
        | ms1 \
257
261
        | msp430 \
258
262
        | ns16k | ns32k \
259
 
        | openrisc | or32 \
 
263
        | or32 \
260
264
        | pdp10 | pdp11 | pj | pjl \
261
265
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
262
266
        | pyramid \
263
 
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
267
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
264
268
        | sh64 | sh64le \
265
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
 
269
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
270
        | sparcv8 | sparcv9 | sparcv9b \
266
271
        | strongarm \
267
272
        | tahoe | thumb | tic4x | tic80 | tron \
268
273
        | v850 | v850e \
269
274
        | we32k \
270
 
        | x86 | xscale | xstormy16 | xtensa \
 
275
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
271
276
        | z8k)
272
277
                basic_machine=$basic_machine-unknown
273
278
                ;;
 
279
        m32c)
 
280
                basic_machine=$basic_machine-unknown
 
281
                ;;
274
282
        m6811 | m68hc11 | m6812 | m68hc12)
275
283
                # Motorola 68HC11/12.
276
284
                basic_machine=$basic_machine-unknown
298
306
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
299
307
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
300
308
        | avr-* \
301
 
        | bs2000-* \
 
309
        | bfin-* | bs2000-* \
302
310
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
303
311
        | clipper-* | craynv-* | cydra-* \
304
312
        | d10v-* | d30v-* | dlx-* \
310
318
        | ip2k-* | iq2000-* \
311
319
        | m32r-* | m32rle-* \
312
320
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
313
 
        | m88110-* | m88k-* | mcore-* \
 
321
        | m88110-* | m88k-* | maxq-* | mcore-* \
314
322
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
315
323
        | mips16-* \
316
324
        | mips64-* | mips64el-* \
319
327
        | mips64vr4100-* | mips64vr4100el-* \
320
328
        | mips64vr4300-* | mips64vr4300el-* \
321
329
        | mips64vr5000-* | mips64vr5000el-* \
 
330
        | mips64vr5900-* | mips64vr5900el-* \
322
331
        | mipsisa32-* | mipsisa32el-* \
323
332
        | mipsisa32r2-* | mipsisa32r2el-* \
324
333
        | mipsisa64-* | mipsisa64el-* \
327
336
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
328
337
        | mipstx39-* | mipstx39el-* \
329
338
        | mmix-* \
 
339
        | ms1-* \
330
340
        | msp430-* \
331
341
        | none-* | np1-* | ns16k-* | ns32k-* \
332
342
        | orion-* \
334
344
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
335
345
        | pyramid-* \
336
346
        | romp-* | rs6000-* \
337
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
347
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
338
348
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
339
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
 
349
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
350
        | sparclite-* \
340
351
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
341
352
        | tahoe-* | thumb-* \
342
353
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
343
354
        | tron-* \
344
355
        | v850-* | v850e-* | vax-* \
345
356
        | we32k-* \
346
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
347
 
        | xtensa-* \
 
357
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
358
        | xstormy16-* | xtensa-* \
348
359
        | ymp-* \
349
360
        | z8k-*)
350
361
                ;;
 
362
        m32c-*)
 
363
                ;;
351
364
        # Recognize the various machine names and aliases which stand
352
365
        # for a CPU type and a company and sometimes even an OS.
353
366
        386bsd)
457
470
        crds | unos)
458
471
                basic_machine=m68k-crds
459
472
                ;;
 
473
        crisv32 | crisv32-* | etraxfs*)
 
474
                basic_machine=crisv32-axis
 
475
                ;;
460
476
        cris | cris-* | etrax*)
461
477
                basic_machine=cris-axis
462
478
                ;;
486
502
                basic_machine=m88k-motorola
487
503
                os=-sysv3
488
504
                ;;
 
505
        djgpp)
 
506
                basic_machine=i586-pc
 
507
                os=-msdosdjgpp
 
508
                ;;
489
509
        dpx20 | dpx20-*)
490
510
                basic_machine=rs6000-bull
491
511
                os=-bosx
751
771
                basic_machine=hppa1.1-oki
752
772
                os=-proelf
753
773
                ;;
754
 
        or32 | or32-*)
 
774
        openrisc | openrisc-*)
755
775
                basic_machine=or32-unknown
756
 
                os=-coff
757
776
                ;;
758
777
        os400)
759
778
                basic_machine=powerpc-ibm
1026
1045
                basic_machine=hppa1.1-winbond
1027
1046
                os=-proelf
1028
1047
                ;;
 
1048
        xbox)
 
1049
                basic_machine=i686-pc
 
1050
                os=-mingw32
 
1051
                ;;
1029
1052
        xps | xps100)
1030
1053
                basic_machine=xps100-honeywell
1031
1054
                ;;
1075
1098
        we32k)
1076
1099
                basic_machine=we32k-att
1077
1100
                ;;
1078
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1101
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1079
1102
                basic_machine=sh-unknown
1080
1103
                ;;
1081
 
        sh64)
1082
 
                basic_machine=sh64-unknown
1083
 
                ;;
1084
1104
        sparc | sparcv8 | sparcv9 | sparcv9b)
1085
1105
                basic_machine=sparc-sun
1086
1106
                ;;
1167
1187
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1168
1188
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1169
1189
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1170
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 
1190
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1191
              | -skyos* | -haiku*)
1171
1192
        # Remember, each alternative MUST END IN *, to match a version number.
1172
1193
                ;;
1173
1194
        -qnx*)
1185
1206
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1186
1207
                ;;
1187
1208
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1188
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1209
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1189
1210
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1190
1211
                ;;
1191
1212
        -mac*)
1294
1315
        -kaos*)
1295
1316
                os=-kaos
1296
1317
                ;;
 
1318
        -zvmoe)
 
1319
                os=-zvmoe
 
1320
                ;;
1297
1321
        -none)
1298
1322
                ;;
1299
1323
        *)
1371
1395
        *-be)
1372
1396
                os=-beos
1373
1397
                ;;
 
1398
        *-haiku)
 
1399
                os=-haiku
 
1400
                ;;
1374
1401
        *-ibm)
1375
1402
                os=-aix
1376
1403
                ;;
1542
1569
esac
1543
1570
 
1544
1571
echo $basic_machine$os
1545
 
exit 0
 
1572
exit
1546
1573
 
1547
1574
# Local variables:
1548
1575
# eval: (add-hook 'write-file-hooks 'time-stamp)