~ubuntu-branches/ubuntu/oneiric/libao/oneiric

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Clint Adams, Adeodato Simó, William Pitcock, Clint Adams
  • Date: 2008-02-08 18:20:30 UTC
  • mfrom: (3.1.5 hardy)
  • Revision ID: james.westby@ubuntu.com-20080208182030-75mzh9xsshrka579
Tags: 0.8.8-4
[ Adeodato Simó ]
* Capitalize ALSA correctly in the long description. (Closes: #432958)

[ William Pitcock ]
* Capitalize ALSA correctly in the long description. (Closes: #432958)
* debian/control, debian/rules: Add debug symbols package libao-dbg.
* debian/patches/01_fix_arts_init_wackyness.patch:
  Fix arts_init() wackyness where on non-KDE systems, it causes _exit()
  to be called in ao_initialize().  (Closes: #464638, #461119, #440040).
* Standards-Version bump; no changes required.

[ Clint Adams ]
* Rename XS-VCS-Bzr header to Vcs-Bzr.

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 
5
#   Inc.
5
6
 
6
 
timestamp='2004-11-30'
 
7
timestamp='2007-01-18'
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
21
22
#
22
23
# You should have received a copy of the GNU General Public License
23
24
# 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
 
 
 
25
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
26
# 02110-1301, USA.
 
27
#
27
28
# As a special exception to the GNU General Public License, if you
28
29
# distribute this file as part of a program that contains a
29
30
# configuration script generated by Autoconf, you may include it under
30
31
# the same distribution terms that you use for the rest of that program.
31
32
 
 
33
 
32
34
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
35
# diff and a properly formatted ChangeLog entry.
34
36
#
70
72
version="\
71
73
GNU config.sub ($timestamp)
72
74
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 
75
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74
76
Free Software Foundation, Inc.
75
77
 
76
78
This is free software; see the source for copying conditions.  There is NO
83
85
while test $# -gt 0 ; do
84
86
  case $1 in
85
87
    --time-stamp | --time* | -t )
86
 
       echo "$timestamp" ; exit 0 ;;
 
88
       echo "$timestamp" ; exit ;;
87
89
    --version | -v )
88
 
       echo "$version" ; exit 0 ;;
 
90
       echo "$version" ; exit ;;
89
91
    --help | --h* | -h )
90
 
       echo "$usage"; exit 0 ;;
 
92
       echo "$usage"; exit ;;
91
93
    -- )     # Stop option processing
92
94
       shift; break ;;
93
95
    - ) # Use stdin as input.
99
101
    *local*)
100
102
       # First pass through any local machine types.
101
103
       echo $1
102
 
       exit 0;;
 
104
       exit ;;
103
105
 
104
106
    * )
105
107
       break ;;
118
120
# Here we must recognize all the valid KERNEL-OS combinations.
119
121
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
122
case $maybe_os in
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*)
 
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*)
123
126
    os=-$maybe_os
124
127
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125
128
    ;;
170
173
        -hiux*)
171
174
                os=-hiuxwe2
172
175
                ;;
 
176
        -sco6)
 
177
                os=-sco5v6
 
178
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
179
                ;;
173
180
        -sco5)
174
181
                os=-sco3.2v5
175
182
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
186
193
                # Don't forget version if it is 3.2v4 or newer.
187
194
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
188
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
                ;;
189
200
        -sco*)
190
201
                os=-sco3.2v2
191
202
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
230
241
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
231
242
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
232
243
        | am33_2.0 \
233
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
244
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
245
        | bfin \
234
246
        | c4x | clipper \
235
 
        | d10v | d30v | dlx | dsp16xx \
236
 
        | fr30 | frv \
 
247
        | d10v | d30v | dlx | dsp16xx | dvp \
 
248
        | fido | fr30 | frv \
237
249
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
238
250
        | i370 | i860 | i960 | ia64 \
239
251
        | ip2k | iq2000 \
240
 
        | m32r | m32rle | m68000 | m68k | m88k | mcore \
 
252
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
 
253
        | maxq | mb | microblaze | mcore | mep \
241
254
        | mips | mipsbe | mipseb | mipsel | mipsle \
242
255
        | mips16 \
243
256
        | mips64 | mips64el \
246
259
        | mips64vr4100 | mips64vr4100el \
247
260
        | mips64vr4300 | mips64vr4300el \
248
261
        | mips64vr5000 | mips64vr5000el \
 
262
        | mips64vr5900 | mips64vr5900el \
249
263
        | mipsisa32 | mipsisa32el \
250
264
        | mipsisa32r2 | mipsisa32r2el \
251
265
        | mipsisa64 | mipsisa64el \
