~ubuntu-branches/ubuntu/saucy/x11-xkb-utils/saucy-proposed

« back to all changes in this revision

Viewing changes to setxkbmap/config.sub

  • Committer: Package Import Robot
  • Author(s): Julien Cristau
  • Date: 2012-04-30 20:40:11 UTC
  • mfrom: (2.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120430204011-5oamjlu42ndx1w4f
Tags: 7.7~1
* setxkbmap 1.3 0
* xkbcomp 1.2.4
* Don't use dh_testroot in debian/rules clean.
* xkbevd 1.1.3
* Bump x11proto-core-dev build-dep to 7.0.17.
* Tell dh_install to ignore xkbcomp.pc, nothing uses that AFAIK.

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, 2009
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-11-20'
 
7
timestamp='2010-09-11'
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
75
75
version="\
76
76
GNU config.sub ($timestamp)
77
77
 
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.
 
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.
80
81
 
81
82
This is free software; see the source for copying conditions.  There is NO
82
83
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
123
124
# Here we must recognize all the valid KERNEL-OS combinations.
124
125
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
125
126
case $maybe_os in
126
 
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
127
 
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
127
  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
 
128
  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
 
129
  knetbsd*-gnu* | netbsd*-gnu* | \
128
130
  kopensolaris*-gnu* | \
129
131
  storm-chaos* | os2-emx* | rtmk-nova*)
130
132
    os=-$maybe_os
281
283
        | moxie \
282
284
        | mt \
283
285
        | msp430 \
 
286
        | nds32 | nds32le | nds32be \
284
287
        | nios | nios2 \
285
288
        | ns16k | ns32k \
286
289
        | or32 \
294
297
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
295
298
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
296
299
        | spu | strongarm \
297
 
        | tahoe | thumb | tic4x | tic80 | tron \
 
300
        | tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
298
301
        | ubicom32 \
299
302
        | v850 | v850e \
300
303
        | we32k \
302
305
        | z8k | z80)
303
306
                basic_machine=$basic_machine-unknown
304
307
                ;;
 
308
        c54x)
 
309
                basic_machine=tic54x-unknown
 
310
                ;;
 
311
        c55x)
 
312
                basic_machine=tic55x-unknown
 
313
                ;;
 
314
        c6x)
 
315
                basic_machine=tic6x-unknown
 
316
                ;;
305
317
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
306
318
                # Motorola 68HC11/12.
307
319
                basic_machine=$basic_machine-unknown
333
345
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
334
346
        | avr-* | avr32-* \
335
347
        | bfin-* | bs2000-* \
336
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
348
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
337
349
        | clipper-* | craynv-* | cydra-* \
338
350
        | d10v-* | d30v-* | dlx-* \
339
351
        | elxsi-* \
367
379
        | mmix-* \
368
380
        | mt-* \
369
381
        | msp430-* \
 
382
        | nds32-* | nds32le-* | nds32be-* \
370
383
        | nios-* | nios2-* \
371
384
        | none-* | np1-* | ns16k-* | ns32k-* \
372
385
        | orion-* \
380
393
        | sparclite-* \
381
394
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
382
395
        | tahoe-* | thumb-* \
383
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
 
396
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
397
        | tile-* | tilegx-* \
384
398
        | tron-* \
385
399
        | ubicom32-* \
386
400
        | v850-* | v850e-* | vax-* \
480
494
                basic_machine=powerpc-ibm
481
495
                os=-cnk
482
496
                ;;
 
497
        c54x-*)
 
498
                basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
499
                ;;
 
500
        c55x-*)
 
501
                basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
502
                ;;
 
503
        c6x-*)
 
504
                basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
505
                ;;
483
506
        c90)
484
507
                basic_machine=c90-cray
485
508
                os=-unicos
839
862
        np1)
840
863
                basic_machine=np1-gould
841
864
                ;;
 
865
        neo-tandem)
 
866
                basic_machine=neo-tandem
 
867
                ;;
 
868
        nse-tandem)
 
869
                basic_machine=nse-tandem
 
870
                ;;
842
871
        nsr-tandem)
843
872
                basic_machine=nsr-tandem
844
873
                ;;
1073
1102
                basic_machine=t90-cray
1074
1103
                os=-unicos
1075
1104
                ;;
1076
 
        tic54x | c54x*)
1077
 
                basic_machine=tic54x-unknown
1078
 
                os=-coff
1079
 
                ;;
1080
 
        tic55x | c55x*)
1081
 
                basic_machine=tic55x-unknown
1082
 
                os=-coff
1083
 
                ;;
1084
 
        tic6x | c6x*)
1085
 
                basic_machine=tic6x-unknown
1086
 
                os=-coff
 
1105
        # This must be matched before tile*.
 
1106
        tilegx*)
 
1107
                basic_machine=tilegx-unknown
 
1108
                os=-linux-gnu
1087
1109
                ;;
1088
1110
        tile*)
1089
1111
                basic_machine=tile-unknown
1294
1316
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1295
1317
              | -chorusos* | -chorusrdb* | -cegcc* \
1296
1318
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1297
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1319
              | -mingw32* | -linux-gnu* | -linux-android* \
 
1320
              | -linux-newlib* | -linux-uclibc* \
1298
1321
              | -uxpv* | -beos* | -mpeix* | -udk* \
1299
1322
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1300
1323
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1435
1458
        -dicos*)
1436
1459
                os=-dicos
1437
1460
                ;;
 
1461
        -nacl*)
 
1462
                ;;
1438
1463
        -none)
1439
1464
                ;;
1440
1465
        *)
1475
1500
        c4x-* | tic4x-*)
1476
1501
                os=-coff
1477
1502
                ;;
 
1503
        tic54x-*)
 
1504
                os=-coff
 
1505
                ;;
 
1506
        tic55x-*)
 
1507
                os=-coff
 
1508
                ;;
 
1509
        tic6x-*)
 
1510
                os=-coff
 
1511
                ;;
1478
1512
        # This must come before the *-dec entry.
1479
1513
        pdp10-*)
1480
1514
                os=-tops20