~ubuntu-branches/debian/sid/gpe-expenses/sid

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Neil Williams
  • Date: 2011-04-05 21:16:24 UTC
  • mfrom: (1.1.7 upstream) (3.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110405211624-90dqmvjzg75m1sz9
* New upstream release supporting -Wl,--no-add-needed tests.
  (Closes: #554729)
* Drop the .la file (release goal) - already tested with pilot-qof.
 (Closes: #620738)

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-04-17'
 
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
281
288
        | pdp10 | pdp11 | pj | pjl \
282
289
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
283
290
        | pyramid \
 
291
        | rx \
284
292
        | score \
285
293
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
286
294
        | sh64 | sh64le \
288
296
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
289
297
        | spu | strongarm \
290
298
        | tahoe | thumb | tic4x | tic80 | tron \
 
299
        | ubicom32 \
291
300
        | v850 | v850e \
292
301
        | we32k \
293
302
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
294
303
        | z8k | z80)
295
304
                basic_machine=$basic_machine-unknown
296
305
                ;;
297
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
306
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
298
307
                # Motorola 68HC11/12.
299
308
                basic_machine=$basic_machine-unknown
300
309
                os=-none
337
346
        | lm32-* \
338
347
        | m32c-* | m32r-* | m32rle-* \
339
348
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
340
 
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
349
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
341
350
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
342
351
        | mips16-* \
343
352
        | mips64-* | mips64el-* \
365
374
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
366
375
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
367
376
        | pyramid-* \
368
 
        | romp-* | rs6000-* \
 
377
        | romp-* | rs6000-* | rx-* \
369
378
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
370
379
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
371
380
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
372
381
        | sparclite-* \
373
382
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
374
383
        | tahoe-* | thumb-* \
375
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
 
384
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
385
        | tile-* | tilegx-* \
376
386
        | tron-* \
 
387
        | ubicom32-* \
377
388
        | v850-* | v850e-* | vax-* \
378
389
        | we32k-* \
379
390
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
467
478
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
468
479
                os=-linux
469
480
                ;;
 
481
        bluegene*)
 
482
                basic_machine=powerpc-ibm
 
483
                os=-cnk
 
484
                ;;
470
485
        c90)
471
486
                basic_machine=c90-cray
472
487
                os=-unicos
719
734
                basic_machine=ns32k-utek
720
735
                os=-sysv
721
736
                ;;
 
737
        microblaze)
 
738
                basic_machine=microblaze-xilinx
 
739
                ;;
722
740
        mingw32)
723
741
                basic_machine=i386-pc
724
742
                os=-mingw32
1069
1087
                basic_machine=tic6x-unknown
1070
1088
                os=-coff
1071
1089
                ;;
 
1090
        # This must be matched before tile*.
 
1091
        tilegx*)
 
1092
                basic_machine=tilegx-unknown
 
1093
                os=-linux-gnu
 
1094
                ;;
1072
1095
        tile*)
1073
1096
                basic_machine=tile-unknown
1074
1097
                os=-linux-gnu
1240
1263
        # First match some system type aliases
1241
1264
        # that might get confused with valid system types.
1242
1265
        # -solaris* is a basic system type, with this one exception.
 
1266
        -auroraux)
 
1267
                os=-auroraux
 
1268
                ;;
1243
1269
        -solaris1 | -solaris1.*)
1244
1270
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1245
1271
                ;;
1260
1286
        # Each alternative MUST END IN A *, to match a version number.
1261
1287
        # -sysv* is not here because it comes later, after sysvr4.
1262
1288
        -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* \
 
1289
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1290
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1291
              | -sym* | -kopensolaris* \
1266
1292
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1267
1293
              | -aos* | -aros* \
1268
1294
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1283
1309
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1284
1310
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1285
1311
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1286
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1312
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1287
1313
        # Remember, each alternative MUST END IN *, to match a version number.
1288
1314
                ;;
1289
1315
        -qnx*)
1416
1442
        -dicos*)
1417
1443
                os=-dicos
1418
1444
                ;;
 
1445
        -nacl*)
 
1446
                ;;
1419
1447
        -none)
1420
1448
                ;;
1421
1449
        *)
1613
1641
                        -sunos*)
1614
1642
                                vendor=sun
1615
1643
                                ;;
1616
 
                        -aix*)
 
1644
                        -cnk*|-aix*)
1617
1645
                                vendor=ibm
1618
1646
                                ;;
1619
1647
                        -beos*)