~ubuntu-branches/ubuntu/utopic/cloog/utopic

« back to all changes in this revision

Viewing changes to autoconf/config.sub

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-26 14:21:11 UTC
  • mfrom: (3.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20140226142111-vsbb1isby30uundd
Tags: 0.18.2-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
 
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5
 
#   2011, 2012 Free Software Foundation, Inc.
6
 
 
7
 
timestamp='2012-04-18'
8
 
 
9
 
# This file is (in principle) common to ALL GNU software.
10
 
# The presence of a machine in this file suggests that SOME GNU software
11
 
# can handle that machine.  It does not imply ALL GNU software can.
12
 
#
13
 
# This file is free software; you can redistribute it and/or modify
14
 
# it under the terms of the GNU General Public License as published by
15
 
# the Free Software Foundation; either version 2 of the License, or
 
3
#   Copyright 1992-2013 Free Software Foundation, Inc.
 
4
 
 
5
timestamp='2013-10-01'
 
6
 
 
7
# This file is free software; you can redistribute it and/or modify it
 
8
# under the terms of the GNU General Public License as published by
 
9
# the Free Software Foundation; either version 3 of the License, or
16
10
# (at your option) any later version.
17
11
#
18
 
# This program is distributed in the hope that it will be useful,
19
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 
# GNU General Public License for more details.
 
12
# This program is distributed in the hope that it will be useful, but
 
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
# General Public License for more details.
22
16
#
23
17
# You should have received a copy of the GNU General Public License
24
18
# along with this program; if not, see <http://www.gnu.org/licenses/>.
26
20
# As a special exception to the GNU General Public License, if you
27
21
# distribute this file as part of a program that contains a
28
22
# configuration script generated by Autoconf, you may include it under
29
 
# the same distribution terms that you use for the rest of that program.
30
 
 
31
 
 
32
 
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
 
# diff and a properly formatted GNU ChangeLog entry.
 
23
# the same distribution terms that you use for the rest of that
 
24
# program.  This Exception is an additional permission under section 7
 
25
# of the GNU General Public License, version 3 ("GPLv3").
 
26
 
 
27
 
 
28
# Please send patches with a ChangeLog entry to config-patches@gnu.org.
34
29
#
35
30
# Configuration subroutine to validate and canonicalize a configuration type.
36
31
# Supply the specified configuration type as an argument.
73
68
version="\
74
69
GNU config.sub ($timestamp)
75
70
 
76
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
77
 
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
78
 
Free Software Foundation, Inc.
 
71
Copyright 1992-2013 Free Software Foundation, Inc.
79
72
 
80
73
This is free software; see the source for copying conditions.  There is NO
81
74
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
123
116
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
124
117
case $maybe_os in
125
118
  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
126
 
  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
 
119
  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
127
120
  knetbsd*-gnu* | netbsd*-gnu* | \
128
121
  kopensolaris*-gnu* | \
129
122
  storm-chaos* | os2-emx* | rtmk-nova*)
156
149
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
157
150
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
158
151
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
159
 
        -apple | -axis | -knuth | -cray | -microblaze)
 
152
        -apple | -axis | -knuth | -cray | -microblaze*)
160
153
                os=
161
154
                basic_machine=$1
162
155
                ;;
259
252
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
260
253
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
261
254
        | am33_2.0 \
262
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
263
 
        | be32 | be64 \
 
255
        | arc | arceb \
 
256
        | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
 
257
        | avr | avr32 \
 
258
        | be32 | be64 \
264
259
        | bfin \
265
 
        | c4x | clipper \
 
260
        | c4x | c8051 | clipper \
266
261
        | d10v | d30v | dlx | dsp16xx \
267
262
        | epiphany \
268
263
        | fido | fr30 | frv \
270
265
        | hexagon \
271
266
        | i370 | i860 | i960 | ia64 \
272
267
        | ip2k | iq2000 \
 
268
        | k1om \
273
269
        | le32 | le64 \
274
270
        | lm32 \
275
271
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
276
 
        | maxq | mb | microblaze | mcore | mep | metag \
 
272
        | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
277
273
        | mips | mipsbe | mipseb | mipsel | mipsle \
278
274
        | mips16 \
279
275
        | mips64 | mips64el \
291
287
        | mipsisa64r2 | mipsisa64r2el \
292
288
        | mipsisa64sb1 | mipsisa64sb1el \
293
289
        | mipsisa64sr71k | mipsisa64sr71kel \
 
290
        | mipsr5900 | mipsr5900el \
294
291
        | mipstx39 | mipstx39el \
295
292
        | mn10200 | mn10300 \
296
293
        | moxie \
297
294
        | mt \
298
295
        | msp430 \
299
296
        | nds32 | nds32le | nds32be \
300
 
        | nios | nios2 \
 
297
        | nios | nios2 | nios2eb | nios2el \
301
298
        | ns16k | ns32k \
302
299
        | open8 \
303
 
        | or32 \
 
300
        | or1k | or32 \
304
301
        | pdp10 | pdp11 | pj | pjl \
