~ubuntu-branches/ubuntu/natty/lirc/natty-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2010-04-02 15:06:19 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402150619-y1z8c1yqv621a11o
Tags: 0.8.7~pre2-0ubuntu1
* Update to 0.8.7~pre2
  - Fixes issues with lirc on maverick. (LP: #620498)
* Add lirc-in-kernel-ioctls.patch to use ioctls from the kernel for drivers.
* Drop patches upstream now:
  - debian/patches/appleir_repeat_issue.patch
  - debian/patches/hauppauge-tv-card.patch
  - debian/patches/lirc-i2c-2.6.patch
  - debian/patches/lirc_dev-2.6.33.patch
* Add updated-driver-names.patch 
* Refresh patches:
  - debian/patches/02_Makefile.in
  - debian/patches/13-warning-cleanup
* Update extra transmitter and remote databases to not reference atiusb.
* debian/control:
  - Update branches to be owned by ~mythbuntu-dev
* Disable in-kernel-support when starting lircd, and re-enable when
  stopping.

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 Free Software Foundation,
5
 
#   Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2006-07-02'
 
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.
72
75
version="\
73
76
GNU config.sub ($timestamp)
74
77
 
75
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
76
 
Free Software Foundation, Inc.
 
78
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
 
79
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
77
80
 
78
81
This is free software; see the source for copying conditions.  There is NO
79
82
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
122
125
case $maybe_os in
123
126
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
127
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
128
  kopensolaris*-gnu* | \
125
129
  storm-chaos* | os2-emx* | rtmk-nova*)
126
130
    os=-$maybe_os
127
131
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
148
152
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149
153
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150
154
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151
 
        -apple | -axis | -knuth | -cray)
 
155
        -apple | -axis | -knuth | -cray | -microblaze)
152
156
                os=
153
157
                basic_machine=$1
154
158
                ;;
 
159
        -bluegene*)
 
160
                os=-cnk
 
161
                ;;
155
162
        -sim | -cisco | -oki | -wec | -winbond)
156
163
                os=
157
164
                basic_machine=$1
245
252
        | bfin \
246
253
        | c4x | clipper \
247
254
        | d10v | d30v | dlx | dsp16xx \
248
 
        | fr30 | frv \
 
255
        | fido | fr30 | frv \
249
256
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
257
        | i370 | i860 | i960 | ia64 \
251
258
        | ip2k | iq2000 \
 
259
        | lm32 \
252
260
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore \
 
261
        | maxq | mb | microblaze | mcore | mep | metag \
254
262
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
263
        | mips16 \
256
264
        | mips64 | mips64el \
 
265
        | mips64octeon | mips64octeonel \
 
266
        | mips64orion | mips64orionel \
 
267
        | mips64r5900 | mips64r5900el \
257
268
        | mips64vr | mips64vrel \
258
 
        | mips64orion | mips64orionel \
259
269
        | mips64vr4100 | mips64vr4100el \
260
270
        | mips64vr4300 | mips64vr4300el \
261
271
        | mips64vr5000 | mips64vr5000el \
268
278
        | mipsisa64sr71k | mipsisa64sr71kel \
269
279
        | mipstx39 | mipstx39el \
270
280
        | mn10200 | mn10300 \
 
281
        | moxie \
271
282
        | mt \
272
283
        | msp430 \
273
284
        | nios | nios2 \
276
287
        | pdp10 | pdp11 | pj | pjl \
277
288
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
289
        | pyramid \
279
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
290
        | rx \
 
291
        | score \
 
292
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
280
293
        | sh64 | sh64le \
281
294
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
282
295
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
283
296
        | spu | strongarm \
284
297
        | tahoe | thumb | tic4x | tic80 | tron \
 
298
        | ubicom32 \
285
299
        | v850 | v850e \
286
300
        | we32k \
287
 
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
288
 
        | z8k)
 
301
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
302
        | z8k | z80)
289
303
                basic_machine=$basic_machine-unknown
290
304
                ;;
291
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
305
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
292
306
                # Motorola 68HC11/12.
293
307
                basic_machine=$basic_machine-unknown
294
308
                os=-none
323
337
        | clipper-* | craynv-* | cydra-* \
324
338
        | d10v-* | d30v-* | dlx-* \
325
339
        | elxsi-* \
326
 
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
340
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
327
341
        | h8300-* | h8500-* \
328
342
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
329
343
        | i*86-* | i860-* | i960-* | ia64-* \
330
344
        | ip2k-* | iq2000-* \
 
345
        | lm32-* \
