~ubuntu-branches/ubuntu/gutsy/audacity/gutsy

« back to all changes in this revision

Viewing changes to lib-src/libsndfile/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2007-05-17 02:36:41 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517023641-5yjqt9434cbcb6ph
Tags: 1.3.2-4
* debian/patches:
   - desktop_file.patch: fixed broken Category entry
* debian/audacity.mime:
   - added entry for application/x-audacity-project

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 Free Software Foundation, Inc.
6
5
 
7
 
timestamp='2006-02-27'
 
6
timestamp='2005-04-22'
8
7
 
9
8
# This file is (in principle) common to ALL GNU software.
10
9
# The presence of a machine in this file suggests that SOME GNU software
22
21
#
23
22
# You should have received a copy of the GNU General Public License
24
23
# along with this program; if not, write to the Free Software
25
 
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26
 
# 02110-1301, USA.
27
 
#
 
24
# Foundation, Inc., 59 Temple Place - Suite 330,
 
25
# Boston, MA 02111-1307, USA.
 
26
 
28
27
# As a special exception to the GNU General Public License, if you
29
28
# distribute this file as part of a program that contains a
30
29
# configuration script generated by Autoconf, you may include it under
31
30
# the same distribution terms that you use for the rest of that program.
32
31
 
33
 
 
34
32
# Please send patches to <config-patches@gnu.org>.  Submit a context
35
33
# diff and a properly formatted ChangeLog entry.
36
34
#
85
83
while test $# -gt 0 ; do
86
84
  case $1 in
87
85
    --time-stamp | --time* | -t )
88
 
       echo "$timestamp" ; exit ;;
 
86
       echo "$timestamp" ; exit 0 ;;
89
87
    --version | -v )
90
 
       echo "$version" ; exit ;;
 
88
       echo "$version" ; exit 0 ;;
91
89
    --help | --h* | -h )
92
 
       echo "$usage"; exit ;;
 
90
       echo "$usage"; exit 0 ;;
93
91
    -- )     # Stop option processing
94
92
       shift; break ;;
95
93
    - ) # Use stdin as input.
101
99
    *local*)
102
100
       # First pass through any local machine types.
103
101
       echo $1
104
 
       exit ;;
 
102
       exit 0;;
105
103
 
106
104
    * )
107
105
       break ;;
120
118
# Here we must recognize all the valid KERNEL-OS combinations.
121
119
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122
120
case $maybe_os in
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*)
 
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*)
126
123
    os=-$maybe_os
127
124
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
128
125
    ;;
173
170
        -hiux*)
174
171
                os=-hiuxwe2
175
172
                ;;
176
 
        -sco6)
177
 
                os=-sco5v6
178
 
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
179
 
                ;;
180
173
        -sco5)
181
174
                os=-sco3.2v5
182
175
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
193
186
                # Don't forget version if it is 3.2v4 or newer.
194
187
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
195
188
                ;;
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
 
                ;;
200
189
        -sco*)
201
190
                os=-sco3.2v2
202
191
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
244
233
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
245
234
        | bfin \
246
235
        | c4x | clipper \
247
 
        | d10v | d30v | dlx | dsp16xx | dvp \
 
236
        | d10v | d30v | dlx | dsp16xx \
248
237
        | fr30 | frv \
249
238
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
239
        | i370 | i860 | i960 | ia64 \
251
240
        | ip2k | iq2000 \
252
 
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
 
241
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
253
242
        | mips | mipsbe | mipseb | mipsel | mipsle \
254
243
        | mips16 \
255
244
        | mips64 | mips64el \
258
247
        | mips64vr4100 | mips64vr4100el \
259
248
        | mips64vr4300 | mips64vr4300el \
260
249
        | mips64vr5000 | mips64vr5000el \
261
 
        | mips64vr5900 | mips64vr5900el \
262
250
        | mipsisa32 | mipsisa32el \
263
251
        | mipsisa32r2 | mipsisa32r2el \
264
252
        | mipsisa64 | mipsisa64el \
267
255
        | mipsisa64sr71k | mipsisa64sr71kel \
268
256
        | mipstx39 | mipstx39el \
269
257
        | mn10200 | mn10300 \
270
 
        | mt \
271
258
        | msp430 \
272
 
        | nios | nios2 \
273
259
        | ns16k | ns32k \
274
 
        | or32 \
 
260
        | openrisc | or32 \
275
261
        | pdp10 | pdp11 | pj | pjl \
276
262
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
277
263
        | pyramid \
278
 
        | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | shbe | sheb | shle | sh[1234]le | sh3ele \
 
264
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
279
265
        | sh64 | sh64le \
280
 
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
281
 
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
266
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
267
        | sparcv8 | sparcv9 | sparcv9b \
282
268
        | strongarm \
283
269
        | tahoe | thumb | tic4x | tic80 | tron \
284
270
        | v850 | v850e \
287
273
        | z8k)
288
274
                basic_machine=$basic_machine-unknown
289
275
                ;;
290
 
        m32c)
291
 
                basic_machine=$basic_machine-unknown
292
 
                ;;
293
276
        m6811 | m68hc11 | m6812 | m68hc12)
294
277
                # Motorola 68HC11/12.
295
278
                basic_machine=$basic_machine-unknown
297
280
                ;;
298
281
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
299
282
                ;;
300
 
        ms1)
301
 
                basic_machine=mt-unknown
302
 
                ;;
303
283
 
304
284
        # We use `pc' rather than `unknown'
305
285
        # because (1) that's what they normally are, and
