~ubuntu-branches/ubuntu/hardy/alsa-plugins/hardy-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-06-12 19:03:08 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070612190308-yhyjw8t4wk7zhte0
Tags: 1.0.14-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/control:
    + Don't build-depend on JACK, as it's in universe.  Clarify and
      update the Description to note the above restriction and
      {in,ex}clusion of newer plugins (LP: #57089),
    + Adhere to DebianMaintainerField.

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 
5
#   Inc.
5
6
 
6
 
timestamp='2005-07-08'
 
7
timestamp='2006-05-13'
7
8
 
8
9
# This file is (in principle) common to ALL GNU software.
9
10
# The presence of a machine in this file suggests that SOME GNU software
119
120
# Here we must recognize all the valid KERNEL-OS combinations.
120
121
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
121
122
case $maybe_os in
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*)
 
123
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
 
124
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
125
  storm-chaos* | os2-emx* | rtmk-nova*)
124
126
    os=-$maybe_os
125
127
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
126
128
    ;;
171
173
        -hiux*)
172
174
                os=-hiuxwe2
173
175
                ;;
 
176
        -sco6)
 
177
                os=-sco5v6
 
178
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
179
                ;;
174
180
        -sco5)
175
181
                os=-sco3.2v5
176
182
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
187
193
                # Don't forget version if it is 3.2v4 or newer.
188
194
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
189
195
                ;;
 
196
        -sco5v6*)
 
197
                # Don't forget version if it is 3.2v4 or newer.
 
198
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
199
                ;;
190
200
        -sco*)
191
201
                os=-sco3.2v2
192
202
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
239
249
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
240
250
        | i370 | i860 | i960 | ia64 \
241
251
        | ip2k | iq2000 \
242
 
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
 
252
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
 
253
        | maxq | mb | microblaze | mcore \
243
254
        | mips | mipsbe | mipseb | mipsel | mipsle \
244
255
        | mips16 \
245
256
        | mips64 | mips64el \
257
268
        | mipsisa64sr71k | mipsisa64sr71kel \
258
269
        | mipstx39 | mipstx39el \
259
270
        | mn10200 | mn10300 \
260
 
        | ms1 \
 
271
        | mt \
261
272
        | msp430 \
 
273
        | nios | nios2 \
262
274
        | ns16k | ns32k \
263
275
        | or32 \
264
276
        | pdp10 | pdp11 | pj | pjl \
265
277
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
266
278
        | pyramid \
267
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
279
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
268
280
        | sh64 | sh64le \
269
 
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
270
 
        | sparcv8 | sparcv9 | sparcv9b \
271
 
        | strongarm \
 
281
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 
282
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
283
        | spu | strongarm \
272
284
        | tahoe | thumb | tic4x | tic80 | tron \
273
285
        | v850 | v850e \
274
286
        | we32k \
276
288
        | z8k)
277
289
                basic_machine=$basic_machine-unknown
278
290
                ;;
279
 
        m32c)
280
 
                basic_machine=$basic_machine-unknown
281
 
                ;;
282
291
        m6811 | m68hc11 | m6812 | m68hc12)
283
292
                # Motorola 68HC11/12.
284
293
                basic_machine=$basic_machine-unknown
286
295
                ;;
287
296
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
288
297
                ;;
 
298
        ms1)
 
299
                basic_machine=mt-unknown
 
300
                ;;
289
301
 
290
302
        # We use `pc' rather than `unknown'
291
303
        # because (1) that's what they normally are, and
316
328
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
317
329
        | i*86-* | i860-* | i960-* | ia64-* \
318
330
        | ip2k-* | iq2000-* \
319
 
        | m32r-* | m32rle-* \
 
331
        | m32c-* | m32r-* | m32rle-* \
320
332
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
321
333
        | m88110-* | m88k-* | maxq-* | mcore-* \
322
334
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
348
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
337
349
        | mipstx39-* | mipstx39el-* \
338
350
        | mmix-* \
339
 
        | ms1-* \
 
