~ubuntu-branches/ubuntu/precise/thunar-media-tags-plugin/precise

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Yves-Alexis Perez
  • Date: 2011-11-30 22:20:30 UTC
  • mfrom: (1.1.5) (1.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20111130222030-5pjt5dulv5rnriql
Tags: 0.2.0-1
* New upstream release.
* debian/patches:
  - 01_port-to-thunarx-2 and 02_port-to-exo-1,
    03_fix-crash-with-ogg-video-files and 04_fix-implicit-dso-linkin
    dropped, included upstream.
* debian/rules:
  - drop xdt-autogen rules, not needed anymore.
  - use dh9 and dpkg-dev 1.16.1 hardening rules.
  - switch to multiarch paths.
* debian/compat bumped to 9 for hardening support.
* debian/control:
  - update debhelper build-dep for hardening support
  - add dpkg-dev build-dep for hardening support
  - drop build-deps for autoreconf.

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 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 
5
#   Free Software Foundation, Inc.
5
6
 
6
 
timestamp='2005-12-11'
 
7
timestamp='2009-11-20'
7
8
 
8
9
# This file is (in principle) common to ALL GNU software.
9
10
# The presence of a machine in this file suggests that SOME GNU software
31
32
 
32
33
 
33
34
# Please send patches to <config-patches@gnu.org>.  Submit a context
34
 
# diff and a properly formatted ChangeLog entry.
 
35
# diff and a properly formatted GNU ChangeLog entry.
35
36
#
36
37
# Configuration subroutine to validate and canonicalize a configuration type.
37
38
# Supply the specified configuration type as an argument.
38
39
# If it is invalid, we print an error message on stderr and exit with code 1.
39
40
# Otherwise, we print the canonical config type on stdout and succeed.
40
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
 
41
45
# This file is supposed to be the same for all GNU packages
42
46
# and recognize all the CPU types, system types and aliases
43
47
# that are meaningful with *any* GNU software.
71
75
version="\
72
76
GNU config.sub ($timestamp)
73
77
 
74
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
75
 
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.
76
80
 
77
81
This is free software; see the source for copying conditions.  There is NO
78
82
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
121
125
case $maybe_os in
122
126
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
123
127
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
128
  kopensolaris*-gnu* | \
124
129
  storm-chaos* | os2-emx* | rtmk-nova*)
125
130
    os=-$maybe_os
126
131
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
147
152
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
148
153
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
149
154
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
150
 
        -apple | -axis | -knuth | -cray)
 
155
        -apple | -axis | -knuth | -cray | -microblaze)
151
156
                os=
152
157
                basic_machine=$1
153
158
                ;;
 
159
        -bluegene*)
 
160
                os=-cnk
 
161
                ;;
154
162
        -sim | -cisco | -oki | -wec | -winbond)
155
163
                os=
156
164
                basic_machine=$1
240
248
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
241
249
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
242
250
        | am33_2.0 \
243
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
251
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
244
252
        | bfin \
245
253
        | c4x | clipper \
246
254
        | d10v | d30v | dlx | dsp16xx \
247
 
        | fr30 | frv \
 
255
        | fido | fr30 | frv \
248
256
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
249
257
        | i370 | i860 | i960 | ia64 \
250
258
        | ip2k | iq2000 \
251
 
        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
 
259
        | lm32 \
 
260
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
 
261
        | maxq | mb | microblaze | mcore | mep | metag \
252
262
        | mips | mipsbe | mipseb | mipsel | mipsle \
253
263
        | mips16 \
254
264
        | mips64 | mips64el \
 
265
        | mips64octeon | mips64octeonel \
 
266
        | mips64orion | mips64orionel \
 
267
        | mips64r5900 | mips64r5900el \
255
268
        | mips64vr | mips64vrel \
256
 
        | mips64orion | mips64orionel \
257
269
        | mips64vr4100 | mips64vr4100el \
258
270
        | mips64vr4300 | mips64vr4300el \
259
271
        | mips64vr5000 | mips64vr5000el \
266
278
        | mipsisa64sr71k | mipsisa64sr71kel \
267
279
        | mipstx39 | mipstx39el \
268
280
        | mn10200 | mn10300 \
 
281
        | moxie \
269
282
        | mt \
270
283
        | msp430 \
 
284
        | nios | nios2 \
271
285
        | ns16k | ns32k \
272
286
        | or32 \
273
287
        | pdp10 | pdp11 | pj | pjl \
274
288
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
275
289
        | pyramid \
276
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | 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 \
277
293
        | sh64 | sh64le \
278
 
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
279
 
        | sparcv8 | sparcv9 | sparcv9b \
280
 
        | strongarm \
 
294
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 
295
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
296
        | spu | strongarm \
281
297
        | tahoe | thumb | tic4x | tic80 | tron \
 
298
        | ubicom32 \
282
299
        | v850 | v850e \
283
300
        | we32k \
