~ubuntu-branches/debian/sid/strace/sid

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Frederik Schüler
  • Date: 2010-05-04 14:31:46 UTC
  • mfrom: (0.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100504143146-yo6uohwusjj7qxm3
Tags: 4.5.20-2
Add missing sparc syscall defines to fix FTBFS on sparc.

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='2009-12-31'
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-* \
374
383
        | tahoe-* | thumb-* \
375
384
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
376
385
        | tron-* \
 
386
        | ubicom32-* \
377
387
        | v850-* | v850e-* | vax-* \
378
388
        | we32k-* \
379
389
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
467
477
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
468
478
                os=-linux
469
479
                ;;
 
480
        bluegene*)
 
481
                basic_machine=powerpc-ibm
 
482
                os=-cnk
 
483
                ;;
470
484
        c90)
471
485
                basic_machine=c90-cray
472
486
                os=-unicos
719
733
                basic_machine=ns32k-utek
720
734
                os=-sysv
721
735
                ;;
 
736
        microblaze)
 
737
                basic_machine=microblaze-xilinx
 
738
                ;;
722
739
        mingw32)
723
740
                basic_machine=i386-pc
724
741
                os=-mingw32
1240
1257
        # First match some system type aliases
1241
1258
        # that might get confused with valid system types.
1242
1259
        # -solaris* is a basic system type, with this one exception.
 
1260
        -auroraux)
 
1261
                os=-auroraux
 
1262
                ;;
1243
1263
        -solaris1 | -solaris1.*)
1244
1264
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1245
1265
                ;;
1260
1280
        # Each alternative MUST END IN A *, to match a version number.
1261
1281
        # -sysv* is not here because it comes later, after sysvr4.
1262
1282
        -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* \
 
1283
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1284
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1285
              | -sym* | -kopensolaris* \
1266
1286
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1267
1287
              | -aos* | -aros* \
1268
1288
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1283
1303
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1284
1304
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1285
1305
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1286
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1306
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1287
1307
        # Remember, each alternative MUST END IN *, to match a version number.
1288
1308
                ;;
1289
1309
        -qnx*)
1416
1436
        -dicos*)
1417
1437
                os=-dicos
1418
1438
                ;;
 
1439
        -nacl*)
 
1440
                ;;
1419
1441
        -none)
1420
1442
                ;;
1421
1443
        *)
1613
1635
                        -sunos*)
1614
1636
                                vendor=sun
1615
1637
                                ;;
1616
 
                        -aix*)
 
1638
                        -cnk*|-aix*)
1617
1639
                                vendor=ibm
1618
1640
                                ;;
1619
1641
                        -beos*)