~ubuntu-branches/ubuntu/trusty/sblim-sfcb/trusty-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-06-08 12:04:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090608120449-byfplk09rqz8rtg6
Tags: 1.3.3-0ubuntu1
* New upstream release.
* debian/rules: Removed rpath hacks, SFCB default build handles that now.
* Removed 1934753-remove-assignment.diff, now upstream.
* Refreshed patch cim-schema-location.diff

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, 2007, 2008
 
5
#   Free Software Foundation, Inc.
5
6
 
6
 
timestamp='2005-07-08'
 
7
timestamp='2008-01-16'
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
71
72
version="\
72
73
GNU config.sub ($timestamp)
73
74
 
74
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
75
 
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.
76
77
 
77
78
This is free software; see the source for copying conditions.  There is NO
78
79
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
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/'`
231
241
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
232
242
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
233
243
        | am33_2.0 \
234
 
        | 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 \
235
245
        | bfin \
236
246
        | c4x | clipper \
237
247
        | d10v | d30v | dlx | dsp16xx \
238
 
        | fr30 | frv \
 
248
        | fido | fr30 | frv \
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 | mep \
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
        | score \
 
280
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
268
281
        | sh64 | sh64le \
269
 
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
270
 
        | sparcv8 | sparcv9 | sparcv9b \
271
 
        | strongarm \
 
282
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 
283
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
284
        | spu | strongarm \
272
285
        | tahoe | thumb | tic4x | tic80 | tron \
273
286
        | v850 | v850e \
274
287
        | we32k \
275
 
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
 
288
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
276
289
        | z8k)
277
290
                basic_machine=$basic_machine-unknown
278
291
                ;;
279
 
        m32c)
280
 
                basic_machine=$basic_machine-unknown
281
 
                ;;
282
292
        m6811 | m68hc11 | m6812 | m68hc12)
283
293
                # Motorola 68HC11/12.
284
294
                basic_machine=$basic_machine-unknown
286
296
                ;;
287
297
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
288
298
                ;;
 
299
        ms1)
 
300
                basic_machine=mt-unknown
 
301
                ;;
289
302
 
290
303
        # We use `pc' rather than `unknown'
291
304
        # because (1) that's what they normally are, and
305
318
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
306
319
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
307
320
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
308
 
        | avr-* \
 
321
        | avr-* | avr32-* \
309
322
        | bfin-* | bs2000-* \
310
323
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
311
324
        | clipper-* | craynv-* | cydra-* \
312
325
        | d10v-* | d30v-* | dlx-* \
313
326
        | elxsi-* \
314
 
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
327
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
315
328
        | h8300-* | h8500-* \
316
329
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
317
330
        | i*86-* | i860-* | i960-* | ia64-* \
318
331
        | ip2k-* | iq2000-* \
319
 
        | m32r-* | m32rle-* \
 
332
        | m32c-* | m32r-* | m32rle-* \
320
333
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
321
334
        | m88110-* | m88k-* | maxq-* | mcore-* \
322
335
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
349
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
337
350
        | mipstx39-* | mipstx39el-* \
338
351
        | mmix-* \
339
 
        | ms1-* \
 
352
        | mt-* \
340
353
        | msp430-* \
 
354
        | nios-* | nios2-* \
341
355
        | none-* | np1-* | ns16k-* | ns32k-* \
342
356
        | orion-* \
343
357
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
344
358
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
345
359
        | pyramid-* \
346
360
        | romp-* | rs6000-* \
347
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
361
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
348
362
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
349
 
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
363
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
350
364
        | sparclite-* \
351
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
365
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
352
366
        | tahoe-* | thumb-* \
353
367
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
354
368
        | tron-* \
355
369
        | v850-* | v850e-* | vax-* \
356
370
        | we32k-* \
357
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
358
 
        | xstormy16-* | xtensa-* \
 
371
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
372
        | xstormy16-* | xtensa*-* \
359
373
        | ymp-* \
360
374
        | z8k-*)
361
375
                ;;
362
 
        m32c-*)
 
376
        # Recognize the basic CPU types without company name, with glob match.
 
377
        xtensa*)
 
378
                basic_machine=$basic_machine-unknown
363
379
                ;;
364
380
        # Recognize the various machine names and aliases which stand
365
381
        # for a CPU type and a company and sometimes even an OS.
431
447
                basic_machine=ns32k-sequent
432
448
                os=-dynix
433
449
                ;;
 
450
        blackfin)
 
451
                basic_machine=bfin-unknown
 
452
                os=-linux
 
453
                ;;
 
454
        blackfin-*)
 
455
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 
456
                os=-linux
 
457
                ;;
434
458
        c90)
435
459
                basic_machine=c90-cray
436
460
                os=-unicos
463
487
                basic_machine=craynv-cray
464
488
                os=-unicosmp
465
489
                ;;
466
 
        cr16c)
467
 
                basic_machine=cr16c-unknown
 
490
        cr16)
 
491
                basic_machine=cr16-unknown
468
492
                os=-elf
469
493
                ;;
470
494
        crds | unos)
656
680
                basic_machine=m68k-isi
657
681
                os=-sysv
658
682
                ;;
 
