~ubuntu-branches/ubuntu/karmic/asterisk/karmic

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Jean-Michel Dault, Faidon Liambotis, Tzafrir Cohen
  • Date: 2009-08-20 03:40:08 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090820034008-rg2s51o9ruqvmwml
Tags: 1:1.6.2.0~dfsg~beta4-0ubuntu1
* Merge from Debian.
  - Lsb patches dropped: fixed upstream
  - Patch for LP #350732 dropped: fixed upstream
* Added:
  - Add support for web interface
  - Don't enable voicetronix cards by default
  - Chown /dev/dahdi in init script
  - Add files for potential backports
  - Change maintainer
  - Standards version 3.8.3

* Debian changes

 [ Faidon Liambotis ]
 * Fix FTBFS on armel. (Closes: #532971)

 [ Tzafrir Cohen ]
 * New upstream beta.
 * Patch hardware_dtmf_mute_fix removed: Applied upstream.
 * No need for a separate app_directory_odbc (will use app_voicemail_odbc).
 * Fix name of voicemail 'openssl' dep. (Thomas Renard) (Closes: #539150)

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, 2009
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2006-03-07'
 
7
timestamp='2009-06-11'
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."
122
122
case $maybe_os in
123
123
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
124
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
125
  kopensolaris*-gnu* | \
125
126
  storm-chaos* | os2-emx* | rtmk-nova*)
126
127
    os=-$maybe_os
127
128
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
152
153
                os=
153
154
                basic_machine=$1
154
155
                ;;
 
156
        -bluegene*)
 
157
                os=-cnk
 
158
                ;;
155
159
        -sim | -cisco | -oki | -wec | -winbond)
156
160
                os=
157
161
                basic_machine=$1
241
245
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
242
246
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
243
247
        | am33_2.0 \
244
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
248
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
245
249
        | bfin \
246
250
        | c4x | clipper \
247
251
        | d10v | d30v | dlx | dsp16xx \
248
 
        | fr30 | frv \
 
252
        | fido | fr30 | frv \
249
253
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
254
        | i370 | i860 | i960 | ia64 \
251
255
        | ip2k | iq2000 \
252
 
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
 
256
        | lm32 \
 
257
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
 
258
        | maxq | mb | microblaze | mcore | mep | metag \
253
259
        | mips | mipsbe | mipseb | mipsel | mipsle \
254
260
        | mips16 \
255
261
        | mips64 | mips64el \
 
262
        | mips64octeon | mips64octeonel \
 
263
        | mips64orion | mips64orionel \
 
264
        | mips64r5900 | mips64r5900el \
256
265
        | mips64vr | mips64vrel \
257
 
        | mips64orion | mips64orionel \
258
266
        | mips64vr4100 | mips64vr4100el \
259
267
        | mips64vr4300 | mips64vr4300el \
260
268
        | mips64vr5000 | mips64vr5000el \
267
275
        | mipsisa64sr71k | mipsisa64sr71kel \
268
276
        | mipstx39 | mipstx39el \
269
277
        | mn10200 | mn10300 \
 
278
        | moxie \
270
279
        | mt \
271
280
        | msp430 \
272
281
        | nios | nios2 \
275
284
        | pdp10 | pdp11 | pj | pjl \
276
285
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
277
286
        | pyramid \
278
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
287
        | score \
 
288
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
279
289
        | sh64 | sh64le \
280
290
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
281
291
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
282
 
        | strongarm \
 
292
        | spu | strongarm \
283
293
        | tahoe | thumb | tic4x | tic80 | tron \
284
294
        | v850 | v850e \
285
295
        | we32k \
286
 
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
287
 
        | z8k)
288
 
                basic_machine=$basic_machine-unknown
289
 
                ;;
290
 
        m32c)
 
296
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
297
        | z8k | z80)
291
298
                basic_machine=$basic_machine-unknown
292
299
                ;;
293
300
        m6811 | m68hc11 | m6812 | m68hc12)
319
326
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
320
327
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
321
328
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
322
 
        | avr-* \
 
329
        | avr-* | avr32-* \
323
330
        | bfin-* | bs2000-* \
324
331
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
325
332
        | clipper-* | craynv-* | cydra-* \
326
333
        | d10v-* | d30v-* | dlx-* \
327
334
        | elxsi-* \
328
 
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
335
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
329
336
        | h8300-* | h8500-* \
330
337
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
331
338
        | i*86-* | i860-* | i960-* | ia64-* \
332
339
        | ip2k-* | iq2000-* \
