~ubuntu-branches/ubuntu/precise/gnome-online-accounts/precise

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Robert Ancell, 3.3.92, 3.4.0
  • Date: 2012-03-29 15:32:25 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120329153225-x7eoqvo108cdpo9k
Tags: 3.4.0-0ubuntu1
* New upstream release:
  [ 3.3.92 ]
  - build: Add --disable-documentation flag
  - OAuth2Provider: add support for facebook client side auth flow
  - FacebookProvider: move to client-side flow
  - configure.ac: remove the facebook client secret
  - facebook: Unref the JSON parser
  - facebook: offline_access has been removed since it is deprecated
  - Fix typo in windows-live backend
  [ 3.4.0 ]
  - Translation changes

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
5
 
#   Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 
5
#   2011, 2012 Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-11-20'
 
7
timestamp='2012-01-01'
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
75
75
version="\
76
76
GNU config.sub ($timestamp)
77
77
 
78
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
79
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
78
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
 
79
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
 
80
Free Software Foundation, Inc.
80
81
 
81
82
This is free software; see the source for copying conditions.  There is NO
82
83
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
123
124
# Here we must recognize all the valid KERNEL-OS combinations.
124
125
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
125
126
case $maybe_os in
126
 
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
127
 
  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* | \
128
130
  kopensolaris*-gnu* | \
129
131
  storm-chaos* | os2-emx* | rtmk-nova*)
130
132
    os=-$maybe_os
156
158
                os=
157
159
                basic_machine=$1
158
160
                ;;
159
 
        -bluegene*)
160
 
                os=-cnk
 
161
        -bluegene*)
 
162
                os=-cnk
161
163
                ;;
162
164
        -sim | -cisco | -oki | -wec | -winbond)
163
165
                os=
173
175
                os=-chorusos
174
176
                basic_machine=$1
175
177
                ;;
176
 
        -chorusrdb)
177
 
                os=-chorusrdb
 
178
        -chorusrdb)
 
179
                os=-chorusrdb
178
180
                basic_machine=$1
179
 
                ;;
 
181
                ;;
180
182
        -hiux*)
181
183
                os=-hiuxwe2
182
184
                ;;
249
251
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
250
252
        | am33_2.0 \
251
253
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
254
        | be32 | be64 \
252
255
        | bfin \
253
256
        | c4x | clipper \
254
257
        | d10v | d30v | dlx | dsp16xx \
 
258
        | epiphany \
255
259
        | fido | fr30 | frv \
256
260
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
261
        | hexagon \
257
262
        | i370 | i860 | i960 | ia64 \
258
263
        | ip2k | iq2000 \
 
264
        | le32 | le64 \
259
265
        | lm32 \
260
266
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
261
267
        | maxq | mb | microblaze | mcore | mep | metag \
281
287
        | moxie \
282
288
        | mt \
283
289
        | msp430 \
 
290
        | nds32 | nds32le | nds32be \
284
291
        | nios | nios2 \
285
292
        | ns16k | ns32k \
 
293
        | open8 \
286
294
        | or32 \
287
295
        | pdp10 | pdp11 | pj | pjl \
288
 
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
296
        | powerpc | powerpc64 | powerpc64le | powerpcle \
289
297
        | pyramid \
290
 
        | rx \
 
298
        | rl78 | rx \
291
299
        | score \
292
300
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
293
301
        | sh64 | sh64le \
294
302
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
295
303
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
296
 
        | spu | strongarm \
297
 
        | tahoe | thumb | tic4x | tic80 | tron \
 
304
        | spu \
 
305
        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
298
306
        | ubicom32 \
299
 
        | v850 | v850e \
 
307
        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
300
308
        | we32k \
301
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
309
        | x86 | xc16x | xstormy16 | xtensa \
302
310
        | z8k | z80)
303
311
                basic_machine=$basic_machine-unknown
304
312
                ;;
 
313
        c54x)
 
314
                basic_machine=tic54x-unknown
 
315
                ;;
 
316
        c55x)
 
317
                basic_machine=tic55x-unknown
 
318
                ;;
 
319
        c6x)
 
320
                basic_machine=tic6x-unknown
 
321
                ;;
305
322
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
306
 
                # Motorola 68HC11/12.
307
323
                basic_machine=$basic_machine-unknown
308
324
                os=-none
309
325
                ;;
313
329
                basic_machine=mt-unknown
314
330
                ;;
315
331
 
 
332
        strongarm | thumb | xscale)
 
333
                basic_machine=arm-unknown
 
334
                ;;
 
335
 
 
336
        xscaleeb)
 
337
                basic_machine=armeb-unknown
 
338
                ;;
 
339
 
 
340
        xscaleel)
 
341
                basic_machine=armel-unknown
 
342
                ;;
 
343
 
316
344
        # We use `pc' rather than `unknown'
317
345
        # because (1) that's what they normally are, and
318
346
        # (2) the word "unknown" tends to confuse beginning users.
