~ubuntu-branches/ubuntu/quantal/styx/quantal

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Pollock
  • Date: 2005-03-24 13:02:32 UTC
  • Revision ID: james.westby@ubuntu.com-20050324130232-01xfv03u3i1ujoqm
Tags: 1.6.1-2
* QA Group upload orphaning this package
* debian/control: fixed typo in package description (closes: #268545,
  #277246)

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2003-10-07'
 
6
timestamp='2004-11-30'
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
70
70
version="\
71
71
GNU config.sub ($timestamp)
72
72
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
73
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
74
74
Free Software Foundation, Inc.
75
75
 
76
76
This is free software; see the source for copying conditions.  There is NO
118
118
# Here we must recognize all the valid KERNEL-OS combinations.
119
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
120
case $maybe_os in
121
 
  nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
 
121
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
 
122
  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122
123
    os=-$maybe_os
123
124
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
125
    ;;
144
145
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
146
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
147
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
 
        -apple | -axis)
 
148
        -apple | -axis | -knuth | -cray)
148
149
                os=
149
150
                basic_machine=$1
150
151
                ;;
236
237
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
237
238
        | i370 | i860 | i960 | ia64 \
238
239
        | ip2k | iq2000 \
239
 
        | m32r | m68000 | m68k | m88k | mcore \
 
240
        | m32r | m32rle | m68000 | m68k | m88k | mcore \
240
241
        | mips | mipsbe | mipseb | mipsel | mipsle \
241
242
        | mips16 \
242
243
        | mips64 | mips64el \
261
262
        | pyramid \
262
263
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
263
264
        | sh64 | sh64le \
264
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
265
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
265
266
        | strongarm \
266
267
        | tahoe | thumb | tic4x | tic80 | tron \
267
268
        | v850 | v850e \
268
269
        | we32k \
269
 
        | x86 | xscale | xstormy16 | xtensa \
 
270
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
270
271
        | z8k)
271
272
                basic_machine=$basic_machine-unknown
272
273
                ;;
299
300
        | avr-* \
300
301
        | bs2000-* \
301
302
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
302
 
        | clipper-* | cydra-* \
 
303
        | clipper-* | craynv-* | cydra-* \
303
304
        | d10v-* | d30v-* | dlx-* \
304
305
        | elxsi-* \
305
306
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
307
308
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
308
309
        | i*86-* | i860-* | i960-* | ia64-* \
309
310
        | ip2k-* | iq2000-* \
310
 
        | m32r-* \
 
311
        | m32r-* | m32rle-* \
311
312
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
312
313
        | m88110-* | m88k-* | mcore-* \
313
314
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
325
326
        | mipsisa64sb1-* | mipsisa64sb1el-* \
326
327
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
327
328
        | mipstx39-* | mipstx39el-* \
 
329
        | mmix-* \
328
330
        | msp430-* \
329
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
331
        | none-* | np1-* | ns16k-* | ns32k-* \
330
332
        | orion-* \
331
333
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
332
334
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
335
337
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
336
338
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
337
339
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
338
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
340
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
339
341
        | tahoe-* | thumb-* \
340
342
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
341
343
        | tron-* \
342
344
        | v850-* | v850e-* | vax-* \
343
345
        | we32k-* \
344
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
345
 
        | xtensa-* \
 
346
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
347
        | xstormy16-* | xtensa-* \
346
348
        | ymp-* \
347
349
        | z8k-*)
348
350
                ;;
362
364
                basic_machine=a29k-amd
363
365
                os=-udi
364
366
                ;;
 
367
        abacus)
 
368
                basic_machine=abacus-unknown
 
369
                ;;
365
370
        adobe68k)
366
371
                basic_machine=m68010-adobe
367
372
                os=-scout
379
384
        amd64)
380
385
                basic_machine=x86_64-pc
381
386
                ;;
 
387
        amd64-*)
 
388
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
389
                ;;
382
390
        amdahl)
383
391
                basic_machine=580-amdahl
384
392
                os=-sysv
438
446
                basic_machine=j90-cray
439
447
                os=-unicos
440
448
                ;;
 
449
        craynv)
 
450
                basic_machine=craynv-cray
 
451
                os=-unicosmp
 
452
                ;;
 
453
        cr16c)
 
454
                basic_machine=cr16c-unknown
 
455
                os=-elf
 
456
                ;;
441
457
        crds | unos)
442
458
                basic_machine=m68k-crds
443
459
                ;;
 
460
        crisv32 | crisv32-* | etraxfs*)
 
461
                basic_machine=crisv32-axis
 
462
                ;;
444
463
        cris | cris-* | etrax*)
445
464
                basic_machine=cris-axis
446
465
                ;;
 
466
        crx)
 
467
                basic_machine=crx-unknown
 
468
                os=-elf
 
469
                ;;
447
470
        da30 | da30-*)
448
471
                basic_machine=m68k-da30
449
472
                ;;
466
489
                basic_machine=m88k-motorola
467
490
                os=-sysv3
468
491
                ;;
 
492
        djgpp)
 
