~ubuntu-branches/ubuntu/natty/ibus-m17n/natty

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing, Asias He, LI Daobing
  • Date: 2010-09-04 22:17:41 UTC
  • mfrom: (1.1.7 upstream) (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100904221741-wr26pb851s2ji8ig
Tags: 1.3.1-1
[ Asias He ]
* New upstream release.
* debian/watch: use http://googlecode.debian.net

[ LI Daobing ]
* debian/control: build depends on libgtk2.0-dev 

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 Free Software Foundation,
5
 
#   Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2007-04-29'
 
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
32
32
 
33
33
 
34
34
# Please send patches to <config-patches@gnu.org>.  Submit a context
35
 
# diff and a properly formatted ChangeLog entry.
 
35
# diff and a properly formatted GNU ChangeLog entry.
36
36
#
37
37
# Configuration subroutine to validate and canonicalize a configuration type.
38
38
# Supply the specified configuration type as an argument.
39
39
# If it is invalid, we print an error message on stderr and exit with code 1.
40
40
# Otherwise, we print the canonical config type on stdout and succeed.
41
41
 
 
42
# You can get the latest version of this script from:
 
43
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 
44
 
42
45
# This file is supposed to be the same for all GNU packages
43
46
# and recognize all the CPU types, system types and aliases
44
47
# that are meaningful with *any* GNU software.
72
75
version="\
73
76
GNU config.sub ($timestamp)
74
77
 
75
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
76
 
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 Free
 
80
Software Foundation, Inc.
77
81
 
78
82
This is free software; see the source for copying conditions.  There is NO
79
83
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
122
126
case $maybe_os in
123
127
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
128
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
129
  kopensolaris*-gnu* | \
125
130
  storm-chaos* | os2-emx* | rtmk-nova*)
126
131
    os=-$maybe_os
127
132
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
148
153
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149
154
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150
155
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151
 
        -apple | -axis | -knuth | -cray)
 
156
        -apple | -axis | -knuth | -cray | -microblaze)
152
157
                os=
153
158
                basic_machine=$1
154
159
                ;;
 
160
        -bluegene*)
 
161
                os=-cnk
 
162
                ;;
155
163
        -sim | -cisco | -oki | -wec | -winbond)
156
164
                os=
157
165
                basic_machine=$1
249
257
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
258
        | i370 | i860 | i960 | ia64 \
251
259
        | ip2k | iq2000 \
 
260
        | lm32 \
252
261
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore | mep \
 
262
        | maxq | mb | microblaze | mcore | mep | metag \
254
263
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
264
        | mips16 \
256
265
        | mips64 | mips64el \
 
266
        | mips64octeon | mips64octeonel \
 
267
        | mips64orion | mips64orionel \
 
268
        | mips64r5900 | mips64r5900el \
257
269
        | mips64vr | mips64vrel \
258
 
        | mips64orion | mips64orionel \
259
270
        | mips64vr4100 | mips64vr4100el \
260
271
        | mips64vr4300 | mips64vr4300el \
261
272
        | mips64vr5000 | mips64vr5000el \
268
279
        | mipsisa64sr71k | mipsisa64sr71kel \
269
280
        | mipstx39 | mipstx39el \
270
281
        | mn10200 | mn10300 \
 
282
        | moxie \
271
283
        | mt \
272
284
        | msp430 \
273
285
        | nios | nios2 \
276
288
        | pdp10 | pdp11 | pj | pjl \
277
289
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
290
        | pyramid \
 
291
        | rx \
279
292
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
293
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281
294
        | sh64 | sh64le \
282
295
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
296
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284
297
        | spu | strongarm \
285
298
        | tahoe | thumb | tic4x | tic80 | tron \
 
299
        | ubicom32 \
286
300
        | v850 | v850e \
287
301
        | we32k \
288
302
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289
 
        | z8k)
 
303
        | z8k | z80)
290
304
                basic_machine=$basic_machine-unknown
291
305
                ;;
292
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
306
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
293
307
                # Motorola 68HC11/12.
