~ubuntu-branches/ubuntu/maverick/libcdio/maverick

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Boullis
  • Date: 2007-10-04 00:52:35 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071004005235-4e3gdi4x2q2d14jx
Tags: 0.78.2+dfsg1-1
* Repack the source tarball to remove non-DFSG-free
  documentation. Thanks to Joerg Jaspert for pointing this.
* Also update debian/copyright to reflect the status of the removed
  documentation.
* Add libncurses5-dev | libncurses-dev to the build-dependencies, for
  cdda-player.

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-06-18'
 
6
timestamp='2005-07-08'
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
21
21
#
22
22
# You should have received a copy of the GNU General Public License
23
23
# along with this program; if not, write to the Free Software
24
 
# Foundation, Inc., 59 Temple Place - Suite 330,
25
 
# Boston, MA 02111-1307, USA.
26
 
 
 
24
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
25
# 02110-1301, USA.
 
26
#
27
27
# As a special exception to the GNU General Public License, if you
28
28
# distribute this file as part of a program that contains a
29
29
# configuration script generated by Autoconf, you may include it under
30
30
# the same distribution terms that you use for the rest of that program.
31
31
 
 
32
 
32
33
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
34
# diff and a properly formatted ChangeLog entry.
34
35
#
70
71
version="\
71
72
GNU config.sub ($timestamp)
72
73
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 
74
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74
75
Free Software Foundation, Inc.
75
76
 
76
77
This is free software; see the source for copying conditions.  There is NO
83
84
while test $# -gt 0 ; do
84
85
  case $1 in
85
86
    --time-stamp | --time* | -t )
86
 
       echo "$timestamp" ; exit 0 ;;
 
87
       echo "$timestamp" ; exit ;;
87
88
    --version | -v )
88
 
       echo "$version" ; exit 0 ;;
 
89
       echo "$version" ; exit ;;
89
90
    --help | --h* | -h )
90
 
       echo "$usage"; exit 0 ;;
 
91
       echo "$usage"; exit ;;
91
92
    -- )     # Stop option processing
92
93
       shift; break ;;
93
94
    - ) # Use stdin as input.
99
100
    *local*)
100
101
       # First pass through any local machine types.
101
102
       echo $1
102
 
       exit 0;;
 
103
       exit ;;
103
104
 
104
105
    * )
105
106
       break ;;
118
119
# Here we must recognize all the valid KERNEL-OS combinations.
119
120
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
121
case $maybe_os in
121
 
  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
 
122
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
 
123
  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122
124
    os=-$maybe_os
123
125
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
126
    ;;
144
146
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
147
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
148
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
 
        -apple | -axis)
 
149
        -apple | -axis | -knuth | -cray)
148
150
                os=
149
151
                basic_machine=$1
150
152
                ;;
228
230
        | a29k \
229
231
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
232
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
233
        | am33_2.0 \
231
234
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
235
        | bfin \
232
236
        | c4x | clipper \
233
237
        | d10v | d30v | dlx | dsp16xx \
234
238
        | fr30 | frv \
235
239
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
240
        | i370 | i860 | i960 | ia64 \
237
 
        | ip2k \
238
 
        | m32r | m68000 | m68k | m88k | mcore \
 
241
        | ip2k | iq2000 \
 
242
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
239
243
        | mips | mipsbe | mipseb | mipsel | mipsle \
240
244
        | mips16 \
241
245
        | mips64 | mips64el \
244
248
        | mips64vr4100 | mips64vr4100el \
245
249
        | mips64vr4300 | mips64vr4300el \
246
250
        | mips64vr5000 | mips64vr5000el \
 
251
        | mips64vr5900 | mips64vr5900el \
247
252
        | mipsisa32 | mipsisa32el \
248
253
        | mipsisa32r2 | mipsisa32r2el \
249
254
        | mipsisa64 | mipsisa64el \
 
255
        | mipsisa64r2 | mipsisa64r2el \
250
256
        | mipsisa64sb1 | mipsisa64sb1el \
251
257
        | mipsisa64sr71k | mipsisa64sr71kel \
252
258
        | mipstx39 | mipstx39el \
253
259
        | mn10200 | mn10300 \
 
260
        | ms1 \
254
261
        | msp430 \
