~ubuntu-branches/ubuntu/vivid/liferea/vivid-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): bojo42
  • Date: 2012-03-29 14:17:21 UTC
  • mfrom: (1.3.9) (3.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20120329141721-tbfopcrc5797wxt7
Tags: 1.8.3-0.1ubuntu1
* New upstream release (LP: #290666, #371754, #741543, #716688)
* Merge from Debian unstable (LP: #935147), remaining changes:
* debian/patches:
  - drop gtk-status-icon.patch & notification-append as in upstream
  - drop fix_systray_behavior as mostly upstreamed and rest seems unused
  - 01_ubuntu_feedlists: update & rename, move planets to "Open Source"  
  - add_X-Ubuntu-Gettext-Domain: rebase
  - libunity.patch: rebase, apply before indicator patch (liferea_shell.c)
  - libindicate_increase_version.patch: exclude from libindicate.patch
  - deactivate libindicate.patch, seems partly upstreamed and needs rework
* debian/control: libindicate-dev, libindicate-gtk-dev & libunity-dev
* debian/liferea.indicate & liferea.install: ship indicator desktop file
* debian/rules: enable libindicate

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, 2010
5
 
#   Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 
5
#   2011, 2012 Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2010-01-22'
 
7
timestamp='2012-02-10'
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
21
21
# GNU General Public License for more details.
22
22
#
23
23
# You should have received a copy of the GNU General Public License
24
 
# along with this program; if not, write to the Free Software
25
 
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26
 
# 02110-1301, USA.
 
24
# along with this program; if not, see <http://www.gnu.org/licenses/>.
27
25
#
28
26
# As a special exception to the GNU General Public License, if you
29
27
# distribute this file as part of a program that contains a
76
74
GNU config.sub ($timestamp)
77
75
 
78
76
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.
 
77
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
 
78
Free Software Foundation, Inc.
81
79
 
82
80
This is free software; see the source for copying conditions.  There is NO
83
81
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
124
122
# Here we must recognize all the valid KERNEL-OS combinations.
125
123
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126
124
case $maybe_os in
127
 
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
128
 
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
125
  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
 
126
  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
 
127
  knetbsd*-gnu* | netbsd*-gnu* | \
129
128
  kopensolaris*-gnu* | \
130
129
  storm-chaos* | os2-emx* | rtmk-nova*)
131
130
    os=-$maybe_os
132
131
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
133
132
    ;;
 
133
  android-linux)
 
134
    os=-linux-android
 
135
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
 
136
    ;;
134
137
  *)
135
138
    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
136
139
    if [ $basic_machine != $1 ]
157
160
                os=
158
161
                basic_machine=$1
159
162
                ;;
160
 
        -bluegene*)
161
 
                os=-cnk
 
163
        -bluegene*)
 
164
                os=-cnk
162
165
                ;;
163
166
        -sim | -cisco | -oki | -wec | -winbond)
164
167
                os=
174
177
                os=-chorusos
175
178
                basic_machine=$1
176
179
                ;;
177
 
        -chorusrdb)
178
 
                os=-chorusrdb
 
180
        -chorusrdb)
 
181
                os=-chorusrdb
179
182
                basic_machine=$1
180
 
                ;;
 
183
                ;;
181
184
        -hiux*)
182
185
                os=-hiuxwe2
183
186
                ;;
246
249
        # Some are omitted here because they have special meanings below.
247
250
        1750a | 580 \
248
251
        | a29k \
 
252
        | aarch64 | aarch64_be \
249
253
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
250
254
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
251
255
        | am33_2.0 \
252
256
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
257
        | be32 | be64 \
253
258
        | bfin \
254
259
        | c4x | clipper \
255
260
        | d10v | d30v | dlx | dsp16xx \
 
261
        | epiphany \
256
262
        | fido | fr30 | frv \
257
263
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
264
        | hexagon \
258
265
        | i370 | i860 | i960 | ia64 \
259
266
        | ip2k | iq2000 \
 
267
        | le32 | le64 \
260
268
        | lm32 \
261
269
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
262
270
        | maxq | mb | microblaze | mcore | mep | metag \
282
290
        | moxie \
283
291
        | mt \
284
292
        | msp430 \
 
293
        | nds32 | nds32le | nds32be \