333
 
        | m32r-* | m32rle-* \
 
340
        | lm32-* \
 
341
        | m32c-* | m32r-* | m32rle-* \
334
342
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
335
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
343
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
336
344
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
337
345
        | mips16-* \
338
346
        | mips64-* | mips64el-* \
 
347
        | mips64octeon-* | mips64octeonel-* \
 
348
        | mips64orion-* | mips64orionel-* \
 
349
        | mips64r5900-* | mips64r5900el-* \
339
350
        | mips64vr-* | mips64vrel-* \
340
 
        | mips64orion-* | mips64orionel-* \
341
351
        | mips64vr4100-* | mips64vr4100el-* \
342
352
        | mips64vr4300-* | mips64vr4300el-* \
343
353
        | mips64vr5000-* | mips64vr5000el-* \
359
369
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
360
370
        | pyramid-* \
361
371
        | romp-* | rs6000-* \
362
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
372
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
363
373
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
364
374
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
365
375
        | sparclite-* \
366
376
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
367
377
        | tahoe-* | thumb-* \
368
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
378
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
369
379
        | tron-* \
370
380
        | v850-* | v850e-* | vax-* \
371
381
        | we32k-* \
372
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
373
 
        | xstormy16-* | xtensa-* \
 
382
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
383
        | xstormy16-* | xtensa*-* \
374
384
        | ymp-* \
375
 
        | z8k-*)
 
385
        | z8k-* | z80-*)
376
386
                ;;
377
 
        m32c-*)
 
387
        # Recognize the basic CPU types without company name, with glob match.
 
388
        xtensa*)
 
389
                basic_machine=$basic_machine-unknown
378
390
                ;;
379
391
        # Recognize the various machine names and aliases which stand
380
392
        # for a CPU type and a company and sometimes even an OS.
438
450
                basic_machine=m68k-apollo
439
451
                os=-bsd
440
452
                ;;
 
453
        aros)
 
454
                basic_machine=i386-pc
 
455
                os=-aros
 
456
                ;;
441
457
        aux)
442
458
                basic_machine=m68k-apple
443
459
                os=-aux
446
462
                basic_machine=ns32k-sequent
447
463
                os=-dynix
448
464
                ;;
 
465
        blackfin)
 
466
                basic_machine=bfin-unknown
 
467
                os=-linux
 
468
                ;;
 
469
        blackfin-*)
 
470
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 
471
                os=-linux
 
472
                ;;
 
473
        bluegene*)
 
474
                basic_machine=powerpc-ibm
 
475
                os=-cnk
 
476
                ;;
449
477
        c90)
450
478
                basic_machine=c90-cray
451
479
                os=-unicos
452
480
                ;;
 
481
        cegcc)
 
482
                basic_machine=arm-unknown
 
483
                os=-cegcc
 
484
                ;;
453
485
        convex-c1)
454
486
                basic_machine=c1-convex
455
487
                os=-bsd
478
510
                basic_machine=craynv-cray
479
511
                os=-unicosmp
480
512
                ;;
481
 
        cr16c)
482
 
                basic_machine=cr16c-unknown
 
513
        cr16)
 
514
                basic_machine=cr16-unknown
483
515
                os=-elf
484
516
                ;;
485
517
        crds | unos)
517
549
                basic_machine=m88k-motorola
518
550
                os=-sysv3
519
551
                ;;
 
552
        dicos)
 
553
                basic_machine=i686-pc
 
554
                os=-dicos
 
555
                ;;
520
556
        djgpp)
521
557
                basic_machine=i586-pc
522
558
                os=-msdosdjgpp
671
707
                basic_machine=m68k-isi
672
708
                os=-sysv
673
709
                ;;
 
710
        m68knommu)
 
711
                basic_machine=m68k-unknown
 
712
                os=-linux
 
713
                ;;
 
714
        m68knommu-*)
 
715
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 
716
                os=-linux
 
717
                ;;
674
718
        m88k-omron*)
675
719
                basic_machine=m88k-omron
676
720
                ;;
686
730
                basic_machine=i386-pc
687
731
                os=-mingw32
688
732
                ;;
 
733
        mingw32ce)
 
734
                basic_machine=arm-unknown
 
735
                os=-mingw32ce
 
736
                ;;
689
737
        miniframe)
690
738
                basic_machine=m68000-convergent
691
739
                ;;
812
860
                basic_machine=i860-intel
813
861
                os=-osf
814
862
                ;;
 
863
        parisc)
 
