~ubuntu-branches/ubuntu/wily/libgpg-error/wily

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Jose Carlos Garcia Sogo
  • Date: 2006-11-12 12:30:46 UTC
  • Revision ID: james.westby@ubuntu.com-20061112123046-h8cd11q5f9zjsojz
Tags: 1.4-2
Fix build-dependencies and dependencies (Closes: #397932)

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