331
346
        | m32c-* | m32r-* | m32rle-* \
332
347
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
333
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
348
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
334
349
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
335
350
        | mips16-* \
336
351
        | mips64-* | mips64el-* \
 
352
        | mips64octeon-* | mips64octeonel-* \
 
353
        | mips64orion-* | mips64orionel-* \
 
354
        | mips64r5900-* | mips64r5900el-* \
337
355
        | mips64vr-* | mips64vrel-* \
338
 
        | mips64orion-* | mips64orionel-* \
339
356
        | mips64vr4100-* | mips64vr4100el-* \
340
357
        | mips64vr4300-* | mips64vr4300el-* \
341
358
        | mips64vr5000-* | mips64vr5000el-* \
356
373
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
357
374
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
358
375
        | pyramid-* \
359
 
        | romp-* | rs6000-* \
360
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
376
        | romp-* | rs6000-* | rx-* \
 
377
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
361
378
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
362
379
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
363
380
        | sparclite-* \
364
381
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
365
382
        | tahoe-* | thumb-* \
366
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
383
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
367
384
        | tron-* \
 
385
        | ubicom32-* \
368
386
        | v850-* | v850e-* | vax-* \
369
387
        | we32k-* \
370
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
371
 
        | xstormy16-* | xtensa-* \
 
388
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
389
        | xstormy16-* | xtensa*-* \
372
390
        | ymp-* \
373
 
        | z8k-*)
 
391
        | z8k-* | z80-*)
 
392
                ;;
 
393
        # Recognize the basic CPU types without company name, with glob match.
 
394
        xtensa*)
 
395
                basic_machine=$basic_machine-unknown
374
396
                ;;
375
397
        # Recognize the various machine names and aliases which stand
376
398
        # for a CPU type and a company and sometimes even an OS.
434
456
                basic_machine=m68k-apollo
435
457
                os=-bsd
436
458
                ;;
 
459
        aros)
 
460
                basic_machine=i386-pc
 
461
                os=-aros
 
462
                ;;
437
463
        aux)
438
464
                basic_machine=m68k-apple
439
465
                os=-aux
442
468
                basic_machine=ns32k-sequent
443
469
                os=-dynix
444
470
                ;;
 
471
        blackfin)
 
472
                basic_machine=bfin-unknown
 
473
                os=-linux
 
474
                ;;
 
475
        blackfin-*)
 
476
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 
477
                os=-linux
 
478
                ;;
 
479
        bluegene*)
 
480
                basic_machine=powerpc-ibm
 
481
                os=-cnk
 
482
                ;;
445
483
        c90)
446
484
                basic_machine=c90-cray
447
485
                os=-unicos
448
486
                ;;
 
487
        cegcc)
 
488
                basic_machine=arm-unknown
 
489
                os=-cegcc
 
490
                ;;
449
491
        convex-c1)
450
492
                basic_machine=c1-convex
451
493
                os=-bsd
474
516
                basic_machine=craynv-cray
475
517
                os=-unicosmp
476
518
                ;;
477
 
        cr16c)
478
 
                basic_machine=cr16c-unknown
 
519
        cr16)
 
520
                basic_machine=cr16-unknown
479
521
                os=-elf
480
522
                ;;
481
523
        crds | unos)
513
555
                basic_machine=m88k-motorola
514
556
                os=-sysv3
515
557
                ;;
 
558
        dicos)
 
559
                basic_machine=i686-pc
 
560
                os=-dicos
 
561
                ;;
516
562
        djgpp)
517
563
                basic_machine=i586-pc
518
564
                os=-msdosdjgpp
667
713
                basic_machine=m68k-isi
668
714
                os=-sysv
669
715
                ;;
 
716
        m68knommu)
 
717
                basic_machine=m68k-unknown
 
718
                os=-linux
 
719
                ;;
 
720
        m68knommu-*)
 
721
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 
722
                os=-linux
 
723
                ;;
670
724
        m88k-omron*)
671
725
                basic_machine=m88k-omron
672
726
                ;;
678
732
                basic_machine=ns32k-utek
679
733
                os=-sysv
680
734
                ;;
 
735
        microblaze)
 
736
                basic_machine=microblaze-xilinx
 
737
                ;;
681
738
        mingw32)
682
739
                basic_machine=i386-pc
683
740
                os=-mingw32
684
741
                ;;
 
742
        mingw32ce)
 
743
                basic_machine=arm-unknown
 
744
                os=-mingw32ce
 
745
                ;;
685
746
        miniframe)
686
747
                basic_machine=m68000-convergent
