~ubuntu-branches/ubuntu/vivid/xfce4-systemload-plugin/vivid

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez, Evgeni Golov, Yves-Alexis Perez
  • Date: 2011-04-19 23:30:56 UTC
  • mfrom: (2.5.2 upstream)
  • mto: (1.1.11 vivid-proposed)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20110419233056-bn3kriiqwolmcdij
Tags: 1.0.0-1
[ Evgeni Golov ]
* Fix Vcs-* fields, they were missing 'trunk' in the path.

[ Yves-Alexis Perez ]
* New upstream release.
* debian/control:
  - remove Simon and Emanuele from uploaders, thanks to them.
  - add build-dep on libxfcegui4-dev.
  - update standards version to 3.9.2.
  - add build-dep on hardening-includes.
  - add build-dep on intltool.
  - bump xfce4-panel-dev b-dep to (>= 4.8.0).
* Switch to 3.0 (quilt) source format.
* debian/rules:
  - pick {C,LD}FLAGS from dpkg-buildflags.
  - add -O1, -z,defs and --as-needed to LDFLAGS.
  - add hardening flags to {C,LD}FLAGS.
* debian/watch edited to track Xfce archive reorganisation
* debian/patches:
  - 01_fix-ftbfs-kfreebsd dropped, included upstream.
  - 02_fix-tooltip-gtk2.12 dropped as well. 

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-09-20'
 
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 \
 
290
        | rx \
279
291
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
292
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281
293
        | sh64 | sh64le \
282
294
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
295
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284
296
        | spu | strongarm \
285
297
        | tahoe | thumb | tic4x | tic80 | tron \
 
298
        | ubicom32 \
286
299
        | v850 | v850e \
287
300
        | we32k \
288
301
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289
 
        | z8k)
 
302
        | z8k | z80)
290
303
                basic_machine=$basic_machine-unknown
291
304
                ;;
292
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
305
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
293
306
                # Motorola 68HC11/12.
294
307
                basic_machine=$basic_machine-unknown
295
308
                os=-none
324
337
        | clipper-* | craynv-* | cydra-* \
325
338
        | d10v-* | d30v-* | dlx-* \
326
339
        | elxsi-* \
327
 
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
340
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
328
341
        | h8300-* | h8500-* \
329
342
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
343
        | i*86-* | i860-* | i960-* | ia64-* \
331
344
        | ip2k-* | iq2000-* \
 
345
        | lm32-* \
332
346
        | m32c-* | m32r-* | m32rle-* \
333
347
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
348
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
335
349
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
350
        | mips16-* \
337
351
        | mips64-* | mips64el-* \
 
352
        | mips64octeon-* | mips64octeonel-* \
 
353
        | mips64orion-* | mips64orionel-* \
 
354
        | mips64r5900-* | mips64r5900el-* \
338
355
        | mips64vr-* | mips64vrel-* \
339
 
        | mips64orion-* | mips64orionel-* \
340
356
        | mips64vr4100-* | mips64vr4100el-* \
341
357
        | mips64vr4300-* | mips64vr4300el-* \
342
358
        | mips64vr5000-* | mips64vr5000el-* \
357
373
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358
374
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
375
        | pyramid-* \
360
 
        | romp-* | rs6000-* \
361
 
        | 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-* \
362
378
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
379
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364
380
        | sparclite-* \
365
381
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366
382
        | tahoe-* | thumb-* \
367
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
383
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
368
384
        | tron-* \
 
385
        | ubicom32-* \
369
386
        | v850-* | v850e-* | vax-* \
370
387
        | we32k-* \
371
388
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
 
        | xstormy16-* | xtensa-* \
 
389
        | xstormy16-* | xtensa*-* \
373
390
        | ymp-* \
374
 
        | 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
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
                ;;
925
993
                basic_machine=sh-hitachi
926
994
                os=-hms
927
995
                ;;
 
996
        sh5el)
 
997
                basic_machine=sh5le-unknown
 
998
                ;;
928
999
        sh64)
929
1000
                basic_machine=sh64-unknown
930
1001
                ;;
1014
1085
                basic_machine=tic6x-unknown
1015
1086
                os=-coff
1016
1087
                ;;
 
1088
        tile*)
 
1089
                basic_machine=tile-unknown
 
1090
                os=-linux-gnu
 
1091
                ;;
1017
1092
        tx39)
1018
1093
                basic_machine=mipstx39-unknown
1019
1094
                ;;
1089
1164
                basic_machine=z8k-unknown
1090
1165
                os=-sim
1091
1166
                ;;
 
1167
        z80-*-coff)
 
1168
                basic_machine=z80-unknown
 
1169
                os=-sim
 
1170
                ;;
1092
1171
        none)
1093
1172
                basic_machine=none-none
1094
1173
                os=-none
1127
1206
        we32k)
1128
1207
                basic_machine=we32k-att
1129
1208
                ;;
1130
 
        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)
1131
1210
                basic_machine=sh-unknown
1132
1211
                ;;
1133
1212
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1177
1256
        # First match some system type aliases
1178
1257
        # that might get confused with valid system types.
1179
1258
        # -solaris* is a basic system type, with this one exception.
 
1259
        -auroraux)
 
1260
                os=-auroraux
 
1261
                ;;
1180
1262
        -solaris1 | -solaris1.*)
1181
1263
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1182
1264
                ;;
1197
1279
        # Each alternative MUST END IN A *, to match a version number.
1198
1280
        # -sysv* is not here because it comes later, after sysvr4.
1199
1281
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1200
 
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1201
 
              | -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* \
1202
1285
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1203
 
              | -aos* \
 
1286
              | -aos* | -aros* \
1204
1287
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1205
1288
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1206
1289
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1209
1292
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1210
1293
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1211
1294
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1212
 
              | -chorusos* | -chorusrdb* \
 
1295
              | -chorusos* | -chorusrdb* | -cegcc* \
1213
1296
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1214
1297
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1215
1298
              | -uxpv* | -beos* | -mpeix* | -udk* \
1219
1302
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1220
1303
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1221
1304
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1222
 
              | -skyos* | -haiku* | -rdos* | -toppers*)
 
1305
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1223
1306
        # Remember, each alternative MUST END IN *, to match a version number.
1224
1307
                ;;
1225
1308
        -qnx*)
1349
1432
        -zvmoe)
1350
1433
                os=-zvmoe
1351
1434
                ;;
 
1435
        -dicos*)
 
1436
                os=-dicos
 
1437
                ;;
1352
1438
        -none)
1353
1439
                ;;
1354
1440
        *)
1414
1500
        m68*-cisco)
1415
1501
                os=-aout
1416
1502
                ;;
 
1503
        mep-*)
 
1504
                os=-elf
 
1505
                ;;
1417
1506
        mips*-cisco)
1418
1507
                os=-elf
1419
1508
                ;;
1543
1632
                        -sunos*)
1544
1633
                                vendor=sun
1545
1634
                                ;;
1546
 
                        -aix*)
 
1635
                        -cnk*|-aix*)
1547
1636
                                vendor=ibm
1548
1637
                                ;;
1549
1638
                        -beos*)