~ubuntu-branches/debian/stretch/alsaplayer/stretch

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-25 00:19:28 UTC
  • Revision ID: james.westby@ubuntu.com-20050825001928-flf2qwx1hs5k9c9i
Tags: 0.99.76-6ubuntu2
Update {build-,}depends for xorg -> mesa GL/GLU transition.

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, 2005 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2003-01-03'
 
6
timestamp='2005-04-22'
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, 2005
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* | freebsd*-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
                ;;
228
229
        | a29k \
229
230
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
231
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
232
        | am33_2.0 \
231
233
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
232
 
        | clipper \
 
234
        | bfin \
 
235
        | c4x | clipper \
233
236
        | d10v | d30v | dlx | dsp16xx \
234
237
        | fr30 | frv \
235
238
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
239
        | i370 | i860 | i960 | ia64 \
237
 
        | ip2k \
238
 
        | m32r | m68000 | m68k | m88k | mcore \
 
240
        | ip2k | iq2000 \
 
241
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
239
242
        | mips | mipsbe | mipseb | mipsel | mipsle \
240
243
        | mips16 \
241
244
        | mips64 | mips64el \
247
250
        | mipsisa32 | mipsisa32el \
248
251
        | mipsisa32r2 | mipsisa32r2el \
249
252
        | mipsisa64 | mipsisa64el \
 
253
        | mipsisa64r2 | mipsisa64r2el \
250
254
        | mipsisa64sb1 | mipsisa64sb1el \
251
255
        | mipsisa64sr71k | mipsisa64sr71kel \
252
256
        | mipstx39 | mipstx39el \
257
261
        | pdp10 | pdp11 | pj | pjl \
258
262
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
259
263
        | pyramid \
260
 
        | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
264
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
261
265
        | sh64 | sh64le \
262
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
 
266
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
267
        | sparcv8 | sparcv9 | sparcv9b \
263
268
        | strongarm \
264
 
        | tahoe | thumb | tic80 | tron \
 
269
        | tahoe | thumb | tic4x | tic80 | tron \
265
270
        | v850 | v850e \
266
271
        | we32k \
267
 
        | x86 | xscale | xstormy16 | xtensa \
 
272
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
268
273
        | z8k)
269
274
                basic_machine=$basic_machine-unknown
270
275
                ;;
295
300
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
296
301
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
297
302
        | avr-* \
298
 
        | bs2000-* \
299
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
300
 
        | clipper-* | cydra-* \
 
303
        | bfin-* | bs2000-* \
 
304
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
305
        | clipper-* | craynv-* | cydra-* \
301
306
        | d10v-* | d30v-* | dlx-* \
302
307
        | elxsi-* \
303
308
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
304
309
        | h8300-* | h8500-* \
305
310
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
306
311
        | i*86-* | i860-* | i960-* | ia64-* \
307
 
        | ip2k-* \
308
 
        | m32r-* \
 
312
        | ip2k-* | iq2000-* \
 
313
        | m32r-* | m32rle-* \
309
314
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
310
 
        | m88110-* | m88k-* | mcore-* \
 
315
        | m88110-* | m88k-* | maxq-* | mcore-* \
311
316
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
312
317
        | mips16-* \
313
318
        | mips64-* | mips64el-* \
319
324
        | mipsisa32-* | mipsisa32el-* \
320
325
        | mipsisa32r2-* | mipsisa32r2el-* \
321
326
        | mipsisa64-* | mipsisa64el-* \
 
327
        | mipsisa64r2-* | mipsisa64r2el-* \
322
328
        | mipsisa64sb1-* | mipsisa64sb1el-* \
323
329
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
324
330
        | mipstx39-* | mipstx39el-* \
 
331
        | mmix-* \
325
332
        | msp430-* \
326
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
333
        | none-* | np1-* | ns16k-* | ns32k-* \
327
334
        | orion-* \
328
335
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
329
336
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
330
337
        | pyramid-* \
331
338
        | romp-* | rs6000-* \
332
 
        | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
 
339
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
333
340
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
334
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
335
 
        | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
336
 
        | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
 
341
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
342
        | sparclite-* \
 
343
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
344
        | tahoe-* | thumb-* \
 
345
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
346
        | tron-* \
337
347
        | v850-* | v850e-* | vax-* \
338
348
        | we32k-* \
339
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
340
 
        | xtensa-* \
 
349
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
350
        | xstormy16-* | xtensa-* \
341
351
        | ymp-* \
342
352
        | z8k-*)
343
353
                ;;
357
367
                basic_machine=a29k-amd
358
368
                os=-udi
359
369
                ;;
 
370
        abacus)
 
371
                basic_machine=abacus-unknown
 
372
                ;;
360
373
        adobe68k)
361
374
                basic_machine=m68010-adobe
362
375
                os=-scout
371
384
                basic_machine=a29k-none
372
385
                os=-bsd
373
386
                ;;
 
