~ubuntu-branches/ubuntu/trusty/vino/trusty

« back to all changes in this revision

Viewing changes to build-aux/config.sub

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-06-06 13:22:46 UTC
  • mfrom: (1.1.62)
  • Revision ID: package-import@ubuntu.com-20120606132246-v70ea0dyx3p3l05v
Tags: 3.5.2-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on intltool

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-06-03'
 
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, 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 ]
247
249
        # Some are omitted here because they have special meanings below.
248
250
        1750a | 580 \
249
251
        | a29k \
 
252
        | aarch64 | aarch64_be \
250
253
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
251
254
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
252
255
        | am33_2.0 \
253
256
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
257
        | be32 | be64 \
254
258
        | bfin \
255
259
        | c4x | clipper \
256
260
        | d10v | d30v | dlx | dsp16xx | dvp \
 
261
        | epiphany \
257
262
        | fido | fr30 | frv \
258
263
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
264
        | hexagon \
259
265
        | i370 | i860 | i960 | ia64 \
260
266
        | ip2k | iq2000 \
 
267
        | le32 | le64 \
261
268
        | lm32 \
262
269
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
263
270
        | maxq | mb | microblaze | mcore | mep | metag \
291
298
        | pdp10 | pdp11 | pj | pjl \
292
299
        | powerpc | powerpc64 | powerpc64le | powerpcle \
293
300
        | pyramid \
294
 
        | rx \
 
301
        | rl78 | rx \
295
302
        | score \
296
303
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
297
304
        | sh64 | sh64le \
315
322
        c6x)
316
323
                basic_machine=tic6x-unknown
317
324
                ;;
318
 
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
319
 
                # Motorola 68HC11/12.
 
325
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
320
326
                basic_machine=$basic_machine-unknown
321
327
                os=-none
322
328
                ;;
329
335
        strongarm | thumb | xscale)
330
336
                basic_machine=arm-unknown
331
337
                ;;
332
 
 
 
338
        xgate)
 
339
                basic_machine=$basic_machine-unknown
 
340
                os=-none
 
341
                ;;
333
342
        xscaleeb)
334
343
                basic_machine=armeb-unknown
335
344
                ;;
352
361
        # Recognize the basic CPU types with company name.
353
362
        580-* \
354
363
        | a29k-* \
 
364
        | aarch64-* | aarch64_be-* \
355
365
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
356
366
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
357
367
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
358
368
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
359
369
        | avr-* | avr32-* \
 
370
        | be32-* | be64-* \
360
371
        | bfin-* | bs2000-* \
361
372
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
362
373
        | clipper-* | craynv-* | cydra-* \
365
376
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
366
377
        | h8300-* | h8500-* \
367
378
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 
379
        | hexagon-* \
368
380
        | i*86-* | i860-* | i960-* | ia64-* \
369
381
        | ip2k-* | iq2000-* \
 
382
        | le32-* | le64-* \
370
383
        | lm32-* \
371
384
        | m32c-* | m32r-* | m32rle-* \
372
385
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
400
413
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
401
414
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
402
415
        | pyramid-* \
403
 
        | romp-* | rs6000-* | rx-* \
 
416
        | rl78-* | romp-* | rs6000-* | rx-* \
404
417
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
405
418
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
406
419
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
712
725
        i370-ibm* | ibm*)
713
726
                basic_machine=i370-ibm
714
727
                ;;
715
 
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
716
728
        i*86v32)
717
729
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
718
730
                os=-sysv32
827
839
        ms1-*)
828
840
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
829
841
                ;;
 
842
        msys)
 
843
                basic_machine=i386-pc
 
844
                os=-msys
 
845
                ;;
830
846
        mvs)
831
847
                basic_machine=i370-ibm
832
848
                os=-mvs
833
849
                ;;
 
850
        nacl)
 
851
                basic_machine=le32-unknown
 
852
                os=-nacl
 
853
                ;;
834
854
        ncr3000)
835
855
                basic_machine=i486-ncr
836
856
                os=-sysv4
1350
1370
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1351
1371
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1352
1372
              | -chorusos* | -chorusrdb* | -cegcc* \
1353
 
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
1373
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1354
1374
              | -mingw32* | -linux-gnu* | -linux-android* \
1355
1375
              | -linux-newlib* | -linux-uclibc* \
1356
1376
              | -uxpv* | -beos* | -mpeix* | -udk* \
1562
1582
                ;;
1563
1583
        m68000-sun)
1564
1584
                os=-sunos3
1565
 
                # This also exists in the configure program, but was not the
1566
 
                # default.
1567
 
                # os=-sunos4
1568
1585
                ;;
1569
1586
        m68*-cisco)
1570
1587
                os=-aout