332
360
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
333
361
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
334
362
        | avr-* | avr32-* \
 
363
        | be32-* | be64-* \
335
364
        | bfin-* | bs2000-* \
336
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
365
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
337
366
        | clipper-* | craynv-* | cydra-* \
338
367
        | d10v-* | d30v-* | dlx-* \
339
368
        | elxsi-* \
340
369
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
341
370
        | h8300-* | h8500-* \
342
371
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 
372
        | hexagon-* \
343
373
        | i*86-* | i860-* | i960-* | ia64-* \
344
374
        | ip2k-* | iq2000-* \
 
375
        | le32-* | le64-* \
345
376
        | lm32-* \
346
377
        | m32c-* | m32r-* | m32rle-* \
347
378
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
367
398
        | mmix-* \
368
399
        | mt-* \
369
400
        | msp430-* \
 
401
        | nds32-* | nds32le-* | nds32be-* \
370
402
        | nios-* | nios2-* \
371
403
        | none-* | np1-* | ns16k-* | ns32k-* \
 
404
        | open8-* \
372
405
        | orion-* \
373
406
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
374
 
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
407
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
375
408
        | pyramid-* \
376
 
        | romp-* | rs6000-* | rx-* \
 
409
        | rl78-* | romp-* | rs6000-* | rx-* \
377
410
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
378
411
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
379
412
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
380
413
        | sparclite-* \
381
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
382
 
        | tahoe-* | thumb-* \
383
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
 
414
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
 
415
        | tahoe-* \
 
416
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
417
        | tile*-* \
384
418
        | tron-* \
385
419
        | ubicom32-* \
386
 
        | v850-* | v850e-* | vax-* \
 
420
        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
 
421
        | vax-* \
387
422
        | we32k-* \
388
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
423
        | x86-* | x86_64-* | xc16x-* | xps100-* \
389
424
        | xstormy16-* | xtensa*-* \
390
425
        | ymp-* \
391
426
        | z8k-* | z80-*)
410
445
                basic_machine=a29k-amd
411
446
                os=-udi
412
447
                ;;
413
 
        abacus)
 
448
        abacus)
414
449
                basic_machine=abacus-unknown
415
450
                ;;
416
451
        adobe68k)
480
515
                basic_machine=powerpc-ibm
481
516
                os=-cnk
482
517
                ;;
 
518
        c54x-*)
 
519
                basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
520
                ;;
 
521
        c55x-*)
 
522
                basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
523
                ;;
 
524
        c6x-*)
 
525
                basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
526
                ;;
483
527
        c90)
484
528
                basic_machine=c90-cray
485
529
                os=-unicos
486
530
                ;;
487
 
        cegcc)
 
531
        cegcc)
488
532
                basic_machine=arm-unknown
489
533
                os=-cegcc
490
534
                ;;
516
560
                basic_machine=craynv-cray
517
561
                os=-unicosmp
518
562
                ;;
519
 
        cr16)
 
563
        cr16 | cr16-*)
520
564
                basic_machine=cr16-unknown
521
565
                os=-elf
522
566
                ;;
674
718
        i370-ibm* | ibm*)
675
719
                basic_machine=i370-ibm
676
720
                ;;
677
 
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
678
721
        i*86v32)
679
722
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
680
723
                os=-sysv32
732
775
                basic_machine=ns32k-utek
733
776
                os=-sysv
734
777
                ;;
735
 
        microblaze)
 
778
        microblaze)
736
779
                basic_machine=microblaze-xilinx
737
780
                ;;
738
781
        mingw32)
771
814
        ms1-*)
772
815
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
773
816
                ;;
 
817
        msys)
 
818
                basic_machine=i386-pc
 
819
                os=-msys
 
820
                ;;
774
821
        mvs)
775
822
                basic_machine=i370-ibm
776
823
                os=-mvs
777
824
                ;;
 
825
        nacl)
 
826
                basic_machine=le32-unknown
 
827
                os=-nacl
 
828
                ;;
778
829
        ncr3000)
779
830
                basic_machine=i486-ncr
780
831
                os=-sysv4
839
890
        np1)
840
891
                basic_machine=np1-gould
841
892
                ;;
 
893
        neo-tandem)
 
894
                basic_machine=neo-tandem
 
895
                ;;
 
896
        nse-tandem)
 
897
                basic_machine=nse-tandem
 
898
                ;;
842
899
        nsr-tandem)
843
900
                basic_machine=nsr-tandem
844
901
                ;;
921
978
                ;;
922
979
        power)  basic_machine=power-ibm
923
980
                ;;
924
 
        ppc)    basic_machine=powerpc-unknown
 
981
        ppc | ppcbe)    basic_machine=powerpc-unknown
925
982
                ;;
926
 
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 
983
        ppc-* | ppcbe-*)
 
984
                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
927
985
                ;;
928
986
        ppcle | powerpclittle | ppc-le | powerpc-little)
929
987
                basic_machine=powerpcle-unknown
1017
1075
                basic_machine=i860-stratus