683
        m68knommu)
 
684
                basic_machine=m68k-unknown
 
685
                os=-linux
 
686
                ;;
 
687
        m68knommu-*)
 
688
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 
689
                os=-linux
 
690
                ;;
659
691
        m88k-omron*)
660
692
                basic_machine=m88k-omron
661
693
                ;;
671
703
                basic_machine=i386-pc
672
704
                os=-mingw32
673
705
                ;;
 
706
        mingw32ce)
 
707
                basic_machine=arm-unknown
 
708
                os=-mingw32ce
 
709
                ;;
674
710
        miniframe)
675
711
                basic_machine=m68000-convergent
676
712
                ;;
696
732
                basic_machine=i386-pc
697
733
                os=-msdos
698
734
                ;;
 
735
        ms1-*)
 
736
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
737
                ;;
699
738
        mvs)
700
739
                basic_machine=i370-ibm
701
740
                os=-mvs
794
833
                basic_machine=i860-intel
795
834
                os=-osf
796
835
                ;;
 
836
        parisc)
 
837
                basic_machine=hppa-unknown
 
838
                os=-linux
 
839
                ;;
 
840
        parisc-*)
 
841
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 
842
                os=-linux
 
843
                ;;
797
844
        pbd)
798
845
                basic_machine=sparc-tti
799
846
                ;;
803
850
        pc532 | pc532-*)
804
851
                basic_machine=ns32k-pc532
805
852
                ;;
 
853
        pc98)
 
854
                basic_machine=i386-pc
 
855
                ;;
 
856
        pc98-*)
 
857
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
858
                ;;
806
859
        pentium | p5 | k5 | k6 | nexgen | viac3)
807
860
                basic_machine=i586-pc
808
861
                ;;
859
912
                basic_machine=i586-unknown
860
913
                os=-pw32
861
914
                ;;
 
915
        rdos)
 
916
                basic_machine=i386-pc
 
917
                os=-rdos
 
918
                ;;
862
919
        rom68k)
863
920
                basic_machine=m68k-rom68k
864
921
                os=-coff
885
942
        sb1el)
886
943
                basic_machine=mipsisa64sb1el-unknown
887
944
                ;;
 
945
        sde)
 
946
                basic_machine=mipsisa32-sde
 
947
                os=-elf
 
948
                ;;
888
949
        sei)
889
950
                basic_machine=mips-sei
890
951
                os=-seiux
896
957
                basic_machine=sh-hitachi
897
958
                os=-hms
898
959
                ;;
 
960
        sh5el)
 
961
                basic_machine=sh5le-unknown
 
962
                ;;
899
963
        sh64)
900
964
                basic_machine=sh64-unknown
901
965
                ;;
985
1049
                basic_machine=tic6x-unknown
986
1050
                os=-coff
987
1051
                ;;
 
1052
        tile*)
 
1053
                basic_machine=tile-unknown
 
1054
                os=-linux-gnu
 
1055
                ;;
988
1056
        tx39)
989
1057
                basic_machine=mipstx39-unknown
990
1058
                ;;
1101
1169
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1102
1170
                basic_machine=sh-unknown
1103
1171
                ;;
1104
 
        sparc | sparcv8 | sparcv9 | sparcv9b)
 
1172
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1105
1173
                basic_machine=sparc-sun
1106
1174
                ;;
1107
1175
        cydra)
1174
1242
              | -aos* \
1175
1243
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1176
1244
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1177
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1245
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
1246
              | -openbsd* | -solidbsd* \
1178
1247
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1179
1248
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1180
1249
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1181
1250
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1182
1251
              | -chorusos* | -chorusrdb* \
1183
1252
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1184
 
              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1253
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1254
              | -uxpv* | -beos* | -mpeix* | -udk* \
1185
1255
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1186
1256
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1187
1257
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1188
1258
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1189
1259
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1190
1260
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1191
 
              | -skyos* | -haiku*)
 
1261
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1192
1262
        # Remember, each alternative MUST END IN *, to match a version number.
1193
1263
                ;;
1194
1264
        -qnx*)
1340
1410
# system, and we'll never get to this point.
1341
1411
 
1342
1412
case $basic_machine in
 
1413
        score-*)
 
1414
                os=-elf
 
1415
                ;;
 
1416
        spu-*)
 
1417
                os=-elf
 
1418
                ;;
1343
1419
        *-acorn)
1344
1420
                os=-riscix1.2
1345
1421
                ;;
1349
1425
        arm*-semi)
1350
1426
                os=-aout
1351
1427
                ;;
1352
 
    c4x-* | tic4x-*)
1353
 
        os=-coff
1354
 
        ;;
 
1428
        c4x-* | tic4x-*)
 
1429
                os=-coff
 
1430
                ;;
1355
1431
        # This must come before the *-dec entry.
1356
1432
        pdp10-*)
1357
1433
                os=-tops20
1377
1453
        m68*-cisco)
1378
1454
                os=-aout
1379
1455
                ;;
 
1456
        mep-*)
 
1457
                os=-elf
 
1458
                ;;
1380
1459
        mips*-cisco)
1381
1460
                os=-elf
1382
1461
                ;;