~ubuntu-branches/ubuntu/precise/xserver-xorg-input-vmmouse/precise-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda
  • Date: 2009-05-22 15:03:55 UTC
  • mfrom: (1.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090522150355-r5ozt1torzvjin0d
Tags: 1:12.6.4-1ubuntu1
* Merge from debian unstable.
* New changes:
  - debian/control:
    + Add mdetect (<< 0.5.2.1ubuntu5) to Replaces: for seamless upgrade.
      This change may be removed after we drop Hardy support.
* Fixes bugs:
  - VMWare fusion host + vmmouse driver generates drag events on
    any click (LP: #366521)

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
5
 
#   Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
6
5
 
7
 
timestamp='2008-01-16'
 
6
timestamp='2005-12-11'
8
7
 
9
8
# This file is (in principle) common to ALL GNU software.
10
9
# The presence of a machine in this file suggests that SOME GNU software
72
71
version="\
73
72
GNU config.sub ($timestamp)
74
73
 
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.
 
74
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
75
Free Software Foundation, Inc.
77
76
 
78
77
This is free software; see the source for copying conditions.  There is NO
79
78
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
241
240
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
242
241
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
243
242
        | am33_2.0 \
244
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
243
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
245
244
        | bfin \
246
245
        | c4x | clipper \
247
246
        | d10v | d30v | dlx | dsp16xx \
248
 
        | fido | fr30 | frv \
 
247
        | fr30 | frv \
249
248
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
249
        | i370 | i860 | i960 | ia64 \
251
250
        | ip2k | iq2000 \
252
 
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore | mep \
 
251
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
254
252
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
253
        | mips16 \
256
254
        | mips64 | mips64el \
270
268
        | mn10200 | mn10300 \
271
269
        | mt \
272
270
        | msp430 \
273
 
        | nios | nios2 \
274
271
        | ns16k | ns32k \
275
272
        | or32 \
276
273
        | pdp10 | pdp11 | pj | pjl \
277
274
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
275
        | pyramid \
279
 
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
276
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
281
277
        | sh64 | sh64le \
282
 
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
 
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284
 
        | spu | strongarm \
 
278
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 
279
        | sparcv8 | sparcv9 | sparcv9b \
 
280
        | strongarm \
285
281
        | tahoe | thumb | tic4x | tic80 | tron \
286
282
        | v850 | v850e \
287
283
        | we32k \
288
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
284
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
289
285
        | z8k)
290
286
                basic_machine=$basic_machine-unknown
291
287
                ;;
 
288
        m32c)
 
289
                basic_machine=$basic_machine-unknown
 
290
                ;;
292
291
        m6811 | m68hc11 | m6812 | m68hc12)
293
292
                # Motorola 68HC11/12.
294
293
                basic_machine=$basic_machine-unknown
318
317
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
319
318
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
320
319
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
321
 
        | avr-* | avr32-* \
 
320
        | avr-* \
322
321
        | bfin-* | bs2000-* \
323
322
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
324
323
        | clipper-* | craynv-* | cydra-* \
325
324
        | d10v-* | d30v-* | dlx-* \
326
325
        | elxsi-* \
327
 
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
 
326
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
328
327
        | h8300-* | h8500-* \
329
328
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
329
        | i*86-* | i860-* | i960-* | ia64-* \
331
330
        | ip2k-* | iq2000-* \
332
 
        | m32c-* | m32r-* | m32rle-* \
 
331
        | m32r-* | m32rle-* \
333
332
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
333
        | m88110-* | m88k-* | maxq-* | mcore-* \
335
334
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
351
350
        | mmix-* \
352
351
        | mt-* \
353
352
        | msp430-* \
354
 
        | nios-* | nios2-* \
355
353
        | none-* | np1-* | ns16k-* | ns32k-* \
356
354
        | orion-* \
357
355
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
356
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
357
        | pyramid-* \
360
358
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
359
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
362
360
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
 
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
361
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
364
362
        | sparclite-* \
365
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 
363
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
366
364
        | tahoe-* | thumb-* \
367
365
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
368
366
        | tron-* \
369
367
        | v850-* | v850e-* | vax-* \
370
368
        | we32k-* \
371
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
 
        | xstormy16-* | xtensa*-* \
 
369
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 
370
        | xstormy16-* | xtensa-* \
373
371
        | ymp-* \
374
372
        | z8k-*)
375
373
                ;;
376
 
        # Recognize the basic CPU types without company name, with glob match.
377
 
        xtensa*)
378
 
                basic_machine=$basic_machine-unknown
 
374
        m32c-*)
379
375
                ;;
380
376
        # Recognize the various machine names and aliases which stand
381
377
        # for a CPU type and a company and sometimes even an OS.
447
443
                basic_machine=ns32k-sequent
448
444
                os=-dynix
449
445
                ;;
450
 
        blackfin)
451
 
                basic_machine=bfin-unknown
452
 
                os=-linux
453
 
                ;;
454
 
        blackfin-*)