351
        | mt-* \
340
352
        | msp430-* \
 
353
        | nios-* | nios2-* \
341
354
        | none-* | np1-* | ns16k-* | ns32k-* \
342
355
        | orion-* \
343
356
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
344
357
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
345
358
        | pyramid-* \
346
359
        | romp-* | rs6000-* \
347
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
360
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
348
361
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
349
 
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
362
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
350
363
        | sparclite-* \
351
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
364
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
352
365
        | tahoe-* | thumb-* \
353
366
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
354
367
        | tron-* \
359
372
        | ymp-* \
360
373
        | z8k-*)
361
374
                ;;
362
 
        m32c-*)
363
 
                ;;
364
375
        # Recognize the various machine names and aliases which stand
365
376
        # for a CPU type and a company and sometimes even an OS.
366
377
        386bsd)
696
707
                basic_machine=i386-pc
697
708
                os=-msdos
698
709
                ;;
 
710
        ms1-*)
 
711
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
712
                ;;
699
713
        mvs)
700
714
                basic_machine=i370-ibm
701
715
                os=-mvs
803
817
        pc532 | pc532-*)
804
818
                basic_machine=ns32k-pc532
805
819
                ;;
 
820
        pc98)
 
821
                basic_machine=i386-pc
 
822
                ;;
 
823
        pc98-*)
 
824
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
825
                ;;
806
826
        pentium | p5 | k5 | k6 | nexgen | viac3)
807
827
                basic_machine=i586-pc
808
828
                ;;
859
879
                basic_machine=i586-unknown
860
880
                os=-pw32
861
881
                ;;
 
882
        rdos)
 
883
                basic_machine=i386-pc
 
884
                os=-rdos
 
885
                ;;
862
886
        rom68k)
863
887
                basic_machine=m68k-rom68k
864
888
                os=-coff
1101
1125
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1102
1126
                basic_machine=sh-unknown
1103
1127
                ;;
1104
 
        sparc | sparcv8 | sparcv9 | sparcv9b)
 
1128
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1105
1129
                basic_machine=sparc-sun
1106
1130
                ;;
1107
1131
        cydra)
1174
1198
              | -aos* \
1175
1199
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1176
1200
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1177
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1201
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
1202
              | -openbsd* | -solidbsd* \
1178
1203
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1179
1204
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1180
1205
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1181
1206
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1182
1207
              | -chorusos* | -chorusrdb* \
1183
1208
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1184
 
              | -mingw32* | -linux* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1209
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1210
              | -uxpv* | -beos* | -mpeix* | -udk* \
1185
1211
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1186
1212
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1187
1213
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1188
1214
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1189
1215
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1190
1216
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1191
 
              | -skyos* | -haiku*)
 
1217
              | -skyos* | -haiku* | -rdos*)
1192
1218
        # Remember, each alternative MUST END IN *, to match a version number.
1193
1219
                ;;
1194
1220
        -qnx*)
1215
1241
        -linux-dietlibc)
1216
1242
                os=-linux-dietlibc
1217
1243
                ;;
 
1244
        -linux*)
 
1245
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
 
1246
                ;;
1218
1247
        -sunos5*)
1219
1248
                os=`echo $os | sed -e 's|sunos5|solaris2|'`
1220
1249
                ;;
1337
1366
# system, and we'll never get to this point.
1338
1367
 
1339
1368
case $basic_machine in
 
1369
        spu-*)
 
1370
                os=-elf
 
1371
                ;;
1340
1372
        *-acorn)
1341
1373
                os=-riscix1.2
1342
1374
                ;;
1346
1378
        arm*-semi)
1347
1379
                os=-aout
1348
1380
                ;;
1349
 
    c4x-* | tic4x-*)
1350
 
        os=-coff
1351
 
        ;;
 
1381
        c4x-* | tic4x-*)
 
1382
                os=-coff
 
1383
                ;;
1352
1384
        # This must come before the *-dec entry.
1353
1385
        pdp10-*)
1354
1386
                os=-tops20