~ubuntu-branches/ubuntu/quantal/fbterm-ucimf/quantal

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Aron Xu
  • Date: 2010-06-23 14:41:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623144121-yzox3vtyr0ol01o6
Tags: 0.2.7.1-1
* New upstream release:
  Quote the font interfaces and implementations from FbTerm,
  to add fontconfig support for ucimf.
* debian/control: Add libfontconfig1-dev to build dependency.
* debian/fbterm_ucimf.1: Change "-" to "\-" in manual page.

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
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-02-03'
 
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,
76
 
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 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."
149
153
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150
154
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151
155
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152
 
        -apple | -axis | -knuth | -cray)
 
156
        -apple | -axis | -knuth | -cray | -microblaze)
153
157
                os=
154
158
                basic_machine=$1
155
159
                ;;
 
160
        -bluegene*)
 
161
                os=-cnk
 
162
                ;;
156
163
        -sim | -cisco | -oki | -wec | -winbond)
157
164
                os=
158
165
                basic_machine=$1
272
279
        | mipsisa64sr71k | mipsisa64sr71kel \
273
280
        | mipstx39 | mipstx39el \
274
281
        | mn10200 | mn10300 \
 
282
        | moxie \
275
283
        | mt \
276
284
        | msp430 \
277
285
        | nios | nios2 \
280
288
        | pdp10 | pdp11 | pj | pjl \
281
289
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
282
290
        | pyramid \
 
291
        | rx \
283
292
        | score \
284
293
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
285
294
        | sh64 | sh64le \
287
296
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
288
297
        | spu | strongarm \
289
298
        | tahoe | thumb | tic4x | tic80 | tron \
 
299
        | ubicom32 \
290
300
        | v850 | v850e \
291
301
        | we32k \
292
302
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
293
303
        | z8k | z80)
294
304
                basic_machine=$basic_machine-unknown
295
305
                ;;
296
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
306
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
297
307
                # Motorola 68HC11/12.
298
308
                basic_machine=$basic_machine-unknown
299
309
                os=-none
336
346
        | lm32-* \
337
347
        | m32c-* | m32r-* | m32rle-* \
338
348
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
339
 
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
349
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
340
350
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
341
351
        | mips16-* \
342
352
        | mips64-* | mips64el-* \
364
374
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
365
375
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
366
376
        | pyramid-* \
367
 
        | romp-* | rs6000-* \
 
377
        | romp-* | rs6000-* | rx-* \
368
378
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
369
379
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
370
380
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
371
381
        | sparclite-* \
372
382
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
373
383
        | tahoe-* | thumb-* \
374
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
 
384
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
385
        | tile-* | tilegx-* \
375
386
        | tron-* \
 
387
        | ubicom32-* \
376
388
        | v850-* | v850e-* | vax-* \
377
389
        | we32k-* \
378
390
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
466
478
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
467
479
                os=-linux
468
480
                ;;
 
481
        bluegene*)
 
482
                basic_machine=powerpc-ibm
 
483
                os=-cnk
 
484
                ;;
469
485
        c90)
470
486
                basic_machine=c90-cray
471
487
                os=-unicos
718
734
                basic_machine=ns32k-utek
719
735
                os=-sysv
720
736
                ;;
 
737
        microblaze)
 
738
                basic_machine=microblaze-xilinx
 
739
                ;;
721
740
        mingw32)
722
741
                basic_machine=i386-pc
723
742
                os=-mingw32
1086
1105
                basic_machine=tic6x-unknown
1087
1106
                os=-coff
1088
1107
                ;;
 
1108
        # This must be matched before tile*.
 
1109
        tilegx*)
 
1110
                basic_machine=tilegx-unknown
 
1111
                os=-linux-gnu
 
1112
                ;;
1089
1113
        tile*)
1090
1114
                basic_machine=tile-unknown
1091
1115
                os=-linux-gnu
1257
1281
        # First match some system type aliases
1258
1282
        # that might get confused with valid system types.
1259
1283
        # -solaris* is a basic system type, with this one exception.
 
1284
        -auroraux)
 
1285
                os=-auroraux
 
1286
                ;;
1260
1287
        -solaris1 | -solaris1.*)
1261
1288
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1262
1289
                ;;
1277
1304
        # Each alternative MUST END IN A *, to match a version number.
1278
1305
        # -sysv* is not here because it comes later, after sysvr4.
1279
1306
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1280
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1281
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1282
 
              | -kopensolaris* \
 
1307
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1308
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1309
              | -sym* | -kopensolaris* \
1283
1310
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1284
1311
              | -aos* | -aros* \
1285
1312
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1296
1323
              | -uxpv* | -beos* | -mpeix* | -udk* \
1297
1324
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1298
1325
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1299
 
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 
1326
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -irx* \
1300
1327
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1301
1328
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1302
1329
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1303
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
 
1330
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1304
1331
        # Remember, each alternative MUST END IN *, to match a version number.
1305
1332
                ;;
1306
1333
        -qnx*)
1433
1460
        -dicos*)
1434
1461
                os=-dicos
1435
1462
                ;;
 
1463
        -nacl*)
 
1464
                ;;
1436
1465
        -none)
1437
1466
                ;;
1438
1467
        *)
1630
1659
                        -sunos*)
1631
1660
                                vendor=sun
1632
1661
                                ;;
1633
 
                        -aix*)
 
1662
                        -cnk*|-aix*)
1634
1663
                                vendor=ibm
1635
1664
                                ;;
1636
1665
                        -beos*)