455
 
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
456
 
                os=-linux
457
 
                ;;
458
446
        c90)
459
447
                basic_machine=c90-cray
460
448
                os=-unicos
487
475
                basic_machine=craynv-cray
488
476
                os=-unicosmp
489
477
                ;;
490
 
        cr16)
491
 
                basic_machine=cr16-unknown
 
478
        cr16c)
 
479
                basic_machine=cr16c-unknown
492
480
                os=-elf
493
481
                ;;
494
482
        crds | unos)
680
668
                basic_machine=m68k-isi
681
669
                os=-sysv
682
670
                ;;
683
 
        m68knommu)
684
 
                basic_machine=m68k-unknown
685
 
                os=-linux
686
 
                ;;
687
 
        m68knommu-*)
688
 
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
689
 
                os=-linux
690
 
                ;;
691
671
        m88k-omron*)
692
672
                basic_machine=m88k-omron
693
673
                ;;
703
683
                basic_machine=i386-pc
704
684
                os=-mingw32
705
685
                ;;
706
 
        mingw32ce)
707
 
                basic_machine=arm-unknown
708
 
                os=-mingw32ce
709
 
                ;;
710
686
        miniframe)
711
687
                basic_machine=m68000-convergent
712
688
                ;;
833
809
                basic_machine=i860-intel
834
810
                os=-osf
835
811
                ;;
836
 
        parisc)
837
 
                basic_machine=hppa-unknown
838
 
                os=-linux
839
 
                ;;
840
 
        parisc-*)
841
 
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
842
 
                os=-linux
843
 
                ;;
844
812
        pbd)
845
813
                basic_machine=sparc-tti
846
814
                ;;
850
818
        pc532 | pc532-*)
851
819
                basic_machine=ns32k-pc532
852
820
                ;;
853
 
        pc98)
854
 
                basic_machine=i386-pc
855
 
                ;;
856
 
        pc98-*)
857
 
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
858
 
                ;;
859
821
        pentium | p5 | k5 | k6 | nexgen | viac3)
860
822
                basic_machine=i586-pc
861
823
                ;;
942
904
        sb1el)
943
905
                basic_machine=mipsisa64sb1el-unknown
944
906
                ;;
945
 
        sde)
946
 
                basic_machine=mipsisa32-sde
947
 
                os=-elf
948
 
                ;;
949
907
        sei)
950
908
                basic_machine=mips-sei
951
909
                os=-seiux
957
915
                basic_machine=sh-hitachi
958
916
                os=-hms
959
917
                ;;
960
 
        sh5el)
961
 
                basic_machine=sh5le-unknown
962
 
                ;;
963
918
        sh64)
964
919
                basic_machine=sh64-unknown
965
920
                ;;
1049
1004
                basic_machine=tic6x-unknown
1050
1005
                os=-coff
1051
1006
                ;;
1052
 
        tile*)
1053
 
                basic_machine=tile-unknown
1054
 
                os=-linux-gnu
1055
 
                ;;
1056
1007
        tx39)
1057
1008
                basic_machine=mipstx39-unknown
1058
1009
                ;;
1169
1120
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1170
1121
                basic_machine=sh-unknown
1171
1122
                ;;
1172
 
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 
1123
        sparc | sparcv8 | sparcv9 | sparcv9b)
1173
1124
                basic_machine=sparc-sun
1174
1125
                ;;
1175
1126
        cydra)
1242
1193
              | -aos* \
1243
1194
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1244
1195
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1245
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1246
 
              | -openbsd* | -solidbsd* \
 
1196
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1247
1197
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1248
1198
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1249
1199
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1258
1208
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1259
1209
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1260
1210
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1261
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1211
              | -skyos* | -haiku* | -rdos*)
1262
1212
        # Remember, each alternative MUST END IN *, to match a version number.
1263
1213
                ;;
1264
1214
        -qnx*)
1410
1360
# system, and we'll never get to this point.
1411
1361
 
1412
1362
case $basic_machine in
1413
 
        score-*)
1414
 
                os=-elf
1415
 
                ;;
1416
 
        spu-*)
1417
 
                os=-elf
1418
 
                ;;
1419
1363
        *-acorn)
1420
1364
                os=-riscix1.2
1421
1365
                ;;
1425
1369
        arm*-semi)
1426
1370
                os=-aout
1427
1371
                ;;
1428
 
        c4x-* | tic4x-*)
1429
 
                os=-coff
1430
 
                ;;
 
1372
    c4x-* | tic4x-*)
 
1373
        os=-coff
 
1374
        ;;
1431
1375
        # This must come before the *-dec entry.
1432
1376
        pdp10-*)
1433
1377
                os=-tops20
1453
1397
        m68*-cisco)
1454
1398
                os=-aout
1455
1399
                ;;
1456
 
        mep-*)
1457
 
                os=-elf
1458
 
                ;;
1459
1400
        mips*-cisco)
1460
1401
                os=-elf
1461
1402
                ;;