~ubuntu-branches/ubuntu/trusty/enigmail/trusty-updates

« back to all changes in this revision

Viewing changes to build/autoconf/config.sub

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2011-06-07 14:35:53 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: package-import@ubuntu.com-20110607143553-fbgqhhvh8g8h6j1y
Tags: 2:1.2~a2~cvs20110606t2200-0ubuntu1
* Update to latest trunk snapshot for Thunderbird beta compat

* Remove build/pgo/profileserver.py from debian/clean. The new build
  system has a target depending on this
  - update debian/clean
* Drop debian/patches/autoconf.diff, just generate this at build time
* Refresh debian/patches/build_system_dont_link_libxul.diff
* libipc seems to be renamed to libipc-pipe. Fix genxpi and chrome.manifest
  to fix this 
  - add debian/patches/ipc-pipe_rename.diff
  - update debian/patches/series
* The makefiles in extensions/enigmail/ipc have an incorrect DEPTH
  attribute. Fix this so that they can find the rest of the build system
  - add debian/patches/makefile_depth.diff
  - update debian/patches/series
* Drop debian/patches/makefile-in-empty-xpcom-fix.diff - fixed in the
  current version
* Don't register a class ID multiple times, as this breaks enigmail entirely
  - add debian/patches/dont_register_cids_multiple_times.diff
  - update debian/patches/series
* Look for the Thunderbird 5 SDK
  - update debian/rules
  - update debian/control
* Run autoconf2.13 at build time
  - update debian/rules
  - update debian/control
* Add useless mesa-common-dev build-dep, just to satisfy the build system.
  We should just patch this out entirely really, but that's for another upload
  - update debian/control

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
5
 
#   Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 
5
#   2011 Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2009-06-11'
 
7
timestamp='2011-03-23'
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,
76
 
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, 2011 Free
 
80
Software Foundation, Inc.
77
81
 
78
82
This is free software; see the source for copying conditions.  There is NO
79
83
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
120
124
# Here we must recognize all the valid KERNEL-OS combinations.
121
125
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122
126
case $maybe_os in
123
 
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
 
  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* | \
125
130
  kopensolaris*-gnu* | \
126
131
  storm-chaos* | os2-emx* | rtmk-nova*)
127
132
    os=-$maybe_os
149
154
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150
155
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151
156
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152
 
        -apple | -axis | -knuth | -cray)
 
157
        -apple | -axis | -knuth | -cray | -microblaze)
153
158
                os=
154
159
                basic_machine=$1
155
160
                ;;
156
 
        -bluegene*)
157
 
                os=-cnk
 
161
        -bluegene*)
 
162
                os=-cnk
158
163
                ;;
159
164
        -sim | -cisco | -oki | -wec | -winbond)
160
165
                os=
170
175
                os=-chorusos
171
176
                basic_machine=$1
172
177
                ;;
173
 
        -chorusrdb)
174
 
                os=-chorusrdb
 
178
        -chorusrdb)
 
179
                os=-chorusrdb
175
180
                basic_machine=$1
176
 
                ;;
 
181
                ;;
177
182
        -hiux*)
178
183
                os=-hiuxwe2
179
184
                ;;
278
283
        | moxie \
279
284
        | mt \
280
285
        | msp430 \
 
286
        | nds32 | nds32le | nds32be \
281
287
        | nios | nios2 \
282
288
        | ns16k | ns32k \
 
289
        | open8 \
283
290
        | or32 \
284
291
        | pdp10 | pdp11 | pj | pjl \
285
 
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
292
        | powerpc | powerpc64 | powerpc64le | powerpcle \
286
293
        | pyramid \
 
294
        | rx \
287
295
        | score \
288
296
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
289
297
        | sh64 | sh64le \
290
298
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
291
299
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
292
 
        | spu | strongarm \
293
 
        | tahoe | thumb | tic4x | tic80 | tron \
 
300
        | spu \
 
301
        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
 
302
        | ubicom32 \
294
303
        | v850 | v850e \
295
304
        | we32k \
296
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
305
        | x86 | xc16x | xstormy16 | xtensa \
297
306
        | z8k | z80)
298
307
                basic_machine=$basic_machine-unknown
299
308
                ;;
300
 
        m6811 | m68hc11 | m6812 | m68hc12)
 
309
        c54x)
 
310
                basic_machine=tic54x-unknown
 
311
                ;;
 
312
        c55x)
 
313
                basic_machine=tic55x-unknown
 
314
                ;;
 
315
        c6x)
 
316
                basic_machine=tic6x-unknown
 
317
                ;;
 
318
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
301
319
                # Motorola 68HC11/12.
302
320
                basic_machine=$basic_machine-unknown
303
321
                os=-none
308
326
                basic_machine=mt-unknown
309
327
                ;;
310
328
 
 
329
        strongarm | thumb | xscale)
 
