~ubuntu-branches/ubuntu/quantal/lxc/quantal-201208301614

« back to all changes in this revision

Viewing changes to config/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-06-28 10:15:48 UTC
  • mto: (1.1.4 upstream) (3.1.5 sid)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20100628101548-vexhggdo6x9cpwtk
ImportĀ upstreamĀ versionĀ 0.7.1

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, 2007, 2008
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2008-01-16'
 
7
timestamp='2009-06-11'
8
8
 
9
9
# This file is (in principle) common to ALL GNU software.
10
10
# The presence of a machine in this file suggests that SOME GNU software
122
122
case $maybe_os in
123
123
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
124
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
125
  kopensolaris*-gnu* | \
125
126
  storm-chaos* | os2-emx* | rtmk-nova*)
126
127
    os=-$maybe_os
127
128
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
152
153
                os=
153
154
                basic_machine=$1
154
155
                ;;
 
156
        -bluegene*)
 
157
                os=-cnk
 
158
                ;;
155
159
        -sim | -cisco | -oki | -wec | -winbond)
156
160
                os=
157
161
                basic_machine=$1
249
253
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
254
        | i370 | i860 | i960 | ia64 \
251
255
        | ip2k | iq2000 \
 
256
        | lm32 \
252
257
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore | mep \
 
258
        | maxq | mb | microblaze | mcore | mep | metag \
254
259
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
260
        | mips16 \
256
261
        | mips64 | mips64el \
 
262
        | mips64octeon | mips64octeonel \
 
263
        | mips64orion | mips64orionel \
 
264
        | mips64r5900 | mips64r5900el \
257
265
        | mips64vr | mips64vrel \
258
 
        | mips64orion | mips64orionel \
259
266
        | mips64vr4100 | mips64vr4100el \
260
267
        | mips64vr4300 | mips64vr4300el \
261
268
        | mips64vr5000 | mips64vr5000el \
268
275
        | mipsisa64sr71k | mipsisa64sr71kel \
269
276
        | mipstx39 | mipstx39el \
270
277
        | mn10200 | mn10300 \
 
278
        | moxie \
271
279
        | mt \
272
280
        | msp430 \
273
281
        | nios | nios2 \
277
285
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
286
        | pyramid \
279
287
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
288
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281
289
        | sh64 | sh64le \
282
290
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
291
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
286
294
        | v850 | v850e \
287
295
        | we32k \
288
296
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289
 
        | z8k)
 
297
        | z8k | z80)
290
298
                basic_machine=$basic_machine-unknown
291
299
                ;;
292
300
        m6811 | m68hc11 | m6812 | m68hc12)
329
337
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
338
        | i*86-* | i860-* | i960-* | ia64-* \
331
339
        | ip2k-* | iq2000-* \
 
340
        | lm32-* \
332
341
        | m32c-* | m32r-* | m32rle-* \
333
342
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
343
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
335
344
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
345
        | mips16-* \
337
346
        | mips64-* | mips64el-* \
 
347
        | mips64octeon-* | mips64octeonel-* \
 
348
        | mips64orion-* | mips64orionel-* \
 
349
        | mips64r5900-* | mips64r5900el-* \
338
350
        | mips64vr-* | mips64vrel-* \
339
 
        | mips64orion-* | mips64orionel-* \
340
351
        | mips64vr4100-* | mips64vr4100el-* \
341
352
        | mips64vr4300-* | mips64vr4300el-* \
342
353
        | mips64vr5000-* | mips64vr5000el-* \
358
369
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
370
        | pyramid-* \
360
371
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
372
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362
373
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
374
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364
375
        | sparclite-* \
365
376
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366
377
        | tahoe-* | thumb-* \
367
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
378
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
368
379
        | tron-* \
369
380
        | v850-* | v850e-* | vax-* \
370
381
        | we32k-* \
371
382
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
383
        | xstormy16-* | xtensa*-* \
373
384
        | ymp-* \
374
 
        | z8k-*)
 
385
        | z8k-* | z80-*)
375
386
                ;;
376
387
        # Recognize the basic CPU types without company name, with glob match.
377
388
        xtensa*)
439
450
                basic_machine=m68k-apollo
440
451
                os=-bsd
441
452
                ;;
 
453
        aros)
 
454
                basic_machine=i386-pc
 
455
                os=-aros
 
456
                ;;
442
457
        aux)
443
458
                basic_machine=m68k-apple
444
459
                os=-aux
455
470
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
456
471
                os=-linux
457
472
                ;;
 
473
        bluegene*)
 
474
                basic_machine=powerpc-ibm
 
475
                os=-cnk
 
476
                ;;
458
477
        c90)
459
478
                basic_machine=c90-cray
460
479
                os=-unicos
461
480
                ;;
 
481
        cegcc)
 
482
                basic_machine=arm-unknown
 
483
                os=-cegcc
 
484
                ;;
462
485
        convex-c1)
463
486
                basic_machine=c1-convex
464
487
                os=-bsd
526
549
                basic_machine=m88k-motorola
527
550
                os=-sysv3
528
551
                ;;
 
552
        dicos)
 
553
                basic_machine=i686-pc
 
554
                os=-dicos
 
555
                ;;
529
556
        djgpp)
530
557
                basic_machine=i586-pc
531
558
                os=-msdosdjgpp
1128
1155
                basic_machine=z8k-unknown
1129
1156
                os=-sim
1130
1157
                ;;
 
1158
        z80-*-coff)
 
1159
                basic_machine=z80-unknown
 
1160
                os=-sim
 
1161
                ;;
1131
1162
        none)
1132
1163
                basic_machine=none-none
1133
1164
                os=-none
1166
1197
        we32k)
1167
1198
                basic_machine=we32k-att
1168
1199
                ;;
1169
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1200
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1170
1201
                basic_machine=sh-unknown
1171
1202
                ;;
1172
1203
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1236
1267
        # Each alternative MUST END IN A *, to match a version number.
1237
1268
        # -sysv* is not here because it comes later, after sysvr4.
1238
1269
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1239
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
 
1270
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1240
1271
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
1272
              | -kopensolaris* \
1241
1273
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1242
 
              | -aos* \
 
1274
              | -aos* | -aros* \
1243
1275
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1244
1276
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1245
1277
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1248
1280
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1249
1281
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1250
1282
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1251
 
              | -chorusos* | -chorusrdb* \
 
1283
              | -chorusos* | -chorusrdb* | -cegcc* \
1252
1284
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1253
1285
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1254
1286
              | -uxpv* | -beos* | -mpeix* | -udk* \
1388
1420
        -zvmoe)
1389
1421
                os=-zvmoe
1390
1422
                ;;
 
1423
        -dicos*)
 
1424
                os=-dicos
 
1425
                ;;
1391
1426
        -none)
1392
1427
                ;;
1393
1428
        *)
1585
1620
                        -sunos*)
1586
1621
                                vendor=sun
1587
1622
                                ;;
1588
 
                        -aix*)
 
1623
                        -cnk*|-aix*)
1589
1624
                                vendor=ibm
1590
1625
                                ;;
1591
1626
                        -beos*)