~ubuntu-branches/ubuntu/utopic/ibus-cangjie/utopic-updates

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2015-05-26 09:19:14 UTC
  • mfrom: (6.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20150526091914-bterkby7t7a62eux
Tags: 2.4-1~utopic1
Backporting wily release sync to utopic to fix multiple UX issues
as per upstream request (LP: #1452376)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
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, 2012, 2013 Free Software Foundation, Inc.
 
3
#   Copyright 1992-2015 Free Software Foundation, Inc.
6
4
 
7
 
timestamp='2012-12-29'
 
5
timestamp='2015-01-01'
8
6
 
9
7
# This file is free software; you can redistribute it and/or modify it
10
8
# under the terms of the GNU General Public License as published by
27
25
# of the GNU General Public License, version 3 ("GPLv3").
28
26
 
29
27
 
30
 
# Please send patches with a ChangeLog entry to config-patches@gnu.org.
 
28
# Please send patches to <config-patches@gnu.org>.
31
29
#
32
30
# Configuration subroutine to validate and canonicalize a configuration type.
33
31
# Supply the specified configuration type as an argument.
70
68
version="\
71
69
GNU config.sub ($timestamp)
72
70
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
74
 
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
75
 
2012, 2013 Free Software Foundation, Inc.
 
71
Copyright 1992-2015 Free Software Foundation, Inc.
76
72
 
77
73
This is free software; see the source for copying conditions.  There is NO
78
74
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
256
252
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
257
253
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
258
254
        | am33_2.0 \
259
 
        | arc \
 
255
        | arc | arceb \
260
256
        | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
261
257
        | avr | avr32 \
262
258
        | be32 | be64 \
263
259
        | bfin \
264
 
        | c4x | clipper \
 
260
        | c4x | c8051 | clipper \
265
261
        | d10v | d30v | dlx | dsp16xx \
266
262
        | epiphany \
267
 
        | fido | fr30 | frv \
 
263
        | fido | fr30 | frv | ft32 \
268
264
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
269
265
        | hexagon \
270
266
        | i370 | i860 | i960 | ia64 \
271
267
        | ip2k | iq2000 \
 
268
        | k1om \
272
269
        | le32 | le64 \
273
270
        | lm32 \
274
271
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
286
283
        | mips64vr5900 | mips64vr5900el \
287
284
        | mipsisa32 | mipsisa32el \
288
285
        | mipsisa32r2 | mipsisa32r2el \
 
286
        | mipsisa32r6 | mipsisa32r6el \
289
287
        | mipsisa64 | mipsisa64el \
290
288
        | mipsisa64r2 | mipsisa64r2el \
 
289
        | mipsisa64r6 | mipsisa64r6el \
291
290
        | mipsisa64sb1 | mipsisa64sb1el \
292
291
        | mipsisa64sr71k | mipsisa64sr71kel \
 
292
        | mipsr5900 | mipsr5900el \
293
293
        | mipstx39 | mipstx39el \
294
294
        | mn10200 | mn10300 \
295
295
        | moxie \
296
296
        | mt \
297
297
        | msp430 \
298
298
        | nds32 | nds32le | nds32be \
299
 
        | nios | nios2 \
 
299
        | nios | nios2 | nios2eb | nios2el \
300
300
        | ns16k | ns32k \
301
 
        | open8 \
302
 
        | or32 \
 
301
        | open8 | or1k | or1knd | or32 \
303
302
        | pdp10 | pdp11 | pj | pjl \
304
303
        | powerpc | powerpc64 | powerpc64le | powerpcle \
305
304
        | pyramid \
 
305
        | riscv32 | riscv64 \
306
306
        | rl78 | rx \
307
307
        | score \
308
308
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
313
313
        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
314
314
        | ubicom32 \
315
315
        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
 
316
        | visium \
316
317
        | we32k \
317
318
        | x86 | xc16x | xstormy16 | xtensa \
318
319
        | z8k | z80)
327
328
        c6x)
328
329
                basic_machine=tic6x-unknown
329
330
                ;;
330
 
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
 
331
        leon|leon[3-9])
 
332
                basic_machine=sparc-$basic_machine
 
333
                ;;
 
334
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
331
335
                basic_machine=$basic_machine-unknown
332
336
                os=-none
333
337
                ;;
369
373
        | aarch64-* | aarch64_be-* \
370
374
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
371
375
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
372
 
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 
376
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
373
377
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
374
378
        | avr-* | avr32-* \
375
379
        | be32-* | be64-* \
376
380
        | bfin-* | bs2000-* \