254
268
        | mipsisa64sr71k | mipsisa64sr71kel \
255
269
        | mipstx39 | mipstx39el \
256
270
        | mn10200 | mn10300 \
 
271
        | mt \
257
272
        | msp430 \
 
273
        | nios | nios2 \
258
274
        | ns16k | ns32k \
259
 
        | openrisc | or32 \
 
275
        | or32 \
260
276
        | pdp10 | pdp11 | pj | pjl \
261
277
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
262
278
        | pyramid \
263
 
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
279
        | score \
 
280
        | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
264
281
        | sh64 | sh64le \
265
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
266
 
        | strongarm \
 
282
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 
283
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
284
        | spu | strongarm \
267
285
        | tahoe | thumb | tic4x | tic80 | tron \
268
286
        | v850 | v850e \
269
287
        | we32k \
270
 
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
 
288
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
271
289
        | z8k)
272
290
                basic_machine=$basic_machine-unknown
273
291
                ;;
278
296
                ;;
279
297
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
280
298
                ;;
 
299
        ms1)
 
300
                basic_machine=mt-unknown
 
301
                ;;
281
302
 
282
303
        # We use `pc' rather than `unknown'
283
304
        # because (1) that's what they normally are, and
297
318
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
298
319
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
299
320
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
300
 
        | avr-* \
301
 
        | bs2000-* \
 
321
        | avr-* | avr32-* \
 
322
        | bfin-* | bs2000-* \
302
323
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
303
324
        | clipper-* | craynv-* | cydra-* \
304
325
        | d10v-* | d30v-* | dlx-* \
305
326
        | elxsi-* \
306
 
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
327
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
307
328
        | h8300-* | h8500-* \
308
329
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
309
330
        | i*86-* | i860-* | i960-* | ia64-* \
310
331
        | ip2k-* | iq2000-* \
311
 
        | m32r-* | m32rle-* \
 
332
        | m32c-* | m32r-* | m32rle-* \
312
333
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
313
 
        | m88110-* | m88k-* | mcore-* \
 
334
        | m88110-* | m88k-* | maxq-* | mcore-* \
314
335
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
315
336
        | mips16-* \
316
337
        | mips64-* | mips64el-* \
319
340
        | mips64vr4100-* | mips64vr4100el-* \
320
341
        | mips64vr4300-* | mips64vr4300el-* \
321
342
        | mips64vr5000-* | mips64vr5000el-* \
 
343
        | mips64vr5900-* | mips64vr5900el-* \
322
344
        | mipsisa32-* | mipsisa32el-* \
323
345
        | mipsisa32r2-* | mipsisa32r2el-* \
324
346
        | mipsisa64-* | mipsisa64el-* \
327
349
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
328
350
        | mipstx39-* | mipstx39el-* \
329
351
        | mmix-* \
 
352
        | mt-* \
330
353
        | msp430-* \
 
354
        | nios-* | nios2-* \
331
355
        | none-* | np1-* | ns16k-* | ns32k-* \
332
356
        | orion-* \
333
357
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
334
358
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
335
359
        | pyramid-* \
336
360
        | romp-* | rs6000-* \
337
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
361
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
338
362
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
339
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
340
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
363
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
364
        | sparclite-* \
 
365
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
341
366
        | tahoe-* | thumb-* \
342
367
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
343
368
        | tron-* \
344
369
        | v850-* | v850e-* | vax-* \
345
370
        | we32k-* \
346
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
371
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
347
372
        | xstormy16-* | xtensa-* \
348
373
        | ymp-* \
349
374
        | z8k-*)
665
690
                basic_machine=m68k-atari
666
691
                os=-mint
667
692
                ;;
 
693
        mipsEE* | ee | ps2)
 
694
                basic_machine=mips64r5900el-scei
 
695
                case $os in
 
696
                    -linux*)
 
697
                        ;;
 
698
                    *)
 
699
                        os=-elf
 
700
                        ;;
 
701
                esac
 
702
                ;;
 
703
        iop)
 
704
                basic_machine=mipsel-scei
 
705
                os=-irx
 
706
                ;;
 
707
        dvp)
 
708
                basic_machine=dvp-scei
 
709
                os=-elf
 
710
                ;;
668
711
        mips3*-*)
669
712
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
670
713
                ;;
683
726
                basic_machine=i386-pc
684
727
                os=-msdos
685
728
                ;;
 
729
        ms1-*)
 
730
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
731
                ;;
686
732
        mvs)
687
733
                basic_machine=i370-ibm
688
734
                os=-mvs
758
804
                basic_machine=hppa1.1-oki
759
805
                os=-proelf
