~ubuntu-branches/debian/lenny/libtorrent/lenny

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): James Vega
  • Date: 2008-04-15 21:38:37 UTC
  • mfrom: (4.1.6 hardy)
  • Revision ID: james.westby@ubuntu.com-20080415213837-znilhi7a44yec99u
Tags: 0.11.9-1.1
* Non-maintainer upload.
* Fix FTBFS with gcc-4.3.  (Closes: #420920)

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, 2005, 2006 Free Software Foundation,
5
 
#   Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
6
5
 
7
 
timestamp='2006-09-20'
 
6
timestamp='2005-12-11'
8
7
 
9
8
# This file is (in principle) common to ALL GNU software.
10
9
# The presence of a machine in this file suggests that SOME GNU software
241
240
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
242
241
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
243
242
        | am33_2.0 \
244
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
243
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
245
244
        | bfin \
246
245
        | c4x | clipper \
247
246
        | d10v | d30v | dlx | dsp16xx \
249
248
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
249
        | i370 | i860 | i960 | ia64 \
251
250
        | ip2k | iq2000 \
252
 
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore \
 
251
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
254
252
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
253
        | mips16 \
256
254
        | mips64 | mips64el \
270
268
        | mn10200 | mn10300 \
271
269
        | mt \
272
270
        | msp430 \
273
 
        | nios | nios2 \
274
271
        | ns16k | ns32k \
275
272
        | or32 \
276
273
        | pdp10 | pdp11 | pj | pjl \
277
274
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
275
        | pyramid \
279
 
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
276
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
281
277
        | sh64 | sh64le \
282
 
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
 
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284
 
        | spu | strongarm \
 
278
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
279
        | sparcv8 | sparcv9 | sparcv9b \
 
280
        | strongarm \
285
281
        | tahoe | thumb | tic4x | tic80 | tron \
286
282
        | v850 | v850e \
287
283
        | we32k \
288
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
284
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
289
285
        | z8k)
290
286
                basic_machine=$basic_machine-unknown
291
287
                ;;
 
288
        m32c)
 
289
                basic_machine=$basic_machine-unknown
 
290
                ;;
292
291
        m6811 | m68hc11 | m6812 | m68hc12)
293
292
                # Motorola 68HC11/12.
294
293
                basic_machine=$basic_machine-unknown
318
317
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
319
318
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
320
319
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
321
 
        | avr-* | avr32-* \
 
320
        | avr-* \
322
321
        | bfin-* | bs2000-* \
323
322
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
324
323
        | clipper-* | craynv-* | cydra-* \
329
328
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
329
        | i*86-* | i860-* | i960-* | ia64-* \
331
330
        | ip2k-* | iq2000-* \
332
 
        | m32c-* | m32r-* | m32rle-* \
 
331
        | m32r-* | m32rle-* \
333
332
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
333
        | m88110-* | m88k-* | maxq-* | mcore-* \
335
334
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
351
350
        | mmix-* \
352
351
        | mt-* \
353
352
        | msp430-* \
354
 
        | nios-* | nios2-* \
355
353
        | none-* | np1-* | ns16k-* | ns32k-* \
356
354
        | orion-* \
357
355
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
356
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
357
        | pyramid-* \
360
358
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
359
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
362
360
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
 
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
361
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
364
362
        | sparclite-* \
365
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 
363
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
366
364
        | tahoe-* | thumb-* \
367
365
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
368
366
        | tron-* \
369
367
        | v850-* | v850e-* | vax-* \
370
368
        | we32k-* \
371
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
369
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
372
370
        | xstormy16-* | xtensa-* \
373
371
        | ymp-* \
374
372
        | z8k-*)
375
373
                ;;
 
374
        m32c-*)
 
375
                ;;
376
376
        # Recognize the various machine names and aliases which stand
377
377
        # for a CPU type and a company and sometimes even an OS.
378
378
        386bsd)
818
818
        pc532 | pc532-*)
819
819
                basic_machine=ns32k-pc532
820
820
                ;;
821
 
        pc98)
822
 
                basic_machine=i386-pc
823
 
                ;;
824
 
        pc98-*)
825
 
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
826
 
                ;;
827
821
        pentium | p5 | k5 | k6 | nexgen | viac3)
828
822
                basic_machine=i586-pc
829
823
                ;;
910
904
        sb1el)
911
905
                basic_machine=mipsisa64sb1el-unknown
912
906
                ;;
913
 
        sde)
914
 
                basic_machine=mipsisa32-sde
915
 
                os=-elf
916
 
                ;;
917
907
        sei)
918
908
                basic_machine=mips-sei
919
909
                os=-seiux
1130
1120
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1131
1121
                basic_machine=sh-unknown
1132
1122
                ;;
1133
 
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 
1123
        sparc | sparcv8 | sparcv9 | sparcv9b)
1134
1124
                basic_machine=sparc-sun
1135
1125
                ;;
1136
1126
        cydra)
1203
1193
              | -aos* \
1204
1194
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1205
1195
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1206
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1207
 
              | -openbsd* | -solidbsd* \
 
1196
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1208
1197
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1209
1198
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1210
1199
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1219
1208
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1220
1209
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1221
1210
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1222
 
              | -skyos* | -haiku* | -rdos* | -toppers*)
 
1211
              | -skyos* | -haiku* | -rdos*)
1223
1212
        # Remember, each alternative MUST END IN *, to match a version number.
1224
1213
                ;;
1225
1214
        -qnx*)
1371
1360
# system, and we'll never get to this point.
1372
1361
 
1373
1362
case $basic_machine in
1374
 
        score-*)
1375
 
                os=-elf
1376
 
                ;;
1377
 
        spu-*)
1378
 
                os=-elf
1379
 
                ;;
1380
1363
        *-acorn)
1381
1364
                os=-riscix1.2
1382
1365
                ;;
1386
1369
        arm*-semi)
1387
1370
                os=-aout
1388
1371
                ;;
1389
 
        c4x-* | tic4x-*)
1390
 
                os=-coff
1391
 
                ;;
 
1372
    c4x-* | tic4x-*)
 
1373
        os=-coff
 
1374
        ;;
1392
1375
        # This must come before the *-dec entry.
1393
1376
        pdp10-*)
1394
1377
                os=-tops20