~ubuntu-branches/ubuntu/wily/telepathy-glib/wily

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Sjoerd Simons
  • Date: 2011-11-01 11:26:09 UTC
  • mfrom: (1.6.32)
  • Revision ID: package-import@ubuntu.com-20111101112609-kdouxczbx1spr97b
Tags: 0.16.1-1
* New upstream release
* Use vala 0.14

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, 2007, 2008, 2009, 2010,
5
 
#   2011 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2011-03-23'
 
7
timestamp='2010-01-22'
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
76
76
GNU config.sub ($timestamp)
77
77
 
78
78
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
79
 
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
 
79
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80
80
Software Foundation, Inc.
81
81
 
82
82
This is free software; see the source for copying conditions.  There is NO
124
124
# Here we must recognize all the valid KERNEL-OS combinations.
125
125
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126
126
case $maybe_os in
127
 
  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
128
 
  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
129
 
  knetbsd*-gnu* | netbsd*-gnu* | \
 
127
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
 
128
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
130
129
  kopensolaris*-gnu* | \
131
130
  storm-chaos* | os2-emx* | rtmk-nova*)
132
131
    os=-$maybe_os
158
157
                os=
159
158
                basic_machine=$1
160
159
                ;;
161
 
        -bluegene*)
162
 
                os=-cnk
 
160
        -bluegene*)
 
161
                os=-cnk
163
162
                ;;
164
163
        -sim | -cisco | -oki | -wec | -winbond)
165
164
                os=
175
174
                os=-chorusos
176
175
                basic_machine=$1
177
176
                ;;
178
 
        -chorusrdb)
179
 
                os=-chorusrdb
 
177
        -chorusrdb)
 
178
                os=-chorusrdb
180
179
                basic_machine=$1
181
 
                ;;
 
180
                ;;
182
181
        -hiux*)
183
182
                os=-hiuxwe2
184
183
                ;;
283
282
        | moxie \
284
283
        | mt \
285
284
        | msp430 \
286
 
        | nds32 | nds32le | nds32be \
287
285
        | nios | nios2 \
288
286
        | ns16k | ns32k \
289
 
        | open8 \
290
287
        | or32 \
291
288
        | pdp10 | pdp11 | pj | pjl \
292
 
        | powerpc | powerpc64 | powerpc64le | powerpcle \
 
289
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
293
290
        | pyramid \
294
291
        | rx \
295
292
        | score \
297
294
        | sh64 | sh64le \
298
295
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
299
296
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
300
 
        | spu \
301
 
        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
 
297
        | spu | strongarm \
 
298
        | tahoe | thumb | tic4x | tic80 | tron \
302
299
        | ubicom32 \
303
300
        | v850 | v850e \
304
301
        | we32k \
305
 
        | x86 | xc16x | xstormy16 | xtensa \
 
302
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
306
303
        | z8k | z80)
307
304
                basic_machine=$basic_machine-unknown
308
305
                ;;
309
 
        c54x)
310
 
                basic_machine=tic54x-unknown
311
 
                ;;
312
 
        c55x)
313
 
                basic_machine=tic55x-unknown
314
 
                ;;
315
 
        c6x)
316
 
                basic_machine=tic6x-unknown
317
 
                ;;
318
306
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
319
307
                # Motorola 68HC11/12.
320
308
                basic_machine=$basic_machine-unknown
326
314
                basic_machine=mt-unknown
327
315
                ;;
328
316
 
329
 
        strongarm | thumb | xscale)
330
 
                basic_machine=arm-unknown
331
 
                ;;
332
 
 
333
 
        xscaleeb)
334
 
                basic_machine=armeb-unknown
335
 
                ;;
336
 
 
337
 
        xscaleel)
338
 
                basic_machine=armel-unknown
339
 
                ;;
340
 
 
341
317
        # We use `pc' rather than `unknown'
342
318
        # because (1) that's what they normally are, and
343
319
        # (2) the word "unknown" tends to confuse beginning users.
358
334
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
359
335
        | avr-* | avr32-* \
360
336
        | bfin-* | bs2000-* \
361
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
 
337
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
362
338
        | clipper-* | craynv-* | cydra-* \