864
                basic_machine=hppa-unknown
 
865
                os=-linux
 
866
                ;;
 
867
        parisc-*)
 
868
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 
869
                os=-linux
 
870
                ;;
815
871
        pbd)
816
872
                basic_machine=sparc-tti
817
873
                ;;
913
969
        sb1el)
914
970
                basic_machine=mipsisa64sb1el-unknown
915
971
                ;;
 
972
        sde)
 
973
                basic_machine=mipsisa32-sde
 
974
                os=-elf
 
975
                ;;
916
976
        sei)
917
977
                basic_machine=mips-sei
918
978
                os=-seiux
924
984
                basic_machine=sh-hitachi
925
985
                os=-hms
926
986
                ;;
 
987
        sh5el)
 
988
                basic_machine=sh5le-unknown
 
989
                ;;
927
990
        sh64)
928
991
                basic_machine=sh64-unknown
929
992
                ;;
1013
1076
                basic_machine=tic6x-unknown
1014
1077
                os=-coff
1015
1078
                ;;
 
1079
        tile*)
 
1080
                basic_machine=tile-unknown
 
1081
                os=-linux-gnu
 
1082
                ;;
1016
1083
        tx39)
1017
1084
                basic_machine=mipstx39-unknown
1018
1085
                ;;
1088
1155
                basic_machine=z8k-unknown
1089
1156
                os=-sim
1090
1157
                ;;
 
1158
        z80-*-coff)
 
1159
                basic_machine=z80-unknown
 
1160
                os=-sim
 
1161
                ;;
1091
1162
        none)
1092
1163
                basic_machine=none-none
1093
1164
                os=-none
1126
1197
        we32k)
1127
1198
                basic_machine=we32k-att
1128
1199
                ;;
1129
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1200
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1130
1201
                basic_machine=sh-unknown
1131
1202
                ;;
1132
1203
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1196
1267
        # Each alternative MUST END IN A *, to match a version number.
1197
1268
        # -sysv* is not here because it comes later, after sysvr4.
1198
1269
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1199
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
 
1270
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1200
1271
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
1272
              | -kopensolaris* \
1201
1273
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1202
 
              | -aos* \
 
1274
              | -aos* | -aros* \
1203
1275
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1204
1276
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1205
1277
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1208
1280
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1209
1281
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1210
1282
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1211
 
              | -chorusos* | -chorusrdb* \
 
1283
              | -chorusos* | -chorusrdb* | -cegcc* \
1212
1284
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1213
1285
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1214
1286
              | -uxpv* | -beos* | -mpeix* | -udk* \
1218
1290
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1219
1291
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1220
1292
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1221
 
              | -skyos* | -haiku* | -rdos*)
 
1293
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1222
1294
        # Remember, each alternative MUST END IN *, to match a version number.
1223
1295
                ;;
1224
1296
        -qnx*)
1348
1420
        -zvmoe)
1349
1421
                os=-zvmoe
1350
1422
                ;;
 
1423
        -dicos*)
 
1424
                os=-dicos
 
1425
                ;;
1351
1426
        -none)
1352
1427
                ;;
1353
1428
        *)
1370
1445
# system, and we'll never get to this point.
1371
1446
 
1372
1447
case $basic_machine in
 
1448
        score-*)
 
1449
                os=-elf
 
1450
                ;;
 
1451
        spu-*)
 
1452
                os=-elf
 
1453
                ;;
1373
1454
        *-acorn)
1374
1455
                os=-riscix1.2
1375
1456
                ;;
1379
1460
        arm*-semi)
1380
1461
                os=-aout
1381
1462
                ;;
1382
 
    c4x-* | tic4x-*)
1383
 
        os=-coff
1384
 
        ;;
 
1463
        c4x-* | tic4x-*)
 
1464
                os=-coff
 
1465
                ;;
1385
1466
        # This must come before the *-dec entry.
1386
1467
        pdp10-*)
1387
1468
                os=-tops20
1407
1488
        m68*-cisco)
1408
1489
                os=-aout
1409
1490
                ;;
 
1491
        mep-*)
 
1492
                os=-elf
 
1493
                ;;
1410
1494
        mips*-cisco)
1411
1495
                os=-elf
1412
1496
                ;;
1536
1620
                        -sunos*)
1537
1621
                                vendor=sun
1538
1622
                                ;;
1539
 
                        -aix*)
 
1623
                        -cnk*|-aix*)
1540
1624
                                vendor=ibm
1541
1625
                                ;;
1542
1626
                        -beos*)