330
                basic_machine=arm-unknown
 
331
                ;;
 
332
 
 
333
        xscaleeb)
 
334
                basic_machine=armeb-unknown
 
335
                ;;
 
336
 
 
337
        xscaleel)
 
338
                basic_machine=armel-unknown
 
339
                ;;
 
340
 
311
341
        # We use `pc' rather than `unknown'
312
342
        # because (1) that's what they normally are, and
313
343
        # (2) the word "unknown" tends to confuse beginning users.
328
358
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
329
359
        | avr-* | avr32-* \
330
360
        | bfin-* | bs2000-* \
331
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
361
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
332
362
        | clipper-* | craynv-* | cydra-* \
333
363
        | d10v-* | d30v-* | dlx-* \
334
364
        | elxsi-* \
340
370
        | lm32-* \
341
371
        | m32c-* | m32r-* | m32rle-* \
342
372
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
343
 
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
373
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
344
374
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
345
375
        | mips16-* \
346
376
        | mips64-* | mips64el-* \
362
392
        | mmix-* \
363
393
        | mt-* \
364
394
        | msp430-* \
 
395
        | nds32-* | nds32le-* | nds32be-* \
365
396
        | nios-* | nios2-* \
366
397
        | none-* | np1-* | ns16k-* | ns32k-* \
 
398
        | open8-* \
367
399
        | orion-* \
368
400
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
369
 
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
401
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
370
402
        | pyramid-* \
371
 
        | romp-* | rs6000-* \
 
403
        | romp-* | rs6000-* | rx-* \
372
404
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
373
405
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
374
406
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
375
407
        | sparclite-* \
376
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
377
 
        | tahoe-* | thumb-* \
378
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
 
408
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
 
409
        | tahoe-* \
 
410
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
411
        | tile-* | tilegx-* \
379
412
        | tron-* \
 
413
        | ubicom32-* \
380
414
        | v850-* | v850e-* | vax-* \
381
415
        | we32k-* \
382
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
416
        | x86-* | x86_64-* | xc16x-* | xps100-* \
383
417
        | xstormy16-* | xtensa*-* \
384
418
        | ymp-* \
385
419
        | z8k-* | z80-*)
404
438
                basic_machine=a29k-amd
405
439
                os=-udi
406
440
                ;;
407
 
        abacus)
 
441
        abacus)
408
442
                basic_machine=abacus-unknown
409
443
                ;;
410
444
        adobe68k)
474
508
                basic_machine=powerpc-ibm
475
509
                os=-cnk
476
510
                ;;
 
511
        c54x-*)
 
512
                basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
513
                ;;
 
514
        c55x-*)
 
515
                basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
516
                ;;
 
517
        c6x-*)
 
518
                basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
519
                ;;
477
520
        c90)
478
521
                basic_machine=c90-cray
479
522
                os=-unicos
480
523
                ;;
481
 
        cegcc)
 
524
        cegcc)
482
525
                basic_machine=arm-unknown
483
526
                os=-cegcc
484
527
                ;;
510
553
                basic_machine=craynv-cray
511
554
                os=-unicosmp
512
555
                ;;
513
 
        cr16)
 
556
        cr16 | cr16-*)
514
557
                basic_machine=cr16-unknown
515
558
                os=-elf
516
559
                ;;
726
769
                basic_machine=ns32k-utek
727
770
                os=-sysv
728
771
                ;;
 
772
        microblaze)
 
773
                basic_machine=microblaze-xilinx
 
774
                ;;
729
775
        mingw32)
730
776
                basic_machine=i386-pc
731
777
                os=-mingw32
830
876
        np1)
831
877
                basic_machine=np1-gould
832
878
                ;;
 
879
        neo-tandem)
 
880
                basic_machine=neo-tandem
 
881
                ;;
 
882
        nse-tandem)
 
883
                basic_machine=nse-tandem
 
884
                ;;
833
885
        nsr-tandem)
834
886
                basic_machine=nsr-tandem
835
887
                ;;
912
964
                ;;
913
965
        power)  basic_machine=power-ibm
914
966
                ;;
915
 
        ppc)    basic_machine=powerpc-unknown
 
967
        ppc | ppcbe)    basic_machine=powerpc-unknown
916
968
                ;;
917
 
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 
969
        ppc-* | ppcbe-*)
 
970
                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
918
971
                ;;
919
972
        ppcle | powerpclittle | ppc-le | powerpc-little)
920
973
                basic_machine=powerpcle-unknown
1008
1061
                basic_machine=i860-stratus
1009
1062
                os=-sysv4
1010
1063
                ;;
 
1064
        strongarm-* | thumb-*)
 
1065
                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
 
1066
                ;;
1011
1067
        sun2)
1012
1068
                basic_machine=m68000-sun
1013
1069
                ;;
1064
1120
                basic_machine=t90-cray