363
339
        | d10v-* | d30v-* | dlx-* \
364
340
        | elxsi-* \
392
368
        | mmix-* \
393
369
        | mt-* \
394
370
        | msp430-* \
395
 
        | nds32-* | nds32le-* | nds32be-* \
396
371
        | nios-* | nios2-* \
397
372
        | none-* | np1-* | ns16k-* | ns32k-* \
398
 
        | open8-* \
399
373
        | orion-* \
400
374
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
401
 
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
 
375
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
402
376
        | pyramid-* \
403
377
        | romp-* | rs6000-* | rx-* \
404
378
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
405
379
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
406
380
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
407
381
        | sparclite-* \
408
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
409
 
        | tahoe-* \
 
382
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 
383
        | tahoe-* | thumb-* \
410
384
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
411
385
        | tile-* | tilegx-* \
412
386
        | tron-* \
413
387
        | ubicom32-* \
414
388
        | v850-* | v850e-* | vax-* \
415
389
        | we32k-* \
416
 
        | x86-* | x86_64-* | xc16x-* | xps100-* \
 
390
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
417
391
        | xstormy16-* | xtensa*-* \
418
392
        | ymp-* \
419
393
        | z8k-* | z80-*)
438
412
                basic_machine=a29k-amd
439
413
                os=-udi
440
414
                ;;
441
 
        abacus)
 
415
        abacus)
442
416
                basic_machine=abacus-unknown
443
417
                ;;
444
418
        adobe68k)
508
482
                basic_machine=powerpc-ibm
509
483
                os=-cnk
510
484
                ;;
511
 
        c54x-*)
512
 
                basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
513
 
                ;;
514
 
        c55x-*)
515
 
                basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
516
 
                ;;
517
 
        c6x-*)
518
 
                basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
519
 
                ;;
520
485
        c90)
521
486
                basic_machine=c90-cray
522
487
                os=-unicos
523
488
                ;;
524
 
        cegcc)
 
489
        cegcc)
525
490
                basic_machine=arm-unknown
526
491
                os=-cegcc
527
492
                ;;
553
518
                basic_machine=craynv-cray
554
519
                os=-unicosmp
555
520
                ;;
556
 
        cr16 | cr16-*)
 
521
        cr16)
557
522
                basic_machine=cr16-unknown
558
523
                os=-elf
559
524
                ;;
769
734
                basic_machine=ns32k-utek
770
735
                os=-sysv
771
736
                ;;
772
 
        microblaze)
 
737
        microblaze)
773
738
                basic_machine=microblaze-xilinx
774
739
                ;;
775
740
        mingw32)
876
841
        np1)
877
842
                basic_machine=np1-gould
878
843
                ;;
879
 
        neo-tandem)
880
 
                basic_machine=neo-tandem
881
 
                ;;
882
 
        nse-tandem)
883
 
                basic_machine=nse-tandem
884
 
                ;;
885
844
        nsr-tandem)
886
845
                basic_machine=nsr-tandem
887
846
                ;;
964
923
                ;;
965
924
        power)  basic_machine=power-ibm
966
925
                ;;
967
 
        ppc | ppcbe)    basic_machine=powerpc-unknown
 
926
        ppc)    basic_machine=powerpc-unknown
968
927
                ;;
969
 
        ppc-* | ppcbe-*)
970
 
                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 
928
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
971
929
                ;;
972
930
        ppcle | powerpclittle | ppc-le | powerpc-little)
973
931
                basic_machine=powerpcle-unknown
1061
1019
                basic_machine=i860-stratus
1062
1020
                os=-sysv4
1063
1021
                ;;
1064
 
        strongarm-* | thumb-*)
1065
 
                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1066
 
                ;;
1067
1022
        sun2)
1068
1023
                basic_machine=m68000-sun
1069
1024
                ;;
1120
1075
                basic_machine=t90-cray
1121
1076
                os=-unicos
1122
1077
                ;;
1123
 
        # This must be matched before tile*.
1124
 
        tilegx*)
 
1078
        tic54x | c54x*)
 
1079
                basic_machine=tic54x-unknown
 
1080
                os=-coff
 
1081
                ;;
 
