~ubuntu-branches/debian/lenny/ecryptfs-utils/lenny

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-10-24 06:42:00 UTC
  • mfrom: (1.1.11 upstream)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20081024064200-oh6xmd4e4ogs7m2l
Tags: 63-1
MergingĀ upstreamĀ versionĀ 63.

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 Free Software Foundation,
5
 
#   Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2007-06-28'
 
7
timestamp='2008-01-16'
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
72
72
version="\
73
73
GNU config.sub ($timestamp)
74
74
 
75
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
76
 
Free Software Foundation, Inc.
 
75
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
 
76
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
77
77
 
78
78
This is free software; see the source for copying conditions.  There is NO
79
79
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
244
244
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
245
245
        | bfin \
246
246
        | c4x | clipper \
247
 
        | d10v | d30v | dlx | dsp16xx | dvp \
 
247
        | d10v | d30v | dlx | dsp16xx \
248
248
        | fido | fr30 | frv \
249
249
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
250
        | i370 | i860 | i960 | ia64 \
277
277
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
278
        | pyramid \
279
279
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
280
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281
281
        | sh64 | sh64le \
282
282
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
283
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
358
358
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
359
        | pyramid-* \
360
360
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
361
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362
362
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
363
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364
364
        | sparclite-* \
369
369
        | v850-* | v850e-* | vax-* \
370
370
        | we32k-* \
371
371
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
 
        | xstormy16-* | xtensa-* \
 
372
        | xstormy16-* | xtensa*-* \
373
373
        | ymp-* \
374
374
        | z8k-*)
375
375
                ;;
 
376
        # Recognize the basic CPU types without company name, with glob match.
 
377
        xtensa*)
 
378
                basic_machine=$basic_machine-unknown
 
379
                ;;
376
380
        # Recognize the various machine names and aliases which stand
377
381
        # for a CPU type and a company and sometimes even an OS.
378
382
        386bsd)
443
447
                basic_machine=ns32k-sequent
444
448
                os=-dynix
445
449
                ;;
 
450
        blackfin)
 
451
                basic_machine=bfin-unknown
 
452
                os=-linux
 
453
                ;;
 
454
        blackfin-*)
 
455
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 
456
                os=-linux
 
457
                ;;
446
458
        c90)
447
459
                basic_machine=c90-cray
448
460
                os=-unicos
668
680
                basic_machine=m68k-isi
669
681
                os=-sysv
670
682
                ;;
 
683
        m68knommu)
 
684
                basic_machine=m68k-unknown
 
685
                os=-linux
 
686
                ;;
 
687
        m68knommu-*)
 
688
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 
689
                os=-linux
 
690
                ;;
671
691
        m88k-omron*)
672
692
                basic_machine=m88k-omron
673
693
                ;;
694
714
                basic_machine=m68k-atari
695
715
                os=-mint
696
716
                ;;
697
 
        mipsEE* | ee | ps2)
698
 
                basic_machine=mips64r5900el-scei
699
 
                case $os in
700
 
                    -linux*)
701
 
                        ;;
702
 
                    *)
703
 
                        os=-elf
704
 
                        ;;
705
 
                esac
706
 
                ;;
707
 
        iop)
708
 
                basic_machine=mipsel-scei
709
 
                os=-irx
710
 
                ;;
711
 
        dvp)
712
 
                basic_machine=dvp-scei
713
 
                os=-elf
714
 
                ;;
715
717
        mips3*-*)
716
718
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
717
719
                ;;
831
833
                basic_machine=i860-intel
832
834
                os=-osf
833
835
                ;;
 
836
        parisc)
 
837
                basic_machine=hppa-unknown
 
838
                os=-linux
 
839
                ;;
 
840
        parisc-*)
 
841
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 
842
                os=-linux
 
843
                ;;
834
844
        pbd)
835
845
                basic_machine=sparc-tti
836
846
                ;;
1039
1049
                basic_machine=tic6x-unknown
1040
1050
                os=-coff
1041
1051
                ;;
 
1052
        tile*)
 
1053
                basic_machine=tile-unknown
 
1054
                os=-linux-gnu
 
1055
                ;;
1042
1056
        tx39)
1043
1057
                basic_machine=mipstx39-unknown
1044
1058
                ;;
1244
1258
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1245
1259
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1246
1260
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1247
 
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
 
1261
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1248
1262
        # Remember, each alternative MUST END IN *, to match a version number.
1249
1263
                ;;
1250
1264
        -qnx*)