1018
1076
                os=-sysv4
1019
1077
                ;;
 
1078
        strongarm-* | thumb-*)
 
1079
                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
 
1080
                ;;
1020
1081
        sun2)
1021
1082
                basic_machine=m68000-sun
1022
1083
                ;;
1073
1134
                basic_machine=t90-cray
1074
1135
                os=-unicos
1075
1136
                ;;
1076
 
        tic54x | c54x*)
1077
 
                basic_machine=tic54x-unknown
1078
 
                os=-coff
1079
 
                ;;
1080
 
        tic55x | c55x*)
1081
 
                basic_machine=tic55x-unknown
1082
 
                os=-coff
1083
 
                ;;
1084
 
        tic6x | c6x*)
1085
 
                basic_machine=tic6x-unknown
1086
 
                os=-coff
1087
 
                ;;
1088
1137
        tile*)
1089
 
                basic_machine=tile-unknown
 
1138
                basic_machine=$basic_machine-unknown
1090
1139
                os=-linux-gnu
1091
1140
                ;;
1092
1141
        tx39)
1156
1205
        xps | xps100)
1157
1206
                basic_machine=xps100-honeywell
1158
1207
                ;;
 
1208
        xscale-* | xscalee[bl]-*)
 
1209
                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
 
1210
                ;;
1159
1211
        ymp)
1160
1212
                basic_machine=ymp-cray
1161
1213
                os=-unicos
1253
1305
if [ x"$os" != x"" ]
1254
1306
then
1255
1307
case $os in
1256
 
        # First match some system type aliases
1257
 
        # that might get confused with valid system types.
 
1308
        # First match some system type aliases
 
1309
        # that might get confused with valid system types.
1258
1310
        # -solaris* is a basic system type, with this one exception.
1259
 
        -auroraux)
1260
 
                os=-auroraux
 
1311
        -auroraux)
 
1312
                os=-auroraux
1261
1313
                ;;
1262
1314
        -solaris1 | -solaris1.*)
1263
1315
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1293
1345
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1294
1346
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1295
1347
              | -chorusos* | -chorusrdb* | -cegcc* \
1296
 
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1297
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1348
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
1349
              | -mingw32* | -linux-gnu* | -linux-android* \
 
1350
              | -linux-newlib* | -linux-uclibc* \
1298
1351
              | -uxpv* | -beos* | -mpeix* | -udk* \
1299
1352
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1300
1353
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1341
1394
        -opened*)
1342
1395
                os=-openedition
1343
1396
                ;;
1344
 
        -os400*)
 
1397
        -os400*)
1345
1398
                os=-os400
1346
1399
                ;;
1347
1400
        -wince*)
1390
1443
        -sinix*)
1391
1444
                os=-sysv4
1392
1445
                ;;
1393
 
        -tpf*)
 
1446
        -tpf*)
1394
1447
                os=-tpf
1395
1448
                ;;
1396
1449
        -triton*)
1435
1488
        -dicos*)
1436
1489
                os=-dicos
1437
1490
                ;;
 
1491
        -nacl*)
 
1492
                ;;
1438
1493
        -none)
1439
1494
                ;;
1440
1495
        *)
1457
1512
# system, and we'll never get to this point.
1458
1513
 
1459
1514
case $basic_machine in
1460
 
        score-*)
 
1515
        score-*)
1461
1516
                os=-elf
1462
1517
                ;;
1463
 
        spu-*)
 
1518
        spu-*)
1464
1519
                os=-elf
1465
1520
                ;;
1466
1521
        *-acorn)
1472
1527
        arm*-semi)
1473
1528
                os=-aout
1474
1529
                ;;
1475
 
        c4x-* | tic4x-*)
1476
 
                os=-coff
 
1530
        c4x-* | tic4x-*)
 
1531
                os=-coff
 
1532
                ;;
 
1533
        tic54x-*)
 
1534
                os=-coff
 
1535
                ;;
 
1536
        tic55x-*)
 
1537
                os=-coff
 
1538
                ;;
 
1539
        tic6x-*)
 
1540
                os=-coff
1477
1541
                ;;
1478
1542
        # This must come before the *-dec entry.
1479
1543
        pdp10-*)
1493
1557
                ;;
1494
1558
        m68000-sun)
1495
1559
                os=-sunos3
1496
 
                # This also exists in the configure program, but was not the
1497
 
                # default.
1498
 
                # os=-sunos4
1499
1560
                ;;
1500
1561
        m68*-cisco)
1501
1562
                os=-aout
1502
1563
                ;;
1503
 
        mep-*)
 
1564
        mep-*)
1504
1565
                os=-elf
1505
1566
                ;;
1506
1567
        mips*-cisco)
1527
1588
        *-ibm)
1528
1589
                os=-aix
1529
1590
                ;;
1530
 
        *-knuth)
 
1591
        *-knuth)
1531
1592
                os=-mmixware
1532
1593
                ;;
1533
1594
        *-wec)