~ubuntu-branches/debian/sid/redland-bindings/sid

« back to all changes in this revision

Viewing changes to build/config.sub

  • Committer: Package Import Robot
  • Author(s): Dave Beckett
  • Date: 2013-01-22 16:03:44 UTC
  • mfrom: (0.1.10)
  • Revision ID: package-import@ubuntu.com-20130122160344-vxrnfl0xynfzbze7
Tags: 1.0.16.1-1
* New upstream release
* Add dpkg-buildflags to configure for hardening

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Configuration validation subroutine script.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5
 
#   2011 Free Software Foundation, Inc.
 
5
#   2011, 2012 Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2011-08-15'
 
7
timestamp='2012-04-18'
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, 2011 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."
132
130
    os=-$maybe_os
133
131
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
134
132
    ;;
 
133
  android-linux)
 
134
    os=-linux-android
 
135
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
 
136
    ;;
135
137
  *)
136
138
    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
137
139
    if [ $basic_machine != $1 ]
223
225
        -isc*)
224
226
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
225
227
                ;;
 
228
        -lynx*178)
 
229
                os=-lynxos178
 
230
                ;;
 
231
        -lynx*5)
 
232
                os=-lynxos5
 
233
                ;;
226
234
        -lynx*)
227
235
                os=-lynxos
228
236
                ;;
246
254
        # Recognize the basic CPU types without company name.
247
255
        # Some are omitted here because they have special meanings below.
248
256
        1750a | 580 \
249
 
        | 32e[bl] | 64e[bl] \
250
257
        | a29k \
 
258
        | aarch64 | aarch64_be \
251
259
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
252
260
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
253
261
        | am33_2.0 \
254
262
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
263
        | be32 | be64 \
255
264
        | bfin \
256
265
        | c4x | clipper \
257
266
        | d10v | d30v | dlx | dsp16xx \
 
267
        | epiphany \
258
268
        | fido | fr30 | frv \
259
269
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
270
        | hexagon \
260
271
        | i370 | i860 | i960 | ia64 \
261
272
        | ip2k | iq2000 \
 
273
        | le32 | le64 \
262
274
        | lm32 \
263
275
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
264
276
        | maxq | mb | microblaze | mcore | mep | metag \
292
304
        | pdp10 | pdp11 | pj | pjl \
293
305
        | powerpc | powerpc64 | powerpc64le | powerpcle \
294
306
        | pyramid \
295
 
        | rx \
 
307
        | rl78 | rx \
296
308
        | score \
297
309
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
298
310
        | sh64 | sh64le \
316
328
        c6x)
317
329
                basic_machine=tic6x-unknown
318
330
                ;;
319
 
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
320
 
                # Motorola 68HC11/12.
 
331
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
321
332
                basic_machine=$basic_machine-unknown
322
333
                os=-none
323
334
                ;;
330
341
        strongarm | thumb | xscale)
331
342
                basic_machine=arm-unknown
332
343
                ;;
333
 
 
 
344
        xgate)
 
345
                basic_machine=$basic_machine-unknown
 
346
                os=-none
 
347
                ;;
334
348
        xscaleeb)
335
349
                basic_machine=armeb-unknown
336
350
                ;;
352
366
                ;;
353
367
        # Recognize the basic CPU types with company name.
354
368
        580-* \
355
 
        | 32e[bl]-* | 64e[bl]-* \
356
369
        | a29k-* \
 
370
        | aarch64-* | aarch64_be-* \
357
371
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
358
372
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
359
373
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
360
374
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
361
375
        | avr-* | avr32-* \
 
376
        | be32-* | be64-* \
362
377
        | bfin-* | bs2000-* \
363
378
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
364
379
        | clipper-* | craynv-* | cydra-* \
367
382
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
368
383
        | h8300-* | h8500-* \
369
384
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 
385
        | hexagon-* \
370
386
        | i*86-* | i860-* | i960-* | ia64-* \
371
387
        | ip2k-* | iq2000-* \
 
388
        | le32-* | le64-* \
372
389
        | lm32-* \
373
390
        | m32c-* | m32r-* | m32rle-* \
374
391
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
402
419
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
403
420
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
404
421
        | pyramid-* \
405
 
        | romp-* | rs6000-* | rx-* \
 
422
        | rl78-* | romp-* | rs6000-* | rx-* \
406
423
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
407
424
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
408
425
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
714
731
        i370-ibm* | ibm*)
715
732
                basic_machine=i370-ibm
716
733
                ;;
717
 
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
718
734
        i*86v32)
719
735
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
720
736
                os=-sysv32
811
827
        ms1-*)
812
828
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
813
829
                ;;
 
830
        msys)
 
831
                basic_machine=i386-pc
 
832
                os=-msys
 
833
                ;;
814
834
        mvs)
815
835
                basic_machine=i370-ibm
816
836
                os=-mvs
817
837
                ;;
818
838
        nacl)
819
 
                basic_machine=32el-unknown
 
839
                basic_machine=le32-unknown
820
840
                os=-nacl
821
841
                ;;
822
842
        ncr3000)
1338
1358
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1339
1359
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1340
1360
              | -chorusos* | -chorusrdb* | -cegcc* \
1341
 
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
1361
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1342
1362
              | -mingw32* | -linux-gnu* | -linux-android* \
1343
1363
              | -linux-newlib* | -linux-uclibc* \
1344
1364
              | -uxpv* | -beos* | -mpeix* | -udk* \
1523
1543
        c4x-* | tic4x-*)
1524
1544
                os=-coff
1525
1545
                ;;
 
1546
        hexagon-*)
 
1547
                os=-elf
 
1548
                ;;
1526
1549
        tic54x-*)
1527
1550
                os=-coff
1528
1551
                ;;
1550
1573
                ;;
1551
1574
        m68000-sun)
1552
1575
                os=-sunos3
1553
 
                # This also exists in the configure program, but was not the
1554
 
                # default.
1555
 
                # os=-sunos4
1556
1576
                ;;
1557
1577
        m68*-cisco)
1558
1578
                os=-aout