387
        amd64)
 
388
                basic_machine=x86_64-pc
 
389
                ;;
 
390
        amd64-*)
 
391
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
392
                ;;
374
393
        amdahl)
375
394
                basic_machine=580-amdahl
376
395
                os=-sysv
430
449
                basic_machine=j90-cray
431
450
                os=-unicos
432
451
                ;;
 
452
        craynv)
 
453
                basic_machine=craynv-cray
 
454
                os=-unicosmp
 
455
                ;;
 
456
        cr16c)
 
457
                basic_machine=cr16c-unknown
 
458
                os=-elf
 
459
                ;;
433
460
        crds | unos)
434
461
                basic_machine=m68k-crds
435
462
                ;;
 
463
        crisv32 | crisv32-* | etraxfs*)
 
464
                basic_machine=crisv32-axis
 
465
                ;;
436
466
        cris | cris-* | etrax*)
437
467
                basic_machine=cris-axis
438
468
                ;;
 
469
        crx)
 
470
                basic_machine=crx-unknown
 
471
                os=-elf
 
472
                ;;
439
473
        da30 | da30-*)
440
474
                basic_machine=m68k-da30
441
475
                ;;
458
492
                basic_machine=m88k-motorola
459
493
                os=-sysv3
460
494
                ;;
 
495
        djgpp)
 
496
                basic_machine=i586-pc
 
497
                os=-msdosdjgpp
 
498
                ;;
461
499
        dpx20 | dpx20-*)
462
500
                basic_machine=rs6000-bull
463
501
                os=-bosx
636
674
        mips3*)
637
675
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
638
676
                ;;
639
 
        mmix*)
640
 
                basic_machine=mmix-knuth
641
 
                os=-mmixware
642
 
                ;;
643
677
        monitor)
644
678
                basic_machine=m68k-rom68k
645
679
                os=-coff
720
754
        np1)
721
755
                basic_machine=np1-gould
722
756
                ;;
723
 
        nv1)
724
 
                basic_machine=nv1-cray
725
 
                os=-unicosmp
726
 
                ;;
727
757
        nsr-tandem)
728
758
                basic_machine=nsr-tandem
729
759
                ;;
735
765
                basic_machine=or32-unknown
736
766
                os=-coff
737
767
                ;;
 
768
        os400)
 
769
                basic_machine=powerpc-ibm
 
770
                os=-os400
 
771
                ;;
738
772
        OSE68000 | ose68000)
739
773
                basic_machine=m68000-ericsson
740
774
                os=-ose
766
800
        pentiumpro | p6 | 6x86 | athlon | athlon_*)
767
801
                basic_machine=i686-pc
768
802
                ;;
769
 
        pentiumii | pentium2)
 
803
        pentiumii | pentium2 | pentiumiii | pentium3)
770
804
                basic_machine=i686-pc
771
805
                ;;
 
806
        pentium4)
 
807
                basic_machine=i786-pc
 
808
                ;;
772
809
        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
773
810
                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
774
811
                ;;
775
812
        pentiumpro-* | p6-* | 6x86-* | athlon-*)
776
813
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
777
814
                ;;
778
 
        pentiumii-* | pentium2-*)
 
815
        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
779
816
                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
780
817
                ;;
 
818
        pentium4-*)
 
819
                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 
820
                ;;
781
821
        pn)
782
822
                basic_machine=pn-gould
783
823
                ;;
836
876
        sb1el)
837
877
                basic_machine=mipsisa64sb1el-unknown
838
878
                ;;
 
879
        sei)
 
880
                basic_machine=mips-sei
 
881
                os=-seiux
 
882
                ;;
839
883
        sequent)
840
884
                basic_machine=i386-sequent
841
885
                ;;
843
887
                basic_machine=sh-hitachi
844
888
                os=-hms
845
889
                ;;
 
890
        sh64)
 
891
                basic_machine=sh64-unknown
 
892
                ;;
846
893
        sparclite-wrs | simso-wrs)
847
894
                basic_machine=sparclite-wrs
848
895
                os=-vxworks
917
964
                basic_machine=t90-cray
918
965
                os=-unicos
919
966
                ;;
920
 
        tic4x | c4x*)
921
 
                basic_machine=tic4x-unknown
922
 
                os=-coff
923
 
                ;;
924
967
        tic54x | c54x*)
925
968
                basic_machine=tic54x-unknown
926
969
                os=-coff
927
970
                ;;
 
971
        tic55x | c55x*)
 
972
                basic_machine=tic55x-unknown
 
973
                os=-coff
 
974
                ;;
 
975
        tic6x | c6x*)
 
976
                basic_machine=tic6x-unknown
 
977
                os=-coff
 
978
                ;;
928
979
        tx39)
929
980
                basic_machine=mipstx39-unknown
930
981
                ;;
938
989
        tower | tower-32)
939
990
                basic_machine=m68k-ncr