687
748
                ;;
808
869
                basic_machine=i860-intel
809
870
                os=-osf
810
871
                ;;
 
872
        parisc)
 
873
                basic_machine=hppa-unknown
 
874
                os=-linux
 
875
                ;;
 
876
        parisc-*)
 
877
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 
878
                os=-linux
 
879
                ;;
811
880
        pbd)
812
881
                basic_machine=sparc-tti
813
882
                ;;
909
978
        sb1el)
910
979
                basic_machine=mipsisa64sb1el-unknown
911
980
                ;;
 
981
        sde)
 
982
                basic_machine=mipsisa32-sde
 
983
                os=-elf
 
984
                ;;
912
985
        sei)
913
986
                basic_machine=mips-sei
914
987
                os=-seiux
920
993
                basic_machine=sh-hitachi
921
994
                os=-hms
922
995
                ;;
 
996
        sh5el)
 
997
                basic_machine=sh5le-unknown
 
998
                ;;
923
999
        sh64)
924
1000
                basic_machine=sh64-unknown
925
1001
                ;;
1009
1085
                basic_machine=tic6x-unknown
1010
1086
                os=-coff
1011
1087
                ;;
 
1088
        tile*)
 
1089
                basic_machine=tile-unknown
 
1090
                os=-linux-gnu
 
1091
                ;;
1012
1092
        tx39)
1013
1093
                basic_machine=mipstx39-unknown
1014
1094
                ;;
1084
1164
                basic_machine=z8k-unknown
1085
1165
                os=-sim
1086
1166
                ;;
 
1167
        z80-*-coff)
 
1168
                basic_machine=z80-unknown
 
1169
                os=-sim
 
1170
                ;;
1087
1171
        none)
1088
1172
                basic_machine=none-none
1089
1173
                os=-none
1122
1206
        we32k)
1123
1207
                basic_machine=we32k-att
1124
1208
                ;;
1125
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1209
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1126
1210
                basic_machine=sh-unknown
1127
1211
                ;;
1128
1212
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1172
1256
        # First match some system type aliases
1173
1257
        # that might get confused with valid system types.
1174
1258
        # -solaris* is a basic system type, with this one exception.
 
1259
        -auroraux)
 
1260
                os=-auroraux
 
1261
                ;;
1175
1262
        -solaris1 | -solaris1.*)
1176
1263
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1177
1264
                ;;
1192
1279
        # Each alternative MUST END IN A *, to match a version number.
1193
1280
        # -sysv* is not here because it comes later, after sysvr4.
1194
1281
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1195
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1196
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
1282
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 
1283
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1284
              | -sym* | -kopensolaris* \
1197
1285
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1198
 
              | -aos* \
 
1286
              | -aos* | -aros* \
1199
1287
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1200
1288
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1201
1289
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1204
1292
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1205
1293
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1206
1294
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1207
 
              | -chorusos* | -chorusrdb* \
 
1295
              | -chorusos* | -chorusrdb* | -cegcc* \
1208
1296
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1209
1297
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1210
1298
              | -uxpv* | -beos* | -mpeix* | -udk* \
1214
1302
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1215
1303
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1216
1304
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1217
 
              | -skyos* | -haiku* | -rdos* | -toppers*)
 
1305
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1218
1306
        # Remember, each alternative MUST END IN *, to match a version number.
1219
1307
                ;;
1220
1308
        -qnx*)
1344
1432
        -zvmoe)
1345
1433
                os=-zvmoe
1346
1434
                ;;
 
1435
        -dicos*)
 
1436
                os=-dicos
 
1437
                ;;
1347
1438
        -none)
1348
1439
                ;;
1349
1440
        *)
1366
1457
# system, and we'll never get to this point.
1367
1458
 
1368
1459
case $basic_machine in
 
1460
        score-*)
 
1461
                os=-elf
 
1462
                ;;
1369
1463
        spu-*)
1370
1464
                os=-elf
1371
1465
                ;;
1406
1500
        m68*-cisco)
1407
1501
                os=-aout
1408
1502
                ;;
 
1503
        mep-*)
 
1504
                os=-elf
 
1505
                ;;
1409
1506
        mips*-cisco)
1410
1507
                os=-elf
1411
1508
                ;;
1535
1632
                        -sunos*)
1536
1633
                                vendor=sun
1537
1634
                                ;;
1538
 
                        -aix*)
 
1635
                        -cnk*|-aix*)
1539
1636
                                vendor=ibm
1540
1637
                                ;;
1541
1638
                        -beos*)