284
 
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
285
 
        | z8k)
286
 
                basic_machine=$basic_machine-unknown
287
 
                ;;
288
 
        m32c)
289
 
                basic_machine=$basic_machine-unknown
290
 
                ;;
291
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
301
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
302
        | z8k | z80)
 
303
                basic_machine=$basic_machine-unknown
 
304
                ;;
 
305
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
292
306
                # Motorola 68HC11/12.
293
307
                basic_machine=$basic_machine-unknown
294
308
                os=-none
317
331
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
318
332
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
319
333
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
320
 
        | avr-* \
 
334
        | avr-* | avr32-* \
321
335
        | bfin-* | bs2000-* \
322
336
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
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-* \
331
 
        | m32r-* | m32rle-* \
 
345
        | lm32-* \
 
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-* \
350
367
        | mmix-* \
351
368
        | mt-* \
352
369
        | msp430-* \
 
370
        | nios-* | nios2-* \
353
371
        | none-* | np1-* | ns16k-* | ns32k-* \
354
372
        | orion-* \
355
373
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
356
374
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
357
375
        | pyramid-* \
358
 
        | romp-* | rs6000-* \
359
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
376
        | romp-* | rs6000-* | rx-* \
 
377
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
360
378
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
361
 
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 
379
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
362
380
        | sparclite-* \
363
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
381
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
364
382
        | tahoe-* | thumb-* \
365
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
383
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
366
384
        | tron-* \
 
385
        | ubicom32-* \
367
386
        | v850-* | v850e-* | vax-* \
368
387
        | we32k-* \
369
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
370
 
        | xstormy16-* | xtensa-* \
 
388
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
389
        | xstormy16-* | xtensa*-* \
371
390
        | ymp-* \
372
 
        | z8k-*)
 
391
        | z8k-* | z80-*)
373
392
                ;;
374
 
        m32c-*)
 
393
        # Recognize the basic CPU types without company name, with glob match.
 
394
        xtensa*)
 
395
                basic_machine=$basic_machine-unknown
375
396
                ;;
376
397
        # Recognize the various machine names and aliases which stand
377
398
        # for a CPU type and a company and sometimes even an OS.
435
456
                basic_machine=m68k-apollo
436
457
                os=-bsd
437
458
                ;;
 
459
        aros)
 
460
                basic_machine=i386-pc
 
461
                os=-aros
 
462
                ;;
438
463
        aux)
439
464
                basic_machine=m68k-apple
440
465
                os=-aux
443
468
                basic_machine=ns32k-sequent
444
469
                os=-dynix
445
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
                ;;
446
483
        c90)
447
484
                basic_machine=c90-cray
448
485
                os=-unicos
449
486
                ;;
 
487
        cegcc)
 
488
                basic_machine=arm-unknown
 
489
                os=-cegcc
 
490
                ;;
450
491
        convex-c1)
451
492
                basic_machine=c1-convex
452
493
                os=-bsd
475
516
                basic_machine=craynv-cray
476
517
                os=-unicosmp
477
518
                ;;
478
 
        cr16c)
479
 
                basic_machine=cr16c-unknown
 
519
        cr16)
 
520
                basic_machine=cr16-unknown
480
521
                os=-elf
481
522
                ;;
482
523
        crds | unos)
514
555
                basic_machine=m88k-motorola
515
556
                os=-sysv3
516
557
                ;;
 
558
        dicos)
 
559
                basic_machine=i686-pc
 
560
                os=-dicos
 
561
                ;;
517
562
        djgpp)
518
563
                basic_machine=i586-pc
519
564
                os=-msdosdjgpp
668
713
                basic_machine=m68k-isi
669
714
                os=-sysv
670
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
                ;;
671
724
        m88k-omron*)
672
725
                basic_machine=m88k-omron
673
726
                ;;
679
732
                basic_machine=ns32k-utek
680
733
                os=-sysv
681
734
                ;;
 
735
        microblaze)
 
736
                basic_machine=microblaze-xilinx
 
737
                ;;
682
738
        mingw32)
683
739
                basic_machine=i386-pc
684
740
                os=-mingw32
685
741
                ;;
 
742
        mingw32ce)
 
743
                basic_machine=arm-unknown
 
744
                os=-mingw32ce
 
745
                ;;
686
746
        miniframe)
687
747
                basic_machine=m68000-convergent
688
748
                ;;
809
869
                basic_machine=i860-intel
810
870
                os=-osf
811
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
                ;;
812
880
        pbd)
813
881
                basic_machine=sparc-tti
814
882
                ;;
818
886
        pc532 | pc532-*)
819
887
                basic_machine=ns32k-pc532
820
888
                ;;
 
889
        pc98)
 
890
                basic_machine=i386-pc
 
891
                ;;
 
892
        pc98-*)
 
893
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
894
                ;;
821
895
        pentium | p5 | k5 | k6 | nexgen | viac3)