1082
        tic55x | c55x*)
 
1083
                basic_machine=tic55x-unknown
 
1084
                os=-coff
 
1085
                ;;
 
1086
        tic6x | c6x*)
 
1087
                basic_machine=tic6x-unknown
 
1088
                os=-coff
 
1089
                ;;
 
1090
        # This must be matched before tile*.
 
1091
        tilegx*)
1125
1092
                basic_machine=tilegx-unknown
1126
1093
                os=-linux-gnu
1127
1094
                ;;
1196
1163
        xps | xps100)
1197
1164
                basic_machine=xps100-honeywell
1198
1165
                ;;
1199
 
        xscale-* | xscalee[bl]-*)
1200
 
                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1201
 
                ;;
1202
1166
        ymp)
1203
1167
                basic_machine=ymp-cray
1204
1168
                os=-unicos
1296
1260
if [ x"$os" != x"" ]
1297
1261
then
1298
1262
case $os in
1299
 
        # First match some system type aliases
1300
 
        # that might get confused with valid system types.
 
1263
        # First match some system type aliases
 
1264
        # that might get confused with valid system types.
1301
1265
        # -solaris* is a basic system type, with this one exception.
1302
 
        -auroraux)
1303
 
                os=-auroraux
 
1266
        -auroraux)
 
1267
                os=-auroraux
1304
1268
                ;;
1305
1269
        -solaris1 | -solaris1.*)
1306
1270
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1337
1301
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1338
1302
              | -chorusos* | -chorusrdb* | -cegcc* \
1339
1303
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1340
 
              | -mingw32* | -linux-gnu* | -linux-android* \
1341
 
              | -linux-newlib* | -linux-uclibc* \
 
1304
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1342
1305
              | -uxpv* | -beos* | -mpeix* | -udk* \
1343
1306
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1344
1307
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1385
1348
        -opened*)
1386
1349
                os=-openedition
1387
1350
                ;;
1388
 
        -os400*)
 
1351
        -os400*)
1389
1352
                os=-os400
1390
1353
                ;;
1391
1354
        -wince*)
1434
1397
        -sinix*)
1435
1398
                os=-sysv4
1436
1399
                ;;
1437
 
        -tpf*)
 
1400
        -tpf*)
1438
1401
                os=-tpf
1439
1402
                ;;
1440
1403
        -triton*)
1479
1442
        -dicos*)
1480
1443
                os=-dicos
1481
1444
                ;;
1482
 
        -nacl*)
1483
 
                ;;
 
1445
        -nacl*)
 
1446
                ;;
1484
1447
        -none)
1485
1448
                ;;
1486
1449
        *)
1503
1466
# system, and we'll never get to this point.
1504
1467
 
1505
1468
case $basic_machine in
1506
 
        score-*)
 
1469
        score-*)
1507
1470
                os=-elf
1508
1471
                ;;
1509
 
        spu-*)
 
1472
        spu-*)
1510
1473
                os=-elf
1511
1474
                ;;
1512
1475
        *-acorn)
1518
1481
        arm*-semi)
1519
1482
                os=-aout
1520
1483
                ;;
1521
 
        c4x-* | tic4x-*)
1522
 
                os=-coff
1523
 
                ;;
1524
 
        tic54x-*)
1525
 
                os=-coff
1526
 
                ;;
1527
 
        tic55x-*)
1528
 
                os=-coff
1529
 
                ;;
1530
 
        tic6x-*)
1531
 
                os=-coff
 
1484
        c4x-* | tic4x-*)
 
1485
                os=-coff
1532
1486
                ;;
1533
1487
        # This must come before the *-dec entry.
1534
1488
        pdp10-*)
1555
1509
        m68*-cisco)
1556
1510
                os=-aout
1557
1511
                ;;
1558
 
        mep-*)
 
1512
        mep-*)
1559
1513
                os=-elf
1560
1514
                ;;
1561
1515
        mips*-cisco)
1582
1536
        *-ibm)
1583
1537
                os=-aix
1584
1538
                ;;
1585
 
        *-knuth)
 
1539
        *-knuth)
1586
1540
                os=-mmixware
1587
1541
                ;;
1588
1542
        *-wec)