493
                basic_machine=i586-pc
 
494
                os=-msdosdjgpp
 
495
                ;;
469
496
        dpx20 | dpx20-*)
470
497
                basic_machine=rs6000-bull
471
498
                os=-bosx
644
671
        mips3*)
645
672
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
646
673
                ;;
647
 
        mmix*)
648
 
                basic_machine=mmix-knuth
649
 
                os=-mmixware
650
 
                ;;
651
674
        monitor)
652
675
                basic_machine=m68k-rom68k
653
676
                os=-coff
728
751
        np1)
729
752
                basic_machine=np1-gould
730
753
                ;;
731
 
        nv1)
732
 
                basic_machine=nv1-cray
733
 
                os=-unicosmp
734
 
                ;;
735
754
        nsr-tandem)
736
755
                basic_machine=nsr-tandem
737
756
                ;;
743
762
                basic_machine=or32-unknown
744
763
                os=-coff
745
764
                ;;
 
765
        os400)
 
766
                basic_machine=powerpc-ibm
 
767
                os=-os400
 
768
                ;;
746
769
        OSE68000 | ose68000)
747
770
                basic_machine=m68000-ericsson
748
771
                os=-ose
963
986
        tower | tower-32)
964
987
                basic_machine=m68k-ncr
965
988
                ;;
 
989
        tpf)
 
990
                basic_machine=s390x-ibm
 
991
                os=-tpf
 
992
                ;;
966
993
        udi29k)
967
994
                basic_machine=a29k-amd
968
995
                os=-udi
1006
1033
                basic_machine=hppa1.1-winbond
1007
1034
                os=-proelf
1008
1035
                ;;
 
1036
        xbox)
 
1037
                basic_machine=i686-pc
 
1038
                os=-mingw32
 
1039
                ;;
1009
1040
        xps | xps100)
1010
1041
                basic_machine=xps100-honeywell
1011
1042
                ;;
1036
1067
        romp)
1037
1068
                basic_machine=romp-ibm
1038
1069
                ;;
 
1070
        mmix)
 
1071
                basic_machine=mmix-knuth
 
1072
                ;;
1039
1073
        rs6000)
1040
1074
                basic_machine=rs6000-ibm
1041
1075
                ;;
1058
1092
        sh64)
1059
1093
                basic_machine=sh64-unknown
1060
1094
                ;;
1061
 
        sparc | sparcv9 | sparcv9b)
 
1095
        sparc | sparcv8 | sparcv9 | sparcv9b)
1062
1096
                basic_machine=sparc-sun
1063
1097
                ;;
1064
1098
        cydra)
1131
1165
              | -aos* \
1132
1166
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1133
1167
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1134
 
              | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1135
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1168
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1169
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1170
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1136
1171
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1137
1172
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1138
1173
              | -chorusos* | -chorusrdb* \
1139
1174
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1140
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1175
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1141
1176
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1142
1177
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1143
1178
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1144
1179
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1145
1180
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1146
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
 
1181
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1147
1182
        # Remember, each alternative MUST END IN *, to match a version number.
1148
1183
                ;;
1149
1184
        -qnx*)
1182
1217
        -opened*)
1183
1218
                os=-openedition
1184
1219
                ;;
 
1220
        -os400*)
 
1221
                os=-os400
 
1222
                ;;
1185
1223
        -wince*)
1186
1224
                os=-wince
1187
1225
                ;;
1203
1241
        -atheos*)
1204
1242
                os=-atheos
1205
1243
                ;;
 
1244
        -syllable*)
 
1245
                os=-syllable
 
1246
                ;;
1206
1247
        -386bsd)
1207
1248
                os=-bsd
1208
1249
                ;;
1225
1266
        -sinix*)
1226
1267
                os=-sysv4
1227
1268
                ;;
 
1269
        -tpf*)
 
1270
                os=-tpf
 
1271
                ;;
1228
1272
        -triton*)
1229
1273
                os=-sysv3
1230
1274
                ;;
1261
1305
        -kaos*)
1262
1306
                os=-kaos
1263
1307
                ;;
 
1308
        -zvmoe)
 
1309
                os=-zvmoe
 
1310
                ;;
1264
1311
        -none)
1265
1312
                ;;
1266
1313
        *)
1341
1388
        *-ibm)
1342
1389
                os=-aix
1343
1390
                ;;
 
1391
        *-knuth)
 
1392
                os=-mmixware
 
1393
                ;;
1344
1394
        *-wec)
1345
1395
                os=-proelf
1346
1396
                ;;
1473
1523
                        -mvs* | -opened*)
1474
1524
                                vendor=ibm
1475
1525
                                ;;
 
1526
                        -os400*)
 
1527
                                vendor=ibm
 
1528
                                ;;
1476
1529
                        -ptx*)
1477
1530
                                vendor=sequent
1478
1531
                                ;;
 
1532
                        -tpf*)
 
1533
                                vendor=ibm
 
1534
                                ;;
1479
1535
                        -vxsim* | -vxworks* | -windiss*)
1480
1536
                                vendor=wrs
1481
1537
                                ;;