~ubuntu-branches/ubuntu/maverick/hello/maverick

« back to all changes in this revision

Viewing changes to build-aux/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2009-08-03 23:34:18 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090803233418-e1zshrjd3oqhmrrb
Tags: 2.4-1
* New upstream release. License is now GPLv3 or later.
* Manual is included again, as it's now GFDL without invariant sections.
* Clarified manual: If more than one of the greeting options is specified
  (`-g', `-n', `-t', and their long-named equivalents), whichever comes
  last takes precedence. Closes: #457941.
* Don't pass -isp to dpkg-gencontrol, as it's deprecated. Closes: #508833.
* Changed source URL in copyright file to use http, not ftp.
* Standards-Version: 3.8.2 (no changes for this).

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, 2006, 2007, 2008
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2006-11-07'
 
7
timestamp='2008-09-08'
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
72
72
version="\
73
73
GNU config.sub ($timestamp)
74
74
 
75
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
76
 
Free Software Foundation, Inc.
 
75
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
 
76
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
77
77
 
78
78
This is free software; see the source for copying conditions.  There is NO
79
79
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
245
245
        | bfin \
246
246
        | c4x | clipper \
247
247
        | d10v | d30v | dlx | dsp16xx \
248
 
        | fr30 | frv \
 
248
        | fido | fr30 | frv \
249
249
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
250
        | i370 | i860 | i960 | ia64 \
251
251
        | ip2k | iq2000 \
252
252
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore \
 
253
        | maxq | mb | microblaze | mcore | mep | metag \
254
254
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
255
        | mips16 \
256
256
        | mips64 | mips64el \
 
257
        | mips64octeon | mips64octeonel \
 
258
        | mips64orion | mips64orionel \
 
259
        | mips64r5900 | mips64r5900el \
257
260
        | mips64vr | mips64vrel \
258
 
        | mips64orion | mips64orionel \
259
261
        | mips64vr4100 | mips64vr4100el \
260
262
        | mips64vr4300 | mips64vr4300el \
261
263
        | mips64vr5000 | mips64vr5000el \
286
288
        | v850 | v850e \
287
289
        | we32k \
288
290
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289
 
        | z8k)
 
291
        | z8k | z80)
290
292
                basic_machine=$basic_machine-unknown
291
293
                ;;
292
294
        m6811 | m68hc11 | m6812 | m68hc12)
324
326
        | clipper-* | craynv-* | cydra-* \
325
327
        | d10v-* | d30v-* | dlx-* \
326
328
        | elxsi-* \
327
 
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
329
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
328
330
        | h8300-* | h8500-* \
329
331
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
332
        | i*86-* | i860-* | i960-* | ia64-* \
331
333
        | ip2k-* | iq2000-* \
332
334
        | m32c-* | m32r-* | m32rle-* \
333
335
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
336
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
335
337
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
338
        | mips16-* \
337
339
        | mips64-* | mips64el-* \
 
340
        | mips64octeon-* | mips64octeonel-* \
 
341
        | mips64orion-* | mips64orionel-* \
 
342
        | mips64r5900-* | mips64r5900el-* \
338
343
        | mips64vr-* | mips64vrel-* \
339
 
        | mips64orion-* | mips64orionel-* \
340
344
        | mips64vr4100-* | mips64vr4100el-* \
341
345
        | mips64vr4300-* | mips64vr4300el-* \
342
346
        | mips64vr5000-* | mips64vr5000el-* \
364
368
        | sparclite-* \
365
369
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366
370
        | tahoe-* | thumb-* \
367
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
371
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
368
372
        | tron-* \
369
373
        | v850-* | v850e-* | vax-* \
370
374
        | we32k-* \
371
375
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
 
        | xstormy16-* | xtensa-* \
 
376
        | xstormy16-* | xtensa*-* \
373
377
        | ymp-* \
374
 
        | z8k-*)
 
378
        | z8k-* | z80-*)
 
379
                ;;
 
380
        # Recognize the basic CPU types without company name, with glob match.
 
381
        xtensa*)
 
382
                basic_machine=$basic_machine-unknown
375
383
                ;;
376
384
        # Recognize the various machine names and aliases which stand
377
385
        # for a CPU type and a company and sometimes even an OS.
443
451
                basic_machine=ns32k-sequent
444
452
                os=-dynix