255
262
        | ns16k | ns32k \
256
 
        | openrisc | or32 \
 
263
        | or32 \
257
264
        | pdp10 | pdp11 | pj | pjl \
258
265
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
259
266
        | pyramid \
260
 
        | s390 | s390x \
261
 
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
267
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
262
268
        | sh64 | sh64le \
263
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
 
269
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
270
        | sparcv8 | sparcv9 | sparcv9b \
264
271
        | strongarm \
265
272
        | tahoe | thumb | tic4x | tic80 | tron \
266
273
        | v850 | v850e \
267
274
        | we32k \
268
 
        | x86 | xscale | xstormy16 | xtensa \
 
275
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
269
276
        | z8k)
270
277
                basic_machine=$basic_machine-unknown
271
278
                ;;
 
279
        m32c)
 
280
                basic_machine=$basic_machine-unknown
 
281
                ;;
272
282
        m6811 | m68hc11 | m6812 | m68hc12)
273
283
                # Motorola 68HC11/12.
274
284
                basic_machine=$basic_machine-unknown
296
306
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
297
307
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
298
308
        | avr-* \
299
 
        | bs2000-* \
 
309
        | bfin-* | bs2000-* \
300
310
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
301
 
        | clipper-* | cydra-* \
 
311
        | clipper-* | craynv-* | cydra-* \
302
312
        | d10v-* | d30v-* | dlx-* \
303
313
        | elxsi-* \
304
314
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
305
315
        | h8300-* | h8500-* \
306
316
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
307
317
        | i*86-* | i860-* | i960-* | ia64-* \
308
 
        | ip2k-* \
309
 
        | m32r-* \
 
318
        | ip2k-* | iq2000-* \
 
319
        | m32r-* | m32rle-* \
310
320
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
311
 
        | m88110-* | m88k-* | mcore-* \
 
321
        | m88110-* | m88k-* | maxq-* | mcore-* \
312
322
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
313
323
        | mips16-* \
314
324
        | mips64-* | mips64el-* \
317
327
        | mips64vr4100-* | mips64vr4100el-* \
318
328
        | mips64vr4300-* | mips64vr4300el-* \
319
329
        | mips64vr5000-* | mips64vr5000el-* \
 
330
        | mips64vr5900-* | mips64vr5900el-* \
320
331
        | mipsisa32-* | mipsisa32el-* \
321
332
        | mipsisa32r2-* | mipsisa32r2el-* \
322
333
        | mipsisa64-* | mipsisa64el-* \
 
334
        | mipsisa64r2-* | mipsisa64r2el-* \
323
335
        | mipsisa64sb1-* | mipsisa64sb1el-* \
324
336
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
325
337
        | mipstx39-* | mipstx39el-* \
 
338
        | mmix-* \
 
339
        | ms1-* \
326
340
        | msp430-* \
327
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
341
        | none-* | np1-* | ns16k-* | ns32k-* \
328
342
        | orion-* \
329
343
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
330
344
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
331
345
        | pyramid-* \
332
346
        | romp-* | rs6000-* \
333
 
        | s390-* | s390x-* \
334
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
347
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
335
348
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
336
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
 
349
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
350
        | sparclite-* \
337
351
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
338
352
        | tahoe-* | thumb-* \
339
353
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
340
354
        | tron-* \
341
355
        | v850-* | v850e-* | vax-* \
342
356
        | we32k-* \
343
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
344
 
        | xtensa-* \
 
357
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
358
        | xstormy16-* | xtensa-* \
345
359
        | ymp-* \
346
360
        | z8k-*)
347
361
                ;;
 
362
        m32c-*)
 
363
                ;;
348
364
        # Recognize the various machine names and aliases which stand
349
365
        # for a CPU type and a company and sometimes even an OS.
350
366
        386bsd)
361
377
                basic_machine=a29k-amd
362
378
                os=-udi
363
379
                ;;
 
380
        abacus)
 
381
                basic_machine=abacus-unknown
 
382
                ;;
364
383
        adobe68k)
365
384
                basic_machine=m68010-adobe
366
385
                os=-scout
378
397
        amd64)
379
398
                basic_machine=x86_64-pc
380
399
                ;;
 
400
        amd64-*)
 
401
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
402
                ;;