341
321
        | mips64vr4100-* | mips64vr4100el-* \
342
322
        | mips64vr4300-* | mips64vr4300el-* \
343
323
        | mips64vr5000-* | mips64vr5000el-* \
344
 
        | mips64vr5900-* | mips64vr5900el-* \
345
324
        | mipsisa32-* | mipsisa32el-* \
346
325
        | mipsisa32r2-* | mipsisa32r2el-* \
347
326
        | mipsisa64-* | mipsisa64el-* \
350
329
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
351
330
        | mipstx39-* | mipstx39el-* \
352
331
        | mmix-* \
353
 
        | mt-* \
354
332
        | msp430-* \
355
 
        | nios-* | nios2-* \
356
333
        | none-* | np1-* | ns16k-* | ns32k-* \
357
334
        | orion-* \
358
335
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
359
336
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
360
337
        | pyramid-* \
361
338
        | romp-* | rs6000-* \
362
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | shbe-* | sheb-* \
 
339
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
363
340
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
364
 
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
341
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
365
342
        | sparclite-* \
366
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 
343
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
367
344
        | tahoe-* | thumb-* \
368
345
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
369
346
        | tron-* \
374
351
        | ymp-* \
375
352
        | z8k-*)
376
353
                ;;
377
 
        m32c-*)
378
 
                ;;
379
354
        # Recognize the various machine names and aliases which stand
380
355
        # for a CPU type and a company and sometimes even an OS.
381
356
        386bsd)
693
668
                basic_machine=m68k-atari
694
669
                os=-mint
695
670
                ;;
696
 
        mipsEE* | ee | ps2)
697
 
                basic_machine=mips64r5900el-scei
698
 
                case $os in
699
 
                    -linux*)
700
 
                        ;;
701
 
                    *)
702
 
                        os=-elf
703
 
                        ;;
704
 
                esac
705
 
                ;;
706
 
        iop)
707
 
                basic_machine=mipsel-scei
708
 
                os=-irx
709
 
                ;;
710
 
        dvp)
711
 
                basic_machine=dvp-scei
712
 
                os=-elf
713
 
                ;;
714
671
        mips3*-*)
715
672
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
716
673
                ;;
729
686
                basic_machine=i386-pc
730
687
                os=-msdos
731
688
                ;;
732
 
        ms1-*)
733
 
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
734
 
                ;;
735
689
        mvs)
736
690
                basic_machine=i370-ibm
737
691
                os=-mvs
807
761
                basic_machine=hppa1.1-oki
808
762
                os=-proelf
809
763
                ;;
810
 
        openrisc | openrisc-*)
 
764
        or32 | or32-*)
811
765
                basic_machine=or32-unknown
 
766
                os=-coff
812
767
                ;;
813
768
        os400)
814
769
                basic_machine=powerpc-ibm
839
794
        pc532 | pc532-*)
840
795
                basic_machine=ns32k-pc532
841
796
                ;;
842
 
        pc98)
843
 
                basic_machine=i386-pc
844
 
                ;;
845
 
        pc98-*)
846
 
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
847
 
                ;;
848
797
        pentium | p5 | k5 | k6 | nexgen | viac3)
849
798
                basic_machine=i586-pc
850
799
                ;;
901
850
                basic_machine=i586-unknown
902
851
                os=-pw32
903
852
                ;;
904
 
        rdos)
905
 
                basic_machine=i386-pc
906
 
                os=-rdos
907
 
                ;;
908
853
        rom68k)
909
854
                basic_machine=m68k-rom68k
910
855
                os=-coff
1144
1089
        we32k)
1145
1090
                basic_machine=we32k-att
1146
1091
                ;;
1147
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1092
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1148
1093
                basic_machine=sh-unknown
1149
1094
                ;;
1150
 
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 
1095
        sh64)
 
1096
                basic_machine=sh64-unknown
 
1097
                ;;
 
1098
        sparc | sparcv8 | sparcv9 | sparcv9b)
1151
1099
                basic_machine=sparc-sun
1152
1100
                ;;
1153
1101
        cydra)
1220
1168
              | -aos* \
1221
1169
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1222
1170
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1223
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1224
 
              | -openbsd* | -solidbsd* \
 
1171
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1225
1172
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1226
1173
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1227
1174
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1228
1175
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1229
1176
              | -chorusos* | -chorusrdb* \
1230
1177
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1231
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1232
 
              | -uxpv* | -beos* | -mpeix* | -udk* \
 
1178
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1233
1179
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1234
1180
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1235
1181
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1236
1182
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1237
1183
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1238
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1239
 
              | -skyos* | -haiku* | -rdos* | -irx*)
 
1184
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1240
1185
        # Remember, each alternative MUST END IN *, to match a version number.
1241
1186
                ;;
1242
1187
        -qnx*)
1254
1199
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1255
1200
                ;;
1256
1201
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1257
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 
1202
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1258
1203
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1259
1204
                ;;
1260
1205
        -mac*)
1443
1388
        *-be)
1444
1389
                os=-beos
1445
1390
                ;;
1446
 
        *-haiku)
1447
 
                os=-haiku
1448
 
                ;;
1449
1391
        *-ibm)
1450
1392
                os=-aix
1451
1393
                ;;
1617
1559
esac
1618
1560
 
1619
1561
echo $basic_machine$os
1620
 
exit
 
1562
exit 0
1621
1563
 
1622
1564
# Local variables:
1623
1565
# eval: (add-hook 'write-file-hooks 'time-stamp)