305
302
        | powerpc | powerpc64 | powerpc64le | powerpcle \
306
303
        | pyramid \
328
325
        c6x)
329
326
                basic_machine=tic6x-unknown
330
327
                ;;
331
 
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
 
328
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
332
329
                basic_machine=$basic_machine-unknown
333
330
                os=-none
334
331
                ;;
370
367
        | aarch64-* | aarch64_be-* \
371
368
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
372
369
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
373
 
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 
370
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
374
371
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
375
372
        | avr-* | avr32-* \
376
373
        | be32-* | be64-* \
377
374
        | bfin-* | bs2000-* \
378
375
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
379
 
        | clipper-* | craynv-* | cydra-* \
 
376
        | c8051-* | clipper-* | craynv-* | cydra-* \
380
377
        | d10v-* | d30v-* | dlx-* \
381
378
        | elxsi-* \
382
379
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
385
382
        | hexagon-* \
386
383
        | i*86-* | i860-* | i960-* | ia64-* \
387
384
        | ip2k-* | iq2000-* \
 
385
        | k1om-* \
388
386
        | le32-* | le64-* \
389
387
        | lm32-* \
390
388
        | m32c-* | m32r-* | m32rle-* \
391
389
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
392
 
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
 
390
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
391
        | microblaze-* | microblazeel-* \
393
392
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
394
393
        | mips16-* \
395
394
        | mips64-* | mips64el-* \
407
406
        | mipsisa64r2-* | mipsisa64r2el-* \
408
407
        | mipsisa64sb1-* | mipsisa64sb1el-* \
409
408
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
 
409
        | mipsr5900-* | mipsr5900el-* \
410
410
        | mipstx39-* | mipstx39el-* \
411
411
        | mmix-* \
412
412
        | mt-* \
413
413
        | msp430-* \
414
414
        | nds32-* | nds32le-* | nds32be-* \
415
 
        | nios-* | nios2-* \
 
415
        | nios-* | nios2-* | nios2eb-* | nios2el-* \
416
416
        | none-* | np1-* | ns16k-* | ns32k-* \
417
417
        | open8-* \
418
418
        | orion-* \
788
788
                basic_machine=ns32k-utek
789
789
                os=-sysv
790
790
                ;;
791
 
        microblaze)
 
791
        microblaze*)
792
792
                basic_machine=microblaze-xilinx
793
793
                ;;
 
794
        mingw64)
 
795
                basic_machine=x86_64-pc
 
796
                os=-mingw64
 
797
                ;;
794
798
        mingw32)
795
 
                basic_machine=i386-pc
 
799
                basic_machine=i686-pc
796
800
                os=-mingw32
797
801
                ;;
798
802
        mingw32ce)
828
832
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
829
833
                ;;
830
834
        msys)
831
 
                basic_machine=i386-pc
 
835
                basic_machine=i686-pc
832
836
                os=-msys
833
837
                ;;
834
838
        mvs)
1019
1023
                basic_machine=i586-unknown
1020
1024
                os=-pw32
1021
1025
                ;;
1022
 
        rdos)
 
1026
        rdos | rdos64)
 
1027
                basic_machine=x86_64-pc
 
1028
                os=-rdos
 
1029
                ;;
 
1030
        rdos32)
1023
1031
                basic_machine=i386-pc
1024
1032
                os=-rdos
1025
1033
                ;;
1346
1354
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1347
1355
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1348
1356
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1349
 
              | -sym* | -kopensolaris* \
 
1357
              | -sym* | -kopensolaris* | -plan9* \
1350
1358
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1351
1359
              | -aos* | -aros* \
1352
1360
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1353
1361
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1354
1362
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1355
 
              | -openbsd* | -solidbsd* \
 
1363
              | -bitrig* | -openbsd* | -solidbsd* \
1356
1364
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1357
1365
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1358
1366
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1359
1367
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1360
1368
              | -chorusos* | -chorusrdb* | -cegcc* \
1361
1369
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1362
 
              | -mingw32* | -linux-gnu* | -linux-android* \
1363
 
              | -linux-newlib* | -linux-uclibc* \
 
1370
              | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
 
1371
              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1364
1372
              | -uxpv* | -beos* | -mpeix* | -udk* \
1365
1373
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1366
1374
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1492
1500
        -aros*)
1493
1501
                os=-aros
1494
1502
                ;;
1495
 
        -kaos*)
1496
 
                os=-kaos
1497
 
                ;;
1498
1503
        -zvmoe)
1499
1504
                os=-zvmoe
1500
1505
                ;;
1543
1548
        c4x-* | tic4x-*)
1544
1549
                os=-coff
1545
1550
                ;;
 
1551
        c8051-*)
 
1552
                os=-elf
 
1553
                ;;
1546
1554
        hexagon-*)
1547
1555
                os=-elf
1548
1556
                ;;
1586
1594
        mips*-*)
1587
1595
                os=-elf
1588
1596
                ;;
 
1597
        or1k-*)
 
1598
                os=-elf
 
1599
                ;;
1589
1600
        or32-*)
1590
1601
                os=-coff
1591
1602
                ;;