940
991
                ;;
 
992
        tpf)
 
993
                basic_machine=s390x-ibm
 
994
                os=-tpf
 
995
                ;;
941
996
        udi29k)
942
997
                basic_machine=a29k-amd
943
998
                os=-udi
981
1036
                basic_machine=hppa1.1-winbond
982
1037
                os=-proelf
983
1038
                ;;
 
1039
        xbox)
 
1040
                basic_machine=i686-pc
 
1041
                os=-mingw32
 
1042
                ;;
984
1043
        xps | xps100)
985
1044
                basic_machine=xps100-honeywell
986
1045
                ;;
1011
1070
        romp)
1012
1071
                basic_machine=romp-ibm
1013
1072
                ;;
 
1073
        mmix)
 
1074
                basic_machine=mmix-knuth
 
1075
                ;;
1014
1076
        rs6000)
1015
1077
                basic_machine=rs6000-ibm
1016
1078
                ;;
1027
1089
        we32k)
1028
1090
                basic_machine=we32k-att
1029
1091
                ;;
1030
 
        sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
 
1092
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1031
1093
                basic_machine=sh-unknown
1032
1094
                ;;
1033
1095
        sh64)
1034
1096
                basic_machine=sh64-unknown
1035
1097
                ;;
1036
 
        sparc | sparcv9 | sparcv9b)
 
1098
        sparc | sparcv8 | sparcv9 | sparcv9b)
1037
1099
                basic_machine=sparc-sun
1038
1100
                ;;
1039
1101
        cydra)
1106
1168
              | -aos* \
1107
1169
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1108
1170
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1109
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1110
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1171
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1172
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1173
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1111
1174
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1112
1175
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1113
1176
              | -chorusos* | -chorusrdb* \
1114
1177
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1115
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1178
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1116
1179
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1117
1180
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1118
1181
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1119
1182
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1120
1183
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1121
 
              | -powermax* | -dnix* | -microbsd*)
 
1184
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1122
1185
        # Remember, each alternative MUST END IN *, to match a version number.
1123
1186
                ;;
1124
1187
        -qnx*)
1142
1205
        -mac*)
1143
1206
                os=`echo $os | sed -e 's|mac|macos|'`
1144
1207
                ;;
 
1208
        -linux-dietlibc)
 
1209
                os=-linux-dietlibc
 
1210
                ;;
1145
1211
        -linux*)
1146
1212
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1147
1213
                ;;
1154
1220
        -opened*)
1155
1221
                os=-openedition
1156
1222
                ;;
 
1223
        -os400*)
 
1224
                os=-os400
 
1225
                ;;
1157
1226
        -wince*)
1158
1227
                os=-wince
1159
1228
                ;;
1175
1244
        -atheos*)
1176
1245
                os=-atheos
1177
1246
                ;;
 
1247
        -syllable*)
 
1248
                os=-syllable
 
1249
                ;;
1178
1250
        -386bsd)
1179
1251
                os=-bsd
1180
1252
                ;;
1197
1269
        -sinix*)
1198
1270
                os=-sysv4
1199
1271
                ;;
 
1272
        -tpf*)
 
1273
                os=-tpf
 
1274
                ;;
1200
1275
        -triton*)
1201
1276
                os=-sysv3
1202
1277
                ;;
1227
1302
        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1228
1303
                os=-mint
1229
1304
                ;;
 
1305
        -aros*)
 
1306
                os=-aros
 
1307
                ;;
 
1308
        -kaos*)
 
1309
                os=-kaos
 
1310
                ;;
 
1311
        -zvmoe)
 
1312
                os=-zvmoe
 
1313
                ;;
1230
1314
        -none)
1231
1315
                ;;
1232
1316
        *)
1258
1342
        arm*-semi)
1259
1343
                os=-aout
1260
1344
                ;;
 
1345
    c4x-* | tic4x-*)
 
1346
        os=-coff
 
1347
        ;;
1261
1348
        # This must come before the *-dec entry.
1262
1349
        pdp10-*)
1263
1350
                os=-tops20
1304
1391
        *-ibm)
1305
1392
                os=-aix
1306
1393
                ;;
 
1394
        *-knuth)
 
1395
                os=-mmixware
 
1396
                ;;
1307
1397
        *-wec)
1308
1398
                os=-proelf
1309
1399
                ;;
1436
1526
                        -mvs* | -opened*)
1437
1527
                                vendor=ibm
1438
1528
                                ;;
 
1529
                        -os400*)
 
1530
                                vendor=ibm
 
1531
                                ;;
1439
1532
                        -ptx*)
1440
1533
                                vendor=sequent
1441
1534
                                ;;
 
1535
                        -tpf*)
 
1536
                                vendor=ibm
 
1537
                                ;;
1442
1538
                        -vxsim* | -vxworks* | -windiss*)
1443
1539
                                vendor=wrs
1444
1540
                                ;;