~ubuntu-branches/ubuntu/precise/indicator-application/precise

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Package Import Robot
  • Author(s): Ted Gould
  • Date: 2012-03-21 16:53:17 UTC
  • mfrom: (1.1.42)
  • Revision ID: package-import@ubuntu.com-20120321165317-s33aluzmsu4nu86b
Tags: 0.4.94-0ubuntu1
* New upstream release.
  * Memory leak (LP: #957992)

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, 2012 Free Software Foundation, Inc.
 
5
#   2011 Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2012-02-10'
 
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
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, see <http://www.gnu.org/licenses/>.
 
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.
25
27
#
26
28
# As a special exception to the GNU General Public License, if you
27
29
# distribute this file as part of a program that contains a
74
76
GNU config.sub ($timestamp)
75
77
 
76
78
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.
 
79
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
 
80
Software Foundation, Inc.
79
81
 
80
82
This is free software; see the source for copying conditions.  There is NO
81
83
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
130
132
    os=-$maybe_os
131
133
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
132
134
    ;;
133
 
  android-linux)
134
 
    os=-linux-android
135
 
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
136
 
    ;;
137
135
  *)
138
136
    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
139
137
    if [ $basic_machine != $1 ]
249
247
        # Some are omitted here because they have special meanings below.
250
248
        1750a | 580 \
251
249
        | a29k \
252
 
        | aarch64 | aarch64_be \
253
250
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
254
251
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
255
252
        | am33_2.0 \
256
253
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
257
 
        | be32 | be64 \
258
254
        | bfin \
259
255
        | c4x | clipper \
260
256
        | d10v | d30v | dlx | dsp16xx \
261
 
        | epiphany \
262
257
        | fido | fr30 | frv \
263
258
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264
 
        | hexagon \
265
259
        | i370 | i860 | i960 | ia64 \
266
260
        | ip2k | iq2000 \
267
 
        | le32 | le64 \
268
261
        | lm32 \
269
262
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
270
263
        | maxq | mb | microblaze | mcore | mep | metag \
298
291
        | pdp10 | pdp11 | pj | pjl \
299
292
        | powerpc | powerpc64 | powerpc64le | powerpcle \
300
293
        | pyramid \
301
 
        | rl78 | rx \
 
294
        | rx \
302
295
        | score \
303
296
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
304
297
        | sh64 | sh64le \
307
300
        | spu \
308
301
        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
309
302
        | ubicom32 \
310
 
        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
 
303
        | v850 | v850e \
311
304
        | we32k \
312
305
        | x86 | xc16x | xstormy16 | xtensa \
313
306
        | z8k | z80)
322
315
        c6x)
323
316
                basic_machine=tic6x-unknown
324
317
                ;;
325
 
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
 
318
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
 
319
                # Motorola 68HC11/12.
326
320
                basic_machine=$basic_machine-unknown
327
321
                os=-none
328
322
                ;;
335
329
        strongarm | thumb | xscale)
336
330
                basic_machine=arm-unknown
337
331
                ;;
338
 
        xgate)
339
 
                basic_machine=$basic_machine-unknown
340
 
                os=-none
341
 
                ;;
 
332
 
342
333
        xscaleeb)
343
334
                basic_machine=armeb-unknown
344
335
                ;;
361
352
        # Recognize the basic CPU types with company name.
362
353
        580-* \
363
354
        | a29k-* \
364
 
        | aarch64-* | aarch64_be-* \
365
355
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
366
356
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
367
357
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
368
358
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
369
359
        | avr-* | avr32-* \
370
 
        | be32-* | be64-* \
371
360
        | bfin-* | bs2000-* \
372
361
        | c[123]* | c30-* | [cjt]90-* | c4x-* \
373
362
        | clipper-* | craynv-* | cydra-* \
376
365
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
377
366
        | h8300-* | h8500-* \
378
367
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
379
 
        | hexagon-* \
380
368
        | i*86-* | i860-* | i960-* | ia64-* \
381
369
        | ip2k-* | iq2000-* \
382
 
        | le32-* | le64-* \
383
370
        | lm32-* \
384
371
        | m32c-* | m32r-* | m32rle-* \
385
372
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
413
400
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
414
401
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
415
402
        | pyramid-* \
416
 
        | rl78-* | romp-* | rs6000-* | rx-* \
 
403
        | romp-* | rs6000-* | rx-* \
417
404
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
418
405
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
419
406
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
421
408
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
422
409
        | tahoe-* \
423
410
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
424
 
        | tile*-* \
 
411
        | tile-* | tilegx-* \
425
412
        | tron-* \
426
413
        | ubicom32-* \
427
 
        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
428
 
        | vax-* \
 
414
        | v850-* | v850e-* | vax-* \
429
415
        | we32k-* \
430
416
        | x86-* | x86_64-* | xc16x-* | xps100-* \
431
417
        | xstormy16-* | xtensa*-* \
725
711
        i370-ibm* | ibm*)
726
712
                basic_machine=i370-ibm
727
713
                ;;
 
714
# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
728
715
        i*86v32)
729
716
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
730
717
                os=-sysv32
821
808
        ms1-*)
822
809
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
823
810
                ;;
824
 
        msys)
825
 
                basic_machine=i386-pc
826
 
                os=-msys
827
 
                ;;
828
811
        mvs)
829
812
                basic_machine=i370-ibm
830
813
                os=-mvs
831
814
                ;;
832
 
        nacl)
833
 
                basic_machine=le32-unknown
834
 
                os=-nacl
835
 
                ;;
836
815
        ncr3000)
837
816
                basic_machine=i486-ncr
838
817
                os=-sysv4
1141
1120
                basic_machine=t90-cray
1142
1121
                os=-unicos
1143
1122
                ;;
 
1123
        # This must be matched before tile*.
 
1124
        tilegx*)
 
1125
                basic_machine=tilegx-unknown
 
1126
                os=-linux-gnu
 
1127
                ;;
1144
1128
        tile*)
1145
 
                basic_machine=$basic_machine-unknown
 
1129
                basic_machine=tile-unknown
1146
1130
                os=-linux-gnu
1147
1131
                ;;
1148
1132
        tx39)
1352
1336
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1353
1337
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1354
1338
              | -chorusos* | -chorusrdb* | -cegcc* \
1355
 
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
1339
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1356
1340
              | -mingw32* | -linux-gnu* | -linux-android* \
1357
1341
              | -linux-newlib* | -linux-uclibc* \
1358
1342
              | -uxpv* | -beos* | -mpeix* | -udk* \
1564
1548
                ;;
1565
1549
        m68000-sun)
1566
1550
                os=-sunos3
 
1551
                # This also exists in the configure program, but was not the
 
1552
                # default.
 
1553
                # os=-sunos4
1567
1554
                ;;
1568
1555
        m68*-cisco)
1569
1556
                os=-aout