~ubuntu-branches/ubuntu/vivid/icoutils/vivid

« back to all changes in this revision

Viewing changes to build-aux/config.sub

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-09-07 01:29:54 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120907012954-xmrjyo1pp6tvk798
Tags: 0.30.0-1
* New upstream release.
  - Limit size of extracted icon to size of resource (LP: #872739,
    #956065, #976092).

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-02-03'
 
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
245
251
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
246
252
        | bfin \
247
253
        | c4x | clipper \
248
 
        | d10v | d30v | dlx | dsp16xx | dvp \
 
254
        | d10v | d30v | dlx | dsp16xx \
249
255
        | fido | fr30 | frv \
250
256
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
251
257
        | i370 | i860 | i960 | ia64 \
272
278
        | mipsisa64sr71k | mipsisa64sr71kel \
273
279
        | mipstx39 | mipstx39el \
274
280
        | mn10200 | mn10300 \
 
281
        | moxie \
275
282
        | mt \
276
283
        | msp430 \
277
284
        | nios | nios2 \
280
287
        | pdp10 | pdp11 | pj | pjl \
281
288
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
282
289
        | pyramid \
 
290
        | rx \
283
291
        | score \
284
292
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
285
293
        | sh64 | sh64le \
287
295
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
288
296
        | spu | strongarm \
289
297
        | tahoe | thumb | tic4x | tic80 | tron \
 
298
        | ubicom32 \
290
299
        | v850 | v850e \
291
300
        | we32k \
292
301
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
293
302
        | z8k | z80)
294
303
                basic_machine=$basic_machine-unknown
295
304
                ;;
296
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
305
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
297
306
                # Motorola 68HC11/12.
298
307
                basic_machine=$basic_machine-unknown
299
308
                os=-none
336
345
        | lm32-* \
337
346
        | m32c-* | m32r-* | m32rle-* \
338
347
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
339
 
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
348
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
340
349
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
341
350
        | mips16-* \
342
351
        | mips64-* | mips64el-* \
364
373
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
365
374
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
366
375
        | pyramid-* \
367
 
        | romp-* | rs6000-* \
 
376
        | romp-* | rs6000-* | rx-* \
368
377
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
369
378
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
370
379
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
373
382
        | tahoe-* | thumb-* \
374
383
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
375
384
        | tron-* \
 
385
        | ubicom32-* \
376
386
        | v850-* | v850e-* | vax-* \
377
387
        | we32k-* \
378
388
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
466
476
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
467
477
                os=-linux
468
478
                ;;
 
479
        bluegene*)
 
480
                basic_machine=powerpc-ibm
 
481
                os=-cnk
 
482
                ;;
469
483
        c90)
470
484
                basic_machine=c90-cray
471
485
                os=-unicos
718
732
                basic_machine=ns32k-utek
719
733
                os=-sysv
720
734
                ;;
 
735
        microblaze)
 
736
                basic_machine=microblaze-xilinx
 
737
                ;;
721
738
        mingw32)
722
739
                basic_machine=i386-pc
723
740
                os=-mingw32
733
750
                basic_machine=m68k-atari
734
751
                os=-mint
735
752
                ;;
736
 
        mipsEE* | ee | ps2)
737
 
                basic_machine=mips64r5900el-scei
738
 
                case $os in
739
 
                    -linux*)
740
 
                        ;;
741
 
                    *)
742
 
                        os=-elf
743
 
                        ;;
744
 
                esac
745
 
                ;;
746
 
        iop)
747
 
                basic_machine=mipsel-scei
748
 
                os=-irx
749
 
                ;;
750
 
        dvp)
751
 
                basic_machine=dvp-scei
752
 
                os=-elf
753
 
                ;;
754
753
        mips3*-*)
755
754
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
756
755
                ;;
1257
1256
        # First match some system type aliases
1258
1257
        # that might get confused with valid system types.
1259
1258
        # -solaris* is a basic system type, with this one exception.
 
1259
        -auroraux)
 
1260
                os=-auroraux
 
1261
                ;;
1260
1262
        -solaris1 | -solaris1.*)
1261
1263
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1262
1264
                ;;
1277
1279
        # Each alternative MUST END IN A *, to match a version number.
1278
1280
        # -sysv* is not here because it comes later, after sysvr4.
1279
1281
        -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* \
 
1282
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1283
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1284
              | -sym* | -kopensolaris* \
1283
1285
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1284
1286
              | -aos* | -aros* \
1285
1287
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1300
1302
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1301
1303
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1302
1304
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1303
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
 
1305
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1304
1306
        # Remember, each alternative MUST END IN *, to match a version number.
1305
1307
                ;;
1306
1308
        -qnx*)
1630
1632
                        -sunos*)
1631
1633
                                vendor=sun
1632
1634
                                ;;
1633
 
                        -aix*)
 
1635
                        -cnk*|-aix*)
1634
1636
                                vendor=ibm
1635
1637
                                ;;
1636
1638
                        -beos*)