~ubuntu-branches/ubuntu/maverick/lordsawar/maverick

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2010-04-10 09:29:33 UTC
  • mfrom: (1.1.9 upstream) (5.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100410092933-23uq4dxig30kmtcw
Tags: 0.1.8-1
* New upstream release.
* Add misc:Depends for -data package.
* Bump Standards Version to 3.8.4. (No changes needed).

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
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-04-17'
 
7
timestamp='2009-11-20'
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.
149
152
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150
153
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151
154
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152
 
        -apple | -axis | -knuth | -cray)
 
155
        -apple | -axis | -knuth | -cray | -microblaze)
153
156
                os=
154
157
                basic_machine=$1
155
158
                ;;
 
159
        -bluegene*)
 
160
                os=-cnk
 
161
                ;;
156
162
        -sim | -cisco | -oki | -wec | -winbond)
157
163
                os=
158
164
                basic_machine=$1
281
287
        | pdp10 | pdp11 | pj | pjl \
282
288
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
283
289
        | pyramid \
 
290
        | rx \
284
291
        | score \
285
292
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
286
293
        | sh64 | sh64le \
288
295
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
289
296
        | spu | strongarm \
290
297
        | tahoe | thumb | tic4x | tic80 | tron \
 
298
        | ubicom32 \
291
299
        | v850 | v850e \
292
300
        | we32k \
293
301
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
294
302
        | z8k | z80)
295
303
                basic_machine=$basic_machine-unknown
296
304
                ;;
297
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
305
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
298
306
                # Motorola 68HC11/12.
299
307
                basic_machine=$basic_machine-unknown
300
308
                os=-none
337
345
        | lm32-* \
338
346
        | m32c-* | m32r-* | m32rle-* \
339
347
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
340
 
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
348
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
341
349
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
342
350
        | mips16-* \
343
351
        | mips64-* | mips64el-* \
365
373
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
366
374
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
367
375
        | pyramid-* \
368
 
        | romp-* | rs6000-* \
 
376
        | romp-* | rs6000-* | rx-* \
369
377
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
370
378
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
371
379
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
374
382
        | tahoe-* | thumb-* \
375
383
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
376
384
        | tron-* \
 
385
        | ubicom32-* \
377
386
        | v850-* | v850e-* | vax-* \
378
387
        | we32k-* \
379
388
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
467
476
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
468
477
                os=-linux
469
478
                ;;
 
479
        bluegene*)
 
480
                basic_machine=powerpc-ibm
 
481
                os=-cnk
 
482
                ;;
470
483
        c90)
471
484
                basic_machine=c90-cray
472
485
                os=-unicos
719
732
                basic_machine=ns32k-utek
720
733
                os=-sysv
721
734
                ;;
 
735
        microblaze)
 
736
                basic_machine=microblaze-xilinx
 
737
                ;;
722
738
        mingw32)
723
739
                basic_machine=i386-pc
724
740
                os=-mingw32
1240
1256
        # First match some system type aliases
1241
1257
        # that might get confused with valid system types.
1242
1258
        # -solaris* is a basic system type, with this one exception.
 
1259
        -auroraux)
 
1260
                os=-auroraux
 
1261
                ;;
1243
1262
        -solaris1 | -solaris1.*)
1244
1263
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1245
1264
                ;;
1260
1279
        # Each alternative MUST END IN A *, to match a version number.
1261
1280
        # -sysv* is not here because it comes later, after sysvr4.
1262
1281
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1263
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1264
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1265
 
              | -kopensolaris* \
 
1282
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1283
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1284
              | -sym* | -kopensolaris* \
1266
1285
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1267
1286
              | -aos* | -aros* \
1268
1287
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1283
1302
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1284
1303
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1285
1304
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1286
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1305
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1287
1306
        # Remember, each alternative MUST END IN *, to match a version number.
1288
1307
                ;;
1289
1308
        -qnx*)
1613
1632
                        -sunos*)
1614
1633
                                vendor=sun
1615
1634
                                ;;
1616
 
                        -aix*)
 
1635
                        -cnk*|-aix*)
1617
1636
                                vendor=ibm
1618
1637
                                ;;
1619
1638
                        -beos*)