~ubuntu-branches/ubuntu/precise/fnfx/precise

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Lorenzo De Liso
  • Date: 2010-06-24 17:37:35 UTC
  • mfrom: (1.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100624173735-78lxyuksizffse8l
Tags: 0.3-14ubuntu1
* Merge from debian unstable (LP: #598143), remaining changes:
  - Add call to autoreconf in rules
  - etc/fnfxd.conf: Changed Hoary to Ubuntu in options that are
    commented out.
  - Add libtool to Build-Depends
  - Add autoconf and automake1.9 to the Build-Depends.
  - Stop setting fnkey_descr in src/fnfxd_newacpi.c, s_acpi_cfg doesn't 
    define that member.

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='2008-01-16'
 
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."
122
126
case $maybe_os in
123
127
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
128
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
129
  kopensolaris*-gnu* | \
125
130
  storm-chaos* | os2-emx* | rtmk-nova*)
126
131
    os=-$maybe_os
127
132
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
148
153
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149
154
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150
155
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151
 
        -apple | -axis | -knuth | -cray)
 
156
        -apple | -axis | -knuth | -cray | -microblaze)
152
157
                os=
153
158
                basic_machine=$1
154
159
                ;;
 
160
        -bluegene*)
 
161
                os=-cnk
 
162
                ;;
155
163
        -sim | -cisco | -oki | -wec | -winbond)
156
164
                os=
157
165
                basic_machine=$1
249
257
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
258
        | i370 | i860 | i960 | ia64 \
251
259
        | ip2k | iq2000 \
 
260
        | lm32 \
252
261
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore | mep \
 
262
        | maxq | mb | microblaze | mcore | mep | metag \
254
263
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
264
        | mips16 \
256
265
        | mips64 | mips64el \
 
266
        | mips64octeon | mips64octeonel \
 
267
        | mips64orion | mips64orionel \
 
268
        | mips64r5900 | mips64r5900el \
257
269
        | mips64vr | mips64vrel \
258
 
        | mips64orion | mips64orionel \
259
270
        | mips64vr4100 | mips64vr4100el \
260
271
        | mips64vr4300 | mips64vr4300el \
261
272
        | mips64vr5000 | mips64vr5000el \
268
279
        | mipsisa64sr71k | mipsisa64sr71kel \
269
280
        | mipstx39 | mipstx39el \
270
281
        | mn10200 | mn10300 \
 
282
        | moxie \
271
283
        | mt \
272
284
        | msp430 \
273
285
        | nios | nios2 \
276
288
        | pdp10 | pdp11 | pj | pjl \
277
289
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
290
        | pyramid \
 
291
        | rx \
279
292
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
293
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281
294
        | sh64 | sh64le \
282
295
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
296
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284
297
        | spu | strongarm \
285
298
        | tahoe | thumb | tic4x | tic80 | tron \
 
299
        | ubicom32 \
286
300
        | v850 | v850e \
287
301
        | we32k \
288
302
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289
 
        | z8k)
 
303
        | z8k | z80)
290
304
                basic_machine=$basic_machine-unknown
291
305
                ;;
292
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
306
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
293
307
                # Motorola 68HC11/12.
294
308
                basic_machine=$basic_machine-unknown
295
309
                os=-none
329
343
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
344
        | i*86-* | i860-* | i960-* | ia64-* \
331
345
        | ip2k-* | iq2000-* \
 
346
        | lm32-* \
332
347
        | m32c-* | m32r-* | m32rle-* \
333
348
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
349
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
335
350
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
351
        | mips16-* \
337
352
        | mips64-* | mips64el-* \
 
353
        | mips64octeon-* | mips64octeonel-* \
 
354
        | mips64orion-* | mips64orionel-* \
 
355
        | mips64r5900-* | mips64r5900el-* \
338
356
        | mips64vr-* | mips64vrel-* \
339
 
        | mips64orion-* | mips64orionel-* \
340
357
        | mips64vr4100-* | mips64vr4100el-* \
341
358
        | mips64vr4300-* | mips64vr4300el-* \
342
359
        | mips64vr5000-* | mips64vr5000el-* \
357
374
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
375
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
376
        | pyramid-* \
360
 
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
377
        | romp-* | rs6000-* | rx-* \
 
378
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362
379
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
380
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364
381
        | sparclite-* \
365
382
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366
383
        | tahoe-* | thumb-* \
367
384
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
385
        | tile-* | tilegx-* \
368
386
        | tron-* \
 
387
        | ubicom32-* \
369
388
        | v850-* | v850e-* | vax-* \
370
389
        | we32k-* \
371
390
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
391
        | xstormy16-* | xtensa*-* \
