~ubuntu-branches/ubuntu/precise/libzeitgeist/precise-updates

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2011-09-08 11:24:53 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: package-import@ubuntu.com-20110908112453-7p3c56xeayfo2zna
Tags: 0.3.12-0ubuntu1
* New upstream release
  - Leaks related to gvariant unpacking (LP: #844578)
  - Bad gvariant unpacking in ZeitgeistDataSourceRegistry (LP: #844574)

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