381
403
        amdahl)
382
404
                basic_machine=580-amdahl
383
405
                os=-sysv
437
459
                basic_machine=j90-cray
438
460
                os=-unicos
439
461
                ;;
 
462
        craynv)
 
463
                basic_machine=craynv-cray
 
464
                os=-unicosmp
 
465
                ;;
 
466
        cr16c)
 
467
                basic_machine=cr16c-unknown
 
468
                os=-elf
 
469
                ;;
440
470
        crds | unos)
441
471
                basic_machine=m68k-crds
442
472
                ;;
 
473
        crisv32 | crisv32-* | etraxfs*)
 
474
                basic_machine=crisv32-axis
 
475
                ;;
443
476
        cris | cris-* | etrax*)
444
477
                basic_machine=cris-axis
445
478
                ;;
 
479
        crx)
 
480
                basic_machine=crx-unknown
 
481
                os=-elf
 
482
                ;;
446
483
        da30 | da30-*)
447
484
                basic_machine=m68k-da30
448
485
                ;;
465
502
                basic_machine=m88k-motorola
466
503
                os=-sysv3
467
504
                ;;
 
505
        djgpp)
 
506
                basic_machine=i586-pc
 
507
                os=-msdosdjgpp
 
508
                ;;
468
509
        dpx20 | dpx20-*)
469
510
                basic_machine=rs6000-bull
470
511
                os=-bosx
643
684
        mips3*)
644
685
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
645
686
                ;;
646
 
        mmix*)
647
 
                basic_machine=mmix-knuth
648
 
                os=-mmixware
649
 
                ;;
650
687
        monitor)
651
688
                basic_machine=m68k-rom68k
652
689
                os=-coff
727
764
        np1)
728
765
                basic_machine=np1-gould
729
766
                ;;
730
 
        nv1)
731
 
                basic_machine=nv1-cray
732
 
                os=-unicosmp
733
 
                ;;
734
767
        nsr-tandem)
735
768
                basic_machine=nsr-tandem
736
769
                ;;
738
771
                basic_machine=hppa1.1-oki
739
772
                os=-proelf
740
773
                ;;
741
 
        or32 | or32-*)
 
774
        openrisc | openrisc-*)
742
775
                basic_machine=or32-unknown
743
 
                os=-coff
 
776
                ;;
 
777
        os400)
 
778
                basic_machine=powerpc-ibm
 
779
                os=-os400
744
780
                ;;
745
781
        OSE68000 | ose68000)
746
782
                basic_machine=m68000-ericsson
833
869
        rtpc | rtpc-*)
834
870
                basic_machine=romp-ibm
835
871
                ;;
 
872
        s390 | s390-*)
 
873
                basic_machine=s390-ibm
 
874
                ;;
 
875
        s390x | s390x-*)
 
876
                basic_machine=s390x-ibm
 
877
                ;;
836
878
        sa29200)
837
879
                basic_machine=a29k-amd
838
880
                os=-udi
956
998
        tower | tower-32)
957
999
                basic_machine=m68k-ncr
958
1000
                ;;
 
1001
        tpf)
 
1002
                basic_machine=s390x-ibm
 
1003
                os=-tpf
 
1004
                ;;
959
1005
        udi29k)
960
1006
                basic_machine=a29k-amd
961
1007
                os=-udi
999
1045
                basic_machine=hppa1.1-winbond
1000
1046
                os=-proelf
1001
1047
                ;;
 
1048
        xbox)
 
1049
                basic_machine=i686-pc
 
1050
                os=-mingw32
 
1051
                ;;
1002
1052
        xps | xps100)
1003
1053
                basic_machine=xps100-honeywell
1004
1054
                ;;
1029
1079
        romp)
1030
1080
                basic_machine=romp-ibm
1031
1081
                ;;
 
1082
        mmix)
 
1083
                basic_machine=mmix-knuth
 
1084
                ;;
1032
1085
        rs6000)
1033
1086
                basic_machine=rs6000-ibm
1034
1087
                ;;
1045
1098
        we32k)
1046
1099
                basic_machine=we32k-att
1047
1100
                ;;
1048
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1101
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1049
1102
                basic_machine=sh-unknown
1050
1103
                ;;
1051
 
        sh64)