1065
1121
                os=-unicos
1066
1122
                ;;
1067
 
        tic54x | c54x*)
1068
 
                basic_machine=tic54x-unknown
1069
 
                os=-coff
1070
 
                ;;
1071
 
        tic55x | c55x*)
1072
 
                basic_machine=tic55x-unknown
1073
 
                os=-coff
1074
 
                ;;
1075
 
        tic6x | c6x*)
1076
 
                basic_machine=tic6x-unknown
1077
 
                os=-coff
 
1123
        # This must be matched before tile*.
 
1124
        tilegx*)
 
1125
                basic_machine=tilegx-unknown
 
1126
                os=-linux-gnu
1078
1127
                ;;
1079
1128
        tile*)
1080
1129
                basic_machine=tile-unknown
1147
1196
        xps | xps100)
1148
1197
                basic_machine=xps100-honeywell
1149
1198
                ;;
 
1199
        xscale-* | xscalee[bl]-*)
 
1200
                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
 
1201
                ;;
1150
1202
        ymp)
1151
1203
                basic_machine=ymp-cray
1152
1204
                os=-unicos
1244
1296
if [ x"$os" != x"" ]
1245
1297
then
1246
1298
case $os in
1247
 
        # First match some system type aliases
1248
 
        # that might get confused with valid system types.
 
1299
        # First match some system type aliases
 
1300
        # that might get confused with valid system types.
1249
1301
        # -solaris* is a basic system type, with this one exception.
 
1302
        -auroraux)
 
1303
                os=-auroraux
 
1304
                ;;
1250
1305
        -solaris1 | -solaris1.*)
1251
1306
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1252
1307
                ;;
1268
1323
        # -sysv* is not here because it comes later, after sysvr4.
1269
1324
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270
1325
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1271
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1272
 
              | -kopensolaris* \
 
1326
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
1327
              | -sym* | -kopensolaris* \
1273
1328
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1274
1329
              | -aos* | -aros* \
1275
1330
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1282
1337
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1283
1338
              | -chorusos* | -chorusrdb* | -cegcc* \
1284
1339
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1285
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1340
              | -mingw32* | -linux-gnu* | -linux-android* \
 
1341
              | -linux-newlib* | -linux-uclibc* \
1286
1342
              | -uxpv* | -beos* | -mpeix* | -udk* \
1287
1343
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1288
1344
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1290
1346
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1291
1347
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1292
1348
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1293
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
1349
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1294
1350
        # Remember, each alternative MUST END IN *, to match a version number.
1295
1351
                ;;
1296
1352
        -qnx*)
1329
1385
        -opened*)
1330
1386
                os=-openedition
1331
1387
                ;;
1332
 
        -os400*)
 
1388
        -os400*)
1333
1389
                os=-os400
1334
1390
                ;;
1335
1391
        -wince*)
1378
1434
        -sinix*)
1379
1435
                os=-sysv4
1380
1436
                ;;
1381
 
        -tpf*)
 
1437
        -tpf*)
1382
1438
                os=-tpf
1383
1439
                ;;
1384
1440
        -triton*)
1423
1479
        -dicos*)
1424
1480
                os=-dicos
1425
1481
                ;;
 
1482
        -nacl*)
 
1483
                ;;
1426
1484
        -none)
1427
1485
                ;;
1428
1486
        *)
1445
1503
# system, and we'll never get to this point.
1446
1504
 
1447
1505
case $basic_machine in
1448
 
        score-*)
 
1506
        score-*)
1449
1507
                os=-elf
1450
1508
                ;;
1451
 
        spu-*)
 
1509
        spu-*)
1452
1510
                os=-elf
1453
1511
                ;;
1454
1512
        *-acorn)
1460
1518
        arm*-semi)
1461
1519
                os=-aout
1462
1520
                ;;
1463
 
        c4x-* | tic4x-*)
1464
 
                os=-coff
 
1521
        c4x-* | tic4x-*)
 
1522
                os=-coff
 
1523
                ;;
 
1524
        tic54x-*)
 
1525
                os=-coff
 
1526
                ;;
 
1527
        tic55x-*)
 
1528
                os=-coff
 
1529
                ;;
 
1530
        tic6x-*)
 
1531
                os=-coff
1465
1532
                ;;
1466
1533
        # This must come before the *-dec entry.
1467
1534
        pdp10-*)
1488
1555
        m68*-cisco)
1489
1556
                os=-aout
1490
1557
                ;;
1491
 
        mep-*)
 
1558
        mep-*)
1492
1559
                os=-elf
1493
1560
                ;;
1494
1561
        mips*-cisco)
1515
1582
        *-ibm)
1516
1583
                os=-aix
1517
1584
                ;;
1518
 
        *-knuth)
 
1585
        *-knuth)
1519
1586
                os=-mmixware
1520
1587
                ;;
1521
1588
        *-wec)