294
308
                basic_machine=$basic_machine-unknown
295
309
                os=-none
329
343
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
344
        | i*86-* | i860-* | i960-* | ia64-* \
331
345
        | ip2k-* | iq2000-* \
 
346
        | lm32-* \
332
347
        | m32c-* | m32r-* | m32rle-* \
333
348
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
349
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
335
350
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
351
        | mips16-* \
337
352
        | mips64-* | mips64el-* \
 
353
        | mips64octeon-* | mips64octeonel-* \
 
354
        | mips64orion-* | mips64orionel-* \
 
355
        | mips64r5900-* | mips64r5900el-* \
338
356
        | mips64vr-* | mips64vrel-* \
339
 
        | mips64orion-* | mips64orionel-* \
340
357
        | mips64vr4100-* | mips64vr4100el-* \
341
358
        | mips64vr4300-* | mips64vr4300el-* \
342
359
        | mips64vr5000-* | mips64vr5000el-* \
357
374
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
375
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
376
        | pyramid-* \
360
 
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
377
        | romp-* | rs6000-* | rx-* \
 
378
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362
379
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
380
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364
381
        | sparclite-* \
365
382
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366
383
        | tahoe-* | thumb-* \
367
384
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
385
        | tile-* | tilegx-* \
368
386
        | tron-* \
 
387
        | ubicom32-* \
369
388
        | v850-* | v850e-* | vax-* \
370
389
        | we32k-* \
371
390
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
 
        | xstormy16-* | xtensa-* \
 
391
        | xstormy16-* | xtensa*-* \
373
392
        | ymp-* \
374
 
        | z8k-*)
 
393
        | z8k-* | z80-*)
 
394
                ;;
 
395
        # Recognize the basic CPU types without company name, with glob match.
 
396
        xtensa*)
 
397
                basic_machine=$basic_machine-unknown
375
398
                ;;
376
399
        # Recognize the various machine names and aliases which stand
377
400
        # for a CPU type and a company and sometimes even an OS.
435
458
                basic_machine=m68k-apollo
436
459
                os=-bsd
437
460
                ;;
 
461
        aros)
 
462
                basic_machine=i386-pc
 
463
                os=-aros
 
464
                ;;
438
465
        aux)
439
466
                basic_machine=m68k-apple
440
467
                os=-aux
443
470
                basic_machine=ns32k-sequent
444
471
                os=-dynix
445
472
                ;;
 
473
        blackfin)
 
474
                basic_machine=bfin-unknown
 
475
                os=-linux
 
476
                ;;
 
477
        blackfin-*)
 
478
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 
479
                os=-linux
 
480
                ;;
 
481
        bluegene*)
 
482
                basic_machine=powerpc-ibm
 
483
                os=-cnk
 
484
                ;;
446
485
        c90)
447
486
                basic_machine=c90-cray
448
487
                os=-unicos
449
488
                ;;
 
489
        cegcc)
 
490
                basic_machine=arm-unknown
 
491
                os=-cegcc
 
492
                ;;
450
493
        convex-c1)
451
494
                basic_machine=c1-convex
452
495
                os=-bsd
475
518
                basic_machine=craynv-cray
476
519
                os=-unicosmp
477
520
                ;;
478
 
        cr16c)
479
 
                basic_machine=cr16c-unknown
 
521
        cr16)
 
522
                basic_machine=cr16-unknown
480
523
                os=-elf
481
524
                ;;
482
525
        crds | unos)
514
557
                basic_machine=m88k-motorola
515
558
                os=-sysv3
516
559
                ;;
 
560
        dicos)
 
561
                basic_machine=i686-pc
 
562
                os=-dicos
 
563
                ;;
517
564
        djgpp)
518
565
                basic_machine=i586-pc
519
566
                os=-msdosdjgpp
668
715
                basic_machine=m68k-isi
669
716
                os=-sysv
670
717
                ;;
 
718
        m68knommu)
 
719
                basic_machine=m68k-unknown
 
720
                os=-linux
 