373
392
        | ymp-* \
374
 
        | z8k-*)
 
393
        | z8k-* | z80-*)
375
394
                ;;
376
395
        # Recognize the basic CPU types without company name, with glob match.
377
396
        xtensa*)
439
458
                basic_machine=m68k-apollo
440
459
                os=-bsd
441
460
                ;;
 
461
        aros)
 
462
                basic_machine=i386-pc
 
463
                os=-aros
 
464
                ;;
442
465
        aux)
443
466
                basic_machine=m68k-apple
444
467
                os=-aux
455
478
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
456
479
                os=-linux
457
480
                ;;
 
481
        bluegene*)
 
482
                basic_machine=powerpc-ibm
 
483
                os=-cnk
 
484
                ;;
458
485
        c90)
459
486
                basic_machine=c90-cray
460
487
                os=-unicos
461
488
                ;;
 
489
        cegcc)
 
490
                basic_machine=arm-unknown
 
491
                os=-cegcc
 
492
                ;;
462
493
        convex-c1)
463
494
                basic_machine=c1-convex
464
495
                os=-bsd
526
557
                basic_machine=m88k-motorola
527
558
                os=-sysv3
528
559
                ;;
 
560
        dicos)
 
561
                basic_machine=i686-pc
 
562
                os=-dicos
 
563
                ;;
529
564
        djgpp)
530
565
                basic_machine=i586-pc
531
566
                os=-msdosdjgpp
699
734
                basic_machine=ns32k-utek
700
735
                os=-sysv
701
736
                ;;
 
737
        microblaze)
 
738
                basic_machine=microblaze-xilinx
 
739
                ;;
702
740
        mingw32)
703
741
                basic_machine=i386-pc
704
742
                os=-mingw32
1049
1087
                basic_machine=tic6x-unknown
1050
1088
                os=-coff
1051
1089
                ;;
 
1090
        # This must be matched before tile*.
 
1091
        tilegx*)
 
1092
                basic_machine=tilegx-unknown
 
1093
                os=-linux-gnu
 
1094
                ;;
1052
1095
        tile*)
1053
1096
                basic_machine=tile-unknown
1054
1097
                os=-linux-gnu
1128
1171
                basic_machine=z8k-unknown
1129
1172
                os=-sim
1130
1173
                ;;
 
1174
        z80-*-coff)
 
1175
                basic_machine=z80-unknown
 
1176
                os=-sim
 
1177
                ;;
1131
1178
        none)
1132
1179
                basic_machine=none-none
1133
1180
                os=-none
1166
1213
        we32k)
1167
1214
                basic_machine=we32k-att
1168
1215
                ;;
1169
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1216
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1170
1217
                basic_machine=sh-unknown
1171
1218
                ;;
1172
1219
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1216
1263
        # First match some system type aliases
1217
1264
        # that might get confused with valid system types.
1218
1265
        # -solaris* is a basic system type, with this one exception.
 
1266
        -auroraux)
 
1267
                os=-auroraux
 
1268
                ;;
1219
1269
        -solaris1 | -solaris1.*)
1220
1270
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1221
1271
                ;;
1236
1286
        # Each alternative MUST END IN A *, to match a version number.
1237
1287
        # -sysv* is not here because it comes later, after sysvr4.
1238
1288
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1239
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1240
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
1289
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1290
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1291
              | -sym* | -kopensolaris* \
1241
1292
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1242
 
              | -aos* \
 
1293
              | -aos* | -aros* \
1243
1294
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1244
1295
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1245
1296
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1248
1299
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1249
1300
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1250
1301
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1251
 
              | -chorusos* | -chorusrdb* \
 
1302
              | -chorusos* | -chorusrdb* | -cegcc* \
1252
1303
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1253
1304
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1254
1305
              | -uxpv* | -beos* | -mpeix* | -udk* \
1258
1309
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1259
1310
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1260
1311
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1261
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1312
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1262
1313
        # Remember, each alternative MUST END IN *, to match a version number.
1263
1314
                ;;
1264
1315
        -qnx*)
1388
1439
        -zvmoe)
1389
1440
                os=-zvmoe
1390
1441
                ;;
 
1442
        -dicos*)
 
1443
                os=-dicos
 
1444
                ;;
 
1445
        -nacl*)
 
1446
                ;;
1391
1447
        -none)
1392
1448
                ;;
1393
1449
        *)
1585
1641
                        -sunos*)
1586
1642
                                vendor=sun
1587
1643
                                ;;
1588
 
                        -aix*)
 
1644
                        -cnk*|-aix*)
1589
1645
                                vendor=ibm
1590
1646
                                ;;
1591
1647
                        -beos*)