1052
 
                basic_machine=sh64-unknown
1053
 
                ;;
1054
1104
        sparc | sparcv8 | sparcv9 | sparcv9b)
1055
1105
                basic_machine=sparc-sun
1056
1106
                ;;
1124
1174
              | -aos* \
1125
1175
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1126
1176
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1127
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1128
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1177
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1178
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1179
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1129
1180
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1130
1181
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1131
1182
              | -chorusos* | -chorusrdb* \
1132
1183
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1133
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1184
              | -mingw32* | -linux* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1134
1185
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1135
1186
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1136
1187
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1137
1188
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1138
1189
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1139
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
 
1190
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1191
              | -skyos* | -haiku*)
1140
1192
        # Remember, each alternative MUST END IN *, to match a version number.
1141
1193
                ;;
1142
1194
        -qnx*)
1154
1206
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1155
1207
                ;;
1156
1208
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1157
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1209
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1158
1210
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1159
1211
                ;;
1160
1212
        -mac*)
1161
1213
                os=`echo $os | sed -e 's|mac|macos|'`
1162
1214
                ;;
1163
 
        -linux*)
1164
 
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
 
1215
        -linux-dietlibc)
 
1216
                os=-linux-dietlibc
1165
1217
                ;;
1166
1218
        -sunos5*)
1167
1219
                os=`echo $os | sed -e 's|sunos5|solaris2|'`
1172
1224
        -opened*)
1173
1225
                os=-openedition
1174
1226
                ;;
 
1227
        -os400*)
 
1228
                os=-os400
 
1229
                ;;
1175
1230
        -wince*)
1176
1231
                os=-wince
1177
1232
                ;;
1193
1248
        -atheos*)
1194
1249
                os=-atheos
1195
1250
                ;;
 
1251
        -syllable*)
 
1252
                os=-syllable
 
1253
                ;;
1196
1254
        -386bsd)
1197
1255
                os=-bsd
1198
1256
                ;;
1215
1273
        -sinix*)
1216
1274
                os=-sysv4
1217
1275
                ;;
 
1276
        -tpf*)
 
1277
                os=-tpf
 
1278
                ;;
1218
1279
        -triton*)
1219
1280
                os=-sysv3
1220
1281
                ;;
1251
1312
        -kaos*)
1252
1313
                os=-kaos
1253
1314
                ;;
 
1315
        -zvmoe)
 
1316
                os=-zvmoe
 
1317
                ;;
1254
1318
        -none)
1255
1319
                ;;
1256
1320
        *)
1282
1346
        arm*-semi)
1283
1347
                os=-aout
1284
1348
                ;;
1285
 
        c4x-* | tic4x-*)
1286
 
                os=-coff
1287
 
                ;;
 
1349
    c4x-* | tic4x-*)
 
1350
        os=-coff
 
1351
        ;;
1288
1352
        # This must come before the *-dec entry.
1289
1353
        pdp10-*)
1290
1354
                os=-tops20
1328
1392
        *-be)
1329
1393
                os=-beos
1330
1394
                ;;
 
1395
        *-haiku)
 
1396
                os=-haiku
 
1397
                ;;
1331
1398
        *-ibm)
1332
1399
                os=-aix
1333
1400
                ;;
 
1401
        *-knuth)
 
1402
                os=-mmixware
 
1403
                ;;
1334
1404
        *-wec)
1335
1405
                os=-proelf
1336
1406
                ;;
1463
1533
                        -mvs* | -opened*)
1464
1534
                                vendor=ibm
1465
1535
                                ;;
 
1536
                        -os400*)
 
1537
                                vendor=ibm
 
1538
                                ;;
1466
1539
                        -ptx*)
1467
1540
                                vendor=sequent
1468
1541
                                ;;
 
1542
                        -tpf*)
 
1543
                                vendor=ibm
 
1544
                                ;;
1469
1545
                        -vxsim* | -vxworks* | -windiss*)
1470
1546
                                vendor=wrs
1471
1547
                                ;;
1490
1566
esac
1491
1567
 
1492
1568
echo $basic_machine$os
1493
 
exit 0
 
1569
exit
1494
1570
 
1495
1571
# Local variables:
1496
1572
# eval: (add-hook 'write-file-hooks 'time-stamp)