285
294
        | nios | nios2 \
286
295
        | ns16k | ns32k \
 
296
        | open8 \
287
297
        | or32 \
288
298
        | pdp10 | pdp11 | pj | pjl \
289
 
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
299
        | powerpc | powerpc64 | powerpc64le | powerpcle \
290
300
        | pyramid \
291
 
        | rx \
 
301
        | rl78 | rx \
292
302
        | score \
293
303
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
294
304
        | sh64 | sh64le \
295
305
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
296
306
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
297
 
        | spu | strongarm \
298
 
        | tahoe | thumb | tic4x | tic80 | tron \
 
307
        | spu \
 
308
        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
299
309
        | ubicom32 \
300
 
        | v850 | v850e \
 
310
        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
301
311
        | we32k \
302
 
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
312
        | x86 | xc16x | xstormy16 | xtensa \
303
313
        | z8k | z80)
304
314
                basic_machine=$basic_machine-unknown
305
315
                ;;
306
 
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
307
 
                # Motorola 68HC11/12.
 
316
        c54x)
 
317
                basic_machine=tic54x-unknown
 
318
                ;;
 
319
        c55x)
 
320
                basic_machine=tic55x-unknown
 
321
                ;;
 
322
        c6x)
 
323
                basic_machine=tic6x-unknown
 
324
                ;;
 
325
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
308
326
                basic_machine=$basic_machine-unknown
309
327
                os=-none
310
328
                ;;
314
332
                basic_machine=mt-unknown
315
333
                ;;
316
334
 
 
335
        strongarm | thumb | xscale)
 
336
                basic_machine=arm-unknown
 
337
                ;;
 
338
        xgate)
 
339
                basic_machine=$basic_machine-unknown
 
340
                os=-none
 
341
                ;;
 
342
        xscaleeb)
 
343
                basic_machine=armeb-unknown
 
344
                ;;
 
345
 
 
346
        xscaleel)
 
347
                basic_machine=armel-unknown
 
348
                ;;
 
349
 
317
350
        # We use `pc' rather than `unknown'
318
351
        # because (1) that's what they normally are, and
319
352
        # (2) the word "unknown" tends to confuse beginning users.
328
361
        # Recognize the basic CPU types with company name.
329
362
        580-* \
330
363
        | a29k-* \
 
364
        | aarch64-* | aarch64_be-* \
331
365
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
332
366
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
333
367
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
334
368
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
335
369
        | avr-* | avr32-* \
 
370
        | be32-* | be64-* \
336
371
        | bfin-* | bs2000-* \
337
 
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
372
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
338
373
        | clipper-* | craynv-* | cydra-* \
339
374
        | d10v-* | d30v-* | dlx-* \
340
375
        | elxsi-* \
341
376
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
342
377
        | h8300-* | h8500-* \
343
378
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 
379
        | hexagon-* \
344
380
        | i*86-* | i860-* | i960-* | ia64-* \
345
381
        | ip2k-* | iq2000-* \
 
382
        | le32-* | le64-* \
346
383
        | lm32-* \
347
384
        | m32c-* | m32r-* | m32rle-* \
348
385
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
368
405
        | mmix-* \
369
406
        | mt-* \
370
407
        | msp430-* \
 
408
        | nds32-* | nds32le-* | nds32be-* \
371
409
        | nios-* | nios2-* \
372
410
        | none-* | np1-* | ns16k-* | ns32k-* \
 
411
        | open8-* \
373
412
        | orion-* \
374
413
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
375
 
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
414
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
376
415
        | pyramid-* \
377
 
        | romp-* | rs6000-* | rx-* \
 
416
        | rl78-* | romp-* | rs6000-* | rx-* \
378
417
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
379
418
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
380
419
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
381
420
        | sparclite-* \
382
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
383
 
        | tahoe-* | thumb-* \
 
421
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
 
422
        | tahoe-* \
384
423
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385
 
        | tile-* | tilegx-* \
 
424
        | tile*-* \
386
425
        | tron-* \
387
426
        | ubicom32-* \
388
 
        | v850-* | v850e-* | vax-* \
 
427
        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
 
428
        | vax-* \
389
429
        | we32k-* \