822
896
                basic_machine=i586-pc
823
897
                ;;
904
978
        sb1el)
905
979
                basic_machine=mipsisa64sb1el-unknown
906
980
                ;;
 
981
        sde)
 
982
                basic_machine=mipsisa32-sde
 
983
                os=-elf
 
984
                ;;
907
985
        sei)
908
986
                basic_machine=mips-sei
909
987
                os=-seiux
915
993
                basic_machine=sh-hitachi
916
994
                os=-hms
917
995
                ;;
 
996
        sh5el)
 
997
                basic_machine=sh5le-unknown
 
998
                ;;
918
999
        sh64)
919
1000
                basic_machine=sh64-unknown
920
1001
                ;;
1004
1085
                basic_machine=tic6x-unknown
1005
1086
                os=-coff
1006
1087
                ;;
 
1088
        tile*)
 
1089
                basic_machine=tile-unknown
 
1090
                os=-linux-gnu
 
1091
                ;;
1007
1092
        tx39)
1008
1093
                basic_machine=mipstx39-unknown
1009
1094
                ;;
1079
1164
                basic_machine=z8k-unknown
1080
1165
                os=-sim
1081
1166
                ;;
 
1167
        z80-*-coff)
 
1168
                basic_machine=z80-unknown
 
1169
                os=-sim
 
1170
                ;;
1082
1171
        none)
1083
1172
                basic_machine=none-none
1084
1173
                os=-none
1117
1206
        we32k)
1118
1207
                basic_machine=we32k-att
1119
1208
                ;;
1120
 
        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)
1121
1210
                basic_machine=sh-unknown
1122
1211
                ;;
1123
 
        sparc | sparcv8 | sparcv9 | sparcv9b)
 
1212
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1124
1213
                basic_machine=sparc-sun
1125
1214
                ;;
1126
1215
        cydra)
1167
1256
        # First match some system type aliases
1168
1257
        # that might get confused with valid system types.
1169
1258
        # -solaris* is a basic system type, with this one exception.
 
1259
        -auroraux)
 
1260
                os=-auroraux
 
1261
                ;;
1170
1262
        -solaris1 | -solaris1.*)
1171
1263
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1172
1264
                ;;
1187
1279
        # Each alternative MUST END IN A *, to match a version number.
1188
1280
        # -sysv* is not here because it comes later, after sysvr4.
1189
1281
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1190
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1191
 
              | -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* \
1192
1285
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1193
 
              | -aos* \
 
1286
              | -aos* | -aros* \
1194
1287
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1195
1288
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1196
 
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 
1289
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
1290
              | -openbsd* | -solidbsd* \
1197
1291
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1198
1292
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1199
1293
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1200
1294
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1201
 
              | -chorusos* | -chorusrdb* \
 
1295
              | -chorusos* | -chorusrdb* | -cegcc* \
1202
1296
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1203
1297
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1204
1298
              | -uxpv* | -beos* | -mpeix* | -udk* \
1208
1302
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1209
1303
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1210
1304
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1211
 
              | -skyos* | -haiku* | -rdos*)
 
1305
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1212
1306
        # Remember, each alternative MUST END IN *, to match a version number.
1213
1307
                ;;
1214
1308
        -qnx*)
1338
1432
        -zvmoe)
1339
1433
                os=-zvmoe
1340
1434
                ;;
 
1435
        -dicos*)
 
1436
                os=-dicos
 
1437
                ;;
1341
1438
        -none)
1342
1439
                ;;
1343
1440
        *)
1360
1457
# system, and we'll never get to this point.
1361
1458
 
1362
1459
case $basic_machine in
 
1460
        score-*)
 
1461
                os=-elf
 
1462
                ;;
 
1463
        spu-*)
 
1464
                os=-elf
 
1465
                ;;
1363
1466
        *-acorn)
1364
1467
                os=-riscix1.2
1365
1468
                ;;
1369
1472
        arm*-semi)
1370
1473
                os=-aout
1371
1474
                ;;
1372
 
    c4x-* | tic4x-*)
1373
 
        os=-coff
1374
 
        ;;
 
1475
        c4x-* | tic4x-*)
 
1476
                os=-coff
 
1477
                ;;
1375
1478
        # This must come before the *-dec entry.
1376
1479
        pdp10-*)
1377
1480
                os=-tops20
1397
1500
        m68*-cisco)
1398
1501
                os=-aout
1399
1502
                ;;
 
1503
        mep-*)
 
1504
                os=-elf
 
1505
                ;;
1400
1506
        mips*-cisco)
1401
1507
                os=-elf
1402
1508
                ;;
1526
1632
                        -sunos*)
1527
1633
                                vendor=sun
1528
1634
                                ;;
1529
 
                        -aix*)
 
1635
                        -cnk*|-aix*)
1530
1636
                                vendor=ibm
1531
1637
                                ;;
1532
1638
                        -beos*)