721
                ;;
 
722
        m68knommu-*)
 
723
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 
724
                os=-linux
 
725
                ;;
671
726
        m88k-omron*)
672
727
                basic_machine=m88k-omron
673
728
                ;;
679
734
                basic_machine=ns32k-utek
680
735
                os=-sysv
681
736
                ;;
 
737
        microblaze)
 
738
                basic_machine=microblaze-xilinx
 
739
                ;;
682
740
        mingw32)
683
741
                basic_machine=i386-pc
684
742
                os=-mingw32
813
871
                basic_machine=i860-intel
814
872
                os=-osf
815
873
                ;;
 
874
        parisc)
 
875
                basic_machine=hppa-unknown
 
876
                os=-linux
 
877
                ;;
 
878
        parisc-*)
 
879
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 
880
                os=-linux
 
881
                ;;
816
882
        pbd)
817
883
                basic_machine=sparc-tti
818
884
                ;;
1021
1087
                basic_machine=tic6x-unknown
1022
1088
                os=-coff
1023
1089
                ;;
 
1090
        # This must be matched before tile*.
 
1091
        tilegx*)
 
1092
                basic_machine=tilegx-unknown
 
1093
                os=-linux-gnu
 
1094
                ;;
 
1095
        tile*)
 
1096
                basic_machine=tile-unknown
 
1097
                os=-linux-gnu
 
1098
                ;;
1024
1099
        tx39)
1025
1100
                basic_machine=mipstx39-unknown
1026
1101
                ;;
1096
1171
                basic_machine=z8k-unknown
1097
1172
                os=-sim
1098
1173
                ;;
 
1174
        z80-*-coff)
 
1175
                basic_machine=z80-unknown
 
1176
                os=-sim
 
1177
                ;;
1099
1178
        none)
1100
1179
                basic_machine=none-none
1101
1180
                os=-none
1134
1213
        we32k)
1135
1214
                basic_machine=we32k-att
1136
1215
                ;;
1137
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1216
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1138
1217
                basic_machine=sh-unknown
1139
1218
                ;;
1140
1219
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1184
1263
        # First match some system type aliases
1185
1264
        # that might get confused with valid system types.
1186
1265
        # -solaris* is a basic system type, with this one exception.
 
1266
        -auroraux)
 
1267
                os=-auroraux
 
1268
                ;;
1187
1269
        -solaris1 | -solaris1.*)
1188
1270
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1189
1271
                ;;
1204
1286
        # Each alternative MUST END IN A *, to match a version number.
1205
1287
        # -sysv* is not here because it comes later, after sysvr4.
1206
1288
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1207
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1208
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
1289
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1290
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1291
              | -sym* | -kopensolaris* \
1209
1292
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1210
 
              | -aos* \
 
1293
              | -aos* | -aros* \
1211
1294
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1212
1295
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1213
1296
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1216
1299
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1217
1300
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1218
1301
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1219
 
              | -chorusos* | -chorusrdb* \
 
1302
              | -chorusos* | -chorusrdb* | -cegcc* \
1220
1303
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1221
1304
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1222
1305
              | -uxpv* | -beos* | -mpeix* | -udk* \
1226
1309
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1227
1310
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1228
1311
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1229
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1312
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1230
1313
        # Remember, each alternative MUST END IN *, to match a version number.
1231
1314
                ;;
1232
1315
        -qnx*)
1356
1439
        -zvmoe)
1357
1440
                os=-zvmoe
1358
1441
                ;;
 
1442
        -dicos*)
 
1443
                os=-dicos
 
1444
                ;;
 
1445
        -nacl*)
 
1446
                ;;
1359
1447
        -none)
1360
1448
                ;;
1361
1449
        *)
1553
1641
                        -sunos*)
1554
1642
                                vendor=sun
1555
1643
                                ;;
1556
 
                        -aix*)
 
1644
                        -cnk*|-aix*)
1557
1645
                                vendor=ibm
1558
1646
                                ;;
1559
1647
                        -beos*)