760
806
                ;;
761
 
        or32 | or32-*)
 
807
        openrisc | openrisc-*)
762
808
                basic_machine=or32-unknown
763
 
                os=-coff
764
809
                ;;
765
810
        os400)
766
811
                basic_machine=powerpc-ibm
791
836
        pc532 | pc532-*)
792
837
                basic_machine=ns32k-pc532
793
838
                ;;
 
839
        pc98)
 
840
                basic_machine=i386-pc
 
841
                ;;
 
842
        pc98-*)
 
843
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
844
                ;;
794
845
        pentium | p5 | k5 | k6 | nexgen | viac3)
795
846
                basic_machine=i586-pc
796
847
                ;;
847
898
                basic_machine=i586-unknown
848
899
                os=-pw32
849
900
                ;;
 
901
        rdos)
 
902
                basic_machine=i386-pc
 
903
                os=-rdos
 
904
                ;;
850
905
        rom68k)
851
906
                basic_machine=m68k-rom68k
852
907
                os=-coff
873
928
        sb1el)
874
929
                basic_machine=mipsisa64sb1el-unknown
875
930
                ;;
 
931
        sde)
 
932
                basic_machine=mipsisa32-sde
 
933
                os=-elf
 
934
                ;;
876
935
        sei)
877
936
                basic_machine=mips-sei
878
937
                os=-seiux
884
943
                basic_machine=sh-hitachi
885
944
                os=-hms
886
945
                ;;
 
946
        sh5el)
 
947
                basic_machine=sh5le-unknown
 
948
                ;;
887
949
        sh64)
888
950
                basic_machine=sh64-unknown
889
951
                ;;
1086
1148
        we32k)
1087
1149
                basic_machine=we32k-att
1088
1150
                ;;
1089
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1151
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1090
1152
                basic_machine=sh-unknown
1091
1153
                ;;
1092
 
        sh64)
1093
 
                basic_machine=sh64-unknown
1094
 
                ;;
1095
 
        sparc | sparcv8 | sparcv9 | sparcv9b)
 
1154
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1096
1155
                basic_machine=sparc-sun
1097
1156
                ;;
1098
1157
        cydra)
1165
1224
              | -aos* \
1166
1225
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1167
1226
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1168
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1227
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
1228
              | -openbsd* | -solidbsd* \
1169
1229
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1170
1230
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1171
1231
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1172
1232
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1173
1233
              | -chorusos* | -chorusrdb* \
1174
1234
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1175
 
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1235
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1236
              | -uxpv* | -beos* | -mpeix* | -udk* \
1176
1237
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1177
1238
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1178
1239
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1179
1240
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1180
1241
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1181
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 
1242
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1243
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
1182
1244
        # Remember, each alternative MUST END IN *, to match a version number.
1183
1245
                ;;
1184
1246
        -qnx*)
1196
1258
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1197
1259
                ;;
1198
1260
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1199
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1261
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1200
1262
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1201
1263
                ;;
1202
1264
        -mac*)
1330
1392
# system, and we'll never get to this point.
1331
1393
 
1332
1394
case $basic_machine in
 
1395
        score-*)
 
1396
                os=-elf
 
1397
                ;;
 
1398
        spu-*)
 
1399
                os=-elf
 
1400
                ;;
1333
1401
        *-acorn)
1334
1402
                os=-riscix1.2
1335
1403
                ;;
1339
1407
        arm*-semi)
1340
1408
                os=-aout
1341
1409
                ;;
1342
 
    c4x-* | tic4x-*)
1343
 
        os=-coff
1344
 
        ;;
 
1410
        c4x-* | tic4x-*)
 
1411
                os=-coff
 
1412
                ;;
1345
1413
        # This must come before the *-dec entry.
1346
1414
        pdp10-*)
1347
1415
                os=-tops20
1367
1435
        m68*-cisco)
1368
1436
                os=-aout
1369
1437
                ;;
 
1438
        mep-*)
 
1439
                os=-elf
 
1440
                ;;
1370
1441
        mips*-cisco)
1371
1442
                os=-elf
1372
1443
                ;;
1385
1456
        *-be)
1386
1457
                os=-beos
1387
1458
                ;;
 
1459
        *-haiku)
 
1460
                os=-haiku
 
1461
                ;;
1388
1462
        *-ibm)
1389
1463
                os=-aix
1390
1464
                ;;
1556
1630
esac
1557
1631
 
1558
1632
echo $basic_machine$os
1559
 
exit 0
 
1633
exit
1560
1634
 
1561
1635
# Local variables:
1562
1636
# eval: (add-hook 'write-file-hooks 'time-stamp)