445
453
                ;;
 
454
        blackfin)
 
455
                basic_machine=bfin-unknown
 
456
                os=-linux
 
457
                ;;
 
458
        blackfin-*)
 
459
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 
460
                os=-linux
 
461
                ;;
446
462
        c90)
447
463
                basic_machine=c90-cray
448
464
                os=-unicos
449
465
                ;;
 
466
        cegcc)
 
467
                basic_machine=arm-unknown
 
468
                os=-cegcc
 
469
                ;;
450
470
        convex-c1)
451
471
                basic_machine=c1-convex
452
472
                os=-bsd
475
495
                basic_machine=craynv-cray
476
496
                os=-unicosmp
477
497
                ;;
478
 
        cr16c)
479
 
                basic_machine=cr16c-unknown
 
498
        cr16)
 
499
                basic_machine=cr16-unknown
480
500
                os=-elf
481
501
                ;;
482
502
        crds | unos)
514
534
                basic_machine=m88k-motorola
515
535
                os=-sysv3
516
536
                ;;
 
537
        dicos)
 
538
                basic_machine=i686-pc
 
539
                os=-dicos
 
540
                ;;
517
541
        djgpp)
518
542
                basic_machine=i586-pc
519
543
                os=-msdosdjgpp
668
692
                basic_machine=m68k-isi
669
693
                os=-sysv
670
694
                ;;
 
695
        m68knommu)
 
696
                basic_machine=m68k-unknown
 
697
                os=-linux
 
698
                ;;
 
699
        m68knommu-*)
 
700
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 
701
                os=-linux
 
702
                ;;
671
703
        m88k-omron*)
672
704
                basic_machine=m88k-omron
673
705
                ;;
683
715
                basic_machine=i386-pc
684
716
                os=-mingw32
685
717
                ;;
 
718
        mingw32ce)
 
719
                basic_machine=arm-unknown
 
720
                os=-mingw32ce
 
721
                ;;
686
722
        miniframe)
687
723
                basic_machine=m68000-convergent
688
724
                ;;
809
845
                basic_machine=i860-intel
810
846
                os=-osf
811
847
                ;;
 
848
        parisc)
 
849
                basic_machine=hppa-unknown
 
850
                os=-linux
 
851
                ;;
 
852
        parisc-*)
 
853
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 
854
                os=-linux
 
855
                ;;
812
856
        pbd)
813
857
                basic_machine=sparc-tti
814
858
                ;;
1017
1061
                basic_machine=tic6x-unknown
1018
1062
                os=-coff
1019
1063
                ;;
 
1064
        tile*)
 
1065
                basic_machine=tile-unknown
 
1066
                os=-linux-gnu
 
1067
                ;;
1020
1068
        tx39)
1021
1069
                basic_machine=mipstx39-unknown
1022
1070
                ;;
1092
1140
                basic_machine=z8k-unknown
1093
1141
                os=-sim
1094
1142
                ;;
 
1143
        z80-*-coff)
 
1144
                basic_machine=z80-unknown
 
1145
                os=-sim
 
1146
                ;;
1095
1147
        none)
1096
1148
                basic_machine=none-none
1097
1149
                os=-none
1212
1264
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1213
1265
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1214
1266
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1215
 
              | -chorusos* | -chorusrdb* \
 
1267
              | -chorusos* | -chorusrdb* | -cegcc* \
1216
1268
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1217
1269
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1218
1270
              | -uxpv* | -beos* | -mpeix* | -udk* \
1222
1274
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1223
1275
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1224
1276
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1225
 
              | -skyos* | -haiku* | -rdos* | -toppers*)
 
1277
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1226
1278
        # Remember, each alternative MUST END IN *, to match a version number.
1227
1279
                ;;
1228
1280
        -qnx*)
1352
1404
        -zvmoe)
1353
1405
                os=-zvmoe
1354
1406
                ;;
 
1407
        -dicos*)
 
1408
                os=-dicos
 
1409
                ;;
1355
1410
        -none)
1356
1411
                ;;
1357
1412
        *)
1417
1472
        m68*-cisco)
1418
1473
                os=-aout
1419
1474
                ;;
 
1475
        mep-*)
 
1476
                os=-elf
 
1477
                ;;
1420
1478
        mips*-cisco)
1421
1479
                os=-elf
1422
1480
                ;;