377
381
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
378
 
        | clipper-* | craynv-* | cydra-* \
 
382
        | c8051-* | clipper-* | craynv-* | cydra-* \
379
383
        | d10v-* | d30v-* | dlx-* \
380
384
        | elxsi-* \
381
385
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
384
388
        | hexagon-* \
385
389
        | i*86-* | i860-* | i960-* | ia64-* \
386
390
        | ip2k-* | iq2000-* \
 
391
        | k1om-* \
387
392
        | le32-* | le64-* \
388
393
        | lm32-* \
389
394
        | m32c-* | m32r-* | m32rle-* \
403
408
        | mips64vr5900-* | mips64vr5900el-* \
404
409
        | mipsisa32-* | mipsisa32el-* \
405
410
        | mipsisa32r2-* | mipsisa32r2el-* \
 
411
        | mipsisa32r6-* | mipsisa32r6el-* \
406
412
        | mipsisa64-* | mipsisa64el-* \
407
413
        | mipsisa64r2-* | mipsisa64r2el-* \
 
414
        | mipsisa64r6-* | mipsisa64r6el-* \
408
415
        | mipsisa64sb1-* | mipsisa64sb1el-* \
409
416
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
 
417
        | mipsr5900-* | mipsr5900el-* \
410
418
        | mipstx39-* | mipstx39el-* \
411
419
        | mmix-* \
412
420
        | mt-* \
413
421
        | msp430-* \
414
422
        | nds32-* | nds32le-* | nds32be-* \
415
 
        | nios-* | nios2-* \
 
423
        | nios-* | nios2-* | nios2eb-* | nios2el-* \
416
424
        | none-* | np1-* | ns16k-* | ns32k-* \
417
425
        | open8-* \
 
426
        | or1k*-* \
418
427
        | orion-* \
419
428
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
420
429
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
432
441
        | ubicom32-* \
433
442
        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
434
443
        | vax-* \
 
444
        | visium-* \
435
445
        | we32k-* \
436
446
        | x86-* | x86_64-* | xc16x-* | xps100-* \
437
447
        | xstormy16-* | xtensa*-* \
769
779
                basic_machine=m68k-isi
770
780
                os=-sysv
771
781
                ;;
 
782
        leon-*|leon[3-9]-*)
 
783
                basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
 
784
                ;;
772
785
        m68knommu)
773
786
                basic_machine=m68k-unknown
774
787
                os=-linux
796
809
                os=-mingw64
797
810
                ;;
798
811
        mingw32)
799
 
                basic_machine=i386-pc
 
812
                basic_machine=i686-pc
800
813
                os=-mingw32
801
814
                ;;
802
815
        mingw32ce)
824
837
                basic_machine=powerpc-unknown
825
838
                os=-morphos
826
839
                ;;
 
840
        moxiebox)
 
841
                basic_machine=moxie-unknown
 
842
                os=-moxiebox
 
843
                ;;
827
844
        msdos)
828
845
                basic_machine=i386-pc
829
846
                os=-msdos
832
849
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
833
850
                ;;
834
851
        msys)
835
 
                basic_machine=i386-pc
 
852
                basic_machine=i686-pc
836
853
                os=-msys
837
854
                ;;
838
855
        mvs)
1354
1371
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1355
1372
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1356
1373
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1357
 
              | -sym* | -kopensolaris* \
 
1374
              | -sym* | -kopensolaris* | -plan9* \
1358
1375
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1359
1376
              | -aos* | -aros* \
1360
1377
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1369
1386
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1370
1387
              | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1371
1388
              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1372
 
              | -uxpv* | -beos* | -mpeix* | -udk* \
 
1389
              | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1373
1390
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1374
1391
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1375
1392
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1376
1393
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1377
1394
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1378
1395
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1379
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
 
1396
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
1380
1397
        # Remember, each alternative MUST END IN *, to match a version number.
1381
1398
                ;;
1382
1399
        -qnx*)
1500
1517
        -aros*)
1501
1518
                os=-aros
1502
1519
                ;;
1503
 
        -kaos*)
1504
 
                os=-kaos
1505
 
                ;;
1506
1520
        -zvmoe)
1507
1521
                os=-zvmoe
1508
1522
                ;;
1551
1565
        c4x-* | tic4x-*)
1552
1566
                os=-coff
1553
1567
                ;;
 
1568
        c8051-*)
 
1569
                os=-elf
 
1570
                ;;
1554
1571
        hexagon-*)
1555
1572
                os=-elf
1556
1573
                ;;