390
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
430
        | x86-* | x86_64-* | xc16x-* | xps100-* \
391
431
        | xstormy16-* | xtensa*-* \
392
432
        | ymp-* \
393
433
        | z8k-* | z80-*)
412
452
                basic_machine=a29k-amd
413
453
                os=-udi
414
454
                ;;
415
 
        abacus)
 
455
        abacus)
416
456
                basic_machine=abacus-unknown
417
457
                ;;
418
458
        adobe68k)
482
522
                basic_machine=powerpc-ibm
483
523
                os=-cnk
484
524
                ;;
 
525
        c54x-*)
 
526
                basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
527
                ;;
 
528
        c55x-*)
 
529
                basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
530
                ;;
 
531
        c6x-*)
 
532
                basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
 
533
                ;;
485
534
        c90)
486
535
                basic_machine=c90-cray
487
536
                os=-unicos
488
537
                ;;
489
 
        cegcc)
 
538
        cegcc)
490
539
                basic_machine=arm-unknown
491
540
                os=-cegcc
492
541
                ;;
518
567
                basic_machine=craynv-cray
519
568
                os=-unicosmp
520
569
                ;;
521
 
        cr16)
 
570
        cr16 | cr16-*)
522
571
                basic_machine=cr16-unknown
523
572
                os=-elf
524
573
                ;;
676
725
        i370-ibm* | ibm*)
677
726
                basic_machine=i370-ibm
678
727
                ;;
679
 
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
680
728
        i*86v32)
681
729
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
682
730
                os=-sysv32
734
782
                basic_machine=ns32k-utek
735
783
                os=-sysv
736
784
                ;;
737
 
        microblaze)
 
785
        microblaze)
738
786
                basic_machine=microblaze-xilinx
739
787
                ;;
740
788
        mingw32)
773
821
        ms1-*)
774
822
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
775
823
                ;;
 
824
        msys)
 
825
                basic_machine=i386-pc
 
826
                os=-msys
 
827
                ;;
776
828
        mvs)
777
829
                basic_machine=i370-ibm
778
830
                os=-mvs
779
831
                ;;
 
832
        nacl)
 
833
                basic_machine=le32-unknown
 
834
                os=-nacl
 
835
                ;;
780
836
        ncr3000)
781
837
                basic_machine=i486-ncr
782
838
                os=-sysv4
841
897
        np1)
842
898
                basic_machine=np1-gould
843
899
                ;;
 
900
        neo-tandem)
 
901
                basic_machine=neo-tandem
 
902
                ;;
 
903
        nse-tandem)
 
904
                basic_machine=nse-tandem
 
905
                ;;
844
906
        nsr-tandem)
845
907
                basic_machine=nsr-tandem
846
908
                ;;
923
985
                ;;
924
986
        power)  basic_machine=power-ibm
925
987
                ;;
926
 
        ppc)    basic_machine=powerpc-unknown
 
988
        ppc | ppcbe)    basic_machine=powerpc-unknown
927
989
                ;;
928
 
        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 
990
        ppc-* | ppcbe-*)
 
991
                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
929
992
                ;;
930
993
        ppcle | powerpclittle | ppc-le | powerpc-little)
931
994
                basic_machine=powerpcle-unknown
1019
1082
                basic_machine=i860-stratus
1020
1083
                os=-sysv4
1021
1084
                ;;
 
1085
        strongarm-* | thumb-*)
 
1086
                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
 
1087
                ;;
1022
1088
        sun2)
1023
1089
                basic_machine=m68000-sun
1024
1090
                ;;
1075
1141
                basic_machine=t90-cray
1076
1142
                os=-unicos
1077
1143
                ;;
1078
 
        tic54x | c54x*)
1079
 
                basic_machine=tic54x-unknown
1080
 
                os=-coff
1081
 
                ;;
1082
 
        tic55x | c55x*)
1083
 
                basic_machine=tic55x-unknown
1084
 
                os=-coff
1085
 
                ;;
1086
 
        tic6x | c6x*)
1087
 
                basic_machine=tic6x-unknown
1088
 
                os=-coff
1089
 
                ;;
1090
 
        # This must be matched before tile*.
1091
 
        tilegx*)
1092
 
                basic_machine=tilegx-unknown
1093
 
                os=-linux-gnu
1094
 
                ;;
1095
1144
        tile*)
1096
 
                basic_machine=tile-unknown
 
1145
                basic_machine=$basic_machine-unknown
1097
1146
                os=-linux-gnu
1098
1147
                ;;
1099
1148
        tx39)
1163
1212
        xps | xps100)
1164
1213
                basic_machine=xps100-honeywell
1165
1214
                ;;
 
1215
        xscale-* | xscalee[bl]-*)
 
1216
                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
 
1217
                ;;
1166
1218
        ymp)
1167
1219
                basic_machine=ymp-cray
1168
1220
                os=-unicos
1260
1312
if [ x"$os" != x"" ]
1261
1313
then
1262
1314
case $os in
1263
 
        # First match some system type aliases
1264
 
        # that might get confused with valid system types.
 
1315
        # First match some system type aliases
 
1316
        # that might get confused with valid system types.
1265
1317
        # -solaris* is a basic system type, with this one exception.
1266
 
        -auroraux)
1267
 
                os=-auroraux
 
1318
        -auroraux)
 
1319
                os=-auroraux
1268
1320
                ;;
1269
1321
        -solaris1 | -solaris1.*)
1270
1322
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
1300
1352
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1301
1353
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1302
1354
              | -chorusos* | -chorusrdb* | -cegcc* \
1303
 
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1304
 
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1355
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
1356
              | -mingw32* | -linux-gnu* | -linux-android* \
 
1357
              | -linux-newlib* | -linux-uclibc* \
1305
1358
              | -uxpv* | -beos* | -mpeix* | -udk* \
1306
1359
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1307
1360
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1348
1401
        -opened*)
1349
1402
                os=-openedition
1350
1403
                ;;
1351
 
        -os400*)
 
1404
        -os400*)
1352
1405
                os=-os400
1353
1406
                ;;
1354
1407
        -wince*)
1397
1450
        -sinix*)
1398
1451
                os=-sysv4
1399
1452
                ;;
1400
 
        -tpf*)
 
1453
        -tpf*)
1401
1454
                os=-tpf
1402
1455
                ;;
1403
1456
        -triton*)
1442
1495
        -dicos*)
1443
1496
                os=-dicos
1444
1497
                ;;
1445
 
        -nacl*)
1446
 
                ;;
 
1498
        -nacl*)
 
1499
                ;;
1447
1500
        -none)
1448
1501
                ;;
1449
1502
        *)
1466
1519
# system, and we'll never get to this point.
1467
1520
 
1468
1521
case $basic_machine in
1469
 
        score-*)
 
1522
        score-*)
1470
1523
                os=-elf
1471
1524
                ;;
1472
 
        spu-*)
 
1525
        spu-*)
1473
1526
                os=-elf
1474
1527
                ;;
1475
1528
        *-acorn)
1481
1534
        arm*-semi)
1482
1535
                os=-aout
1483
1536
                ;;
1484
 
        c4x-* | tic4x-*)
1485
 
                os=-coff
 
1537
        c4x-* | tic4x-*)
 
1538
                os=-coff
 
1539
                ;;
 
1540
        tic54x-*)
 
1541
                os=-coff
 
1542
                ;;
 
1543
        tic55x-*)
 
1544
                os=-coff
 
1545
                ;;
 
1546
        tic6x-*)
 
1547
                os=-coff
1486
1548
                ;;
1487
1549
        # This must come before the *-dec entry.
1488
1550
        pdp10-*)
1502
1564
                ;;
1503
1565
        m68000-sun)
1504
1566
                os=-sunos3
1505
 
                # This also exists in the configure program, but was not the
1506
 
                # default.
1507
 
                # os=-sunos4
1508
1567
                ;;
1509
1568
        m68*-cisco)
1510
1569
                os=-aout
1511
1570
                ;;
1512
 
        mep-*)
 
1571
        mep-*)
1513
1572
                os=-elf
1514
1573
                ;;
1515
1574
        mips*-cisco)
1536
1595
        *-ibm)
1537
1596
                os=-aix
1538
1597
                ;;
1539
 
        *-knuth)
 
1598
        *-knuth)
1540
1599
                os=-mmixware
1541
1600
                ;;
1542
1601
        *-wec)