/[grub]/grub2/config.sub
ViewVC logotype

Diff of /grub2/config.sub

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by okuji, Fri Dec 27 08:53:08 2002 UTC revision 1.2 by okuji, Sat Aug 6 15:50:05 2005 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Configuration validation subroutine script.  # Configuration validation subroutine script.
3  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4  #   2000, 2001, 2002 Free Software Foundation, Inc.  #   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5    
6  timestamp='2002-04-26'  timestamp='2005-07-08'
7    
8  # This file is (in principle) common to ALL GNU software.  # This file is (in principle) common to ALL GNU software.
9  # The presence of a machine in this file suggests that SOME GNU software  # The presence of a machine in this file suggests that SOME GNU software
# Line 21  timestamp='2002-04-26' Line 21  timestamp='2002-04-26'
21  #  #
22  # You should have received a copy of the GNU General Public License  # You should have received a copy of the GNU General Public License
23  # along with this program; if not, write to the Free Software  # along with this program; if not, write to the Free Software
24  # Foundation, Inc., 59 Temple Place - Suite 330,  # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
25  # Boston, MA 02111-1307, USA.  # 02110-1301, USA.
26    #
27  # As a special exception to the GNU General Public License, if you  # As a special exception to the GNU General Public License, if you
28  # distribute this file as part of a program that contains a  # distribute this file as part of a program that contains a
29  # configuration script generated by Autoconf, you may include it under  # configuration script generated by Autoconf, you may include it under
30  # the same distribution terms that you use for the rest of that program.  # the same distribution terms that you use for the rest of that program.
31    
32    
33  # Please send patches to <config-patches@gnu.org>.  Submit a context  # Please send patches to <config-patches@gnu.org>.  Submit a context
34  # diff and a properly formatted ChangeLog entry.  # diff and a properly formatted ChangeLog entry.
35  #  #
# Line 70  Report bugs and patches to <config-patch Line 71  Report bugs and patches to <config-patch
71  version="\  version="\
72  GNU config.sub ($timestamp)  GNU config.sub ($timestamp)
73    
74  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
75  Free Software Foundation, Inc.  Free Software Foundation, Inc.
76    
77  This is free software; see the source for copying conditions.  There is NO  This is free software; see the source for copying conditions.  There is NO
# Line 83  Try \`$me --help' for more information." Line 84  Try \`$me --help' for more information."
84  while test $# -gt 0 ; do  while test $# -gt 0 ; do
85    case $1 in    case $1 in
86      --time-stamp | --time* | -t )      --time-stamp | --time* | -t )
87         echo "$timestamp" ; exit 0 ;;         echo "$timestamp" ; exit ;;
88      --version | -v )      --version | -v )
89         echo "$version" ; exit 0 ;;         echo "$version" ; exit ;;
90      --help | --h* | -h )      --help | --h* | -h )
91         echo "$usage"; exit 0 ;;         echo "$usage"; exit ;;
92      -- )     # Stop option processing      -- )     # Stop option processing
93         shift; break ;;         shift; break ;;
94      - ) # Use stdin as input.      - ) # Use stdin as input.
# Line 99  while test $# -gt 0 ; do Line 100  while test $# -gt 0 ; do
100      *local*)      *local*)
101         # First pass through any local machine types.         # First pass through any local machine types.
102         echo $1         echo $1
103         exit 0;;         exit ;;
104    
105      * )      * )
106         break ;;         break ;;
# Line 118  esac Line 119  esac
119  # Here we must recognize all the valid KERNEL-OS combinations.  # Here we must recognize all the valid KERNEL-OS combinations.
120  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
121  case $maybe_os in  case $maybe_os in
122    nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)    nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
123      kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
124      os=-$maybe_os      os=-$maybe_os
125      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
126      ;;      ;;
# Line 144  case $os in Line 146  case $os in
146          -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\          -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
147          -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \          -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
148          -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \          -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
149          -apple | -axis)          -apple | -axis | -knuth | -cray)
150                  os=                  os=
151                  basic_machine=$1                  basic_machine=$1
152                  ;;                  ;;
# Line 228  case $basic_machine in Line 230  case $basic_machine in
230          | a29k \          | a29k \
231          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
232          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
233            | am33_2.0 \
234          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
235            | bfin \
236          | c4x | clipper \          | c4x | clipper \
237          | d10v | d30v | dsp16xx \          | d10v | d30v | dlx | dsp16xx \
238          | fr30 \          | fr30 | frv \
239          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
240          | i370 | i860 | i960 | ia64 \          | i370 | i860 | i960 | ia64 \
241          | m32r | m68000 | m68k | m88k | mcore \          | ip2k | iq2000 \
242          | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \          | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
243          | mips64vr4100 | mips64vr4100el | mips64vr4300 \          | mips | mipsbe | mipseb | mipsel | mipsle \
244          | mips64vr4300el | mips64vr5000 | mips64vr5000el \          | mips16 \
245          | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \          | mips64 | mips64el \
246          | mipsisa32 | mipsisa64 \          | mips64vr | mips64vrel \
247            | mips64orion | mips64orionel \
248            | mips64vr4100 | mips64vr4100el \
249            | mips64vr4300 | mips64vr4300el \
250            | mips64vr5000 | mips64vr5000el \
251            | mips64vr5900 | mips64vr5900el \
252            | mipsisa32 | mipsisa32el \
253            | mipsisa32r2 | mipsisa32r2el \
254            | mipsisa64 | mipsisa64el \
255            | mipsisa64r2 | mipsisa64r2el \
256            | mipsisa64sb1 | mipsisa64sb1el \
257            | mipsisa64sr71k | mipsisa64sr71kel \
258            | mipstx39 | mipstx39el \
259          | mn10200 | mn10300 \          | mn10200 | mn10300 \
260            | ms1 \
261            | msp430 \
262          | ns16k | ns32k \          | ns16k | ns32k \
263          | openrisc | or32 \          | or32 \
264          | pdp10 | pdp11 | pj | pjl \          | pdp10 | pdp11 | pj | pjl \
265          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
266          | pyramid \          | pyramid \
267          | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \          | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
268          | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \          | sh64 | sh64le \
269            | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
270            | sparcv8 | sparcv9 | sparcv9b \
271          | strongarm \          | strongarm \
272          | tahoe | thumb | tic80 | tron \          | tahoe | thumb | tic4x | tic80 | tron \
273          | v850 | v850e \          | v850 | v850e \
274          | we32k \          | we32k \
275          | x86 | xscale | xstormy16 | xtensa \          | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
276          | z8k)          | z8k)
277                  basic_machine=$basic_machine-unknown                  basic_machine=$basic_machine-unknown
278                  ;;                  ;;
279            m32c)
280                    basic_machine=$basic_machine-unknown
281                    ;;
282          m6811 | m68hc11 | m6812 | m68hc12)          m6811 | m68hc11 | m6812 | m68hc12)
283                  # Motorola 68HC11/12.                  # Motorola 68HC11/12.
284                  basic_machine=$basic_machine-unknown                  basic_machine=$basic_machine-unknown
# Line 281  case $basic_machine in Line 304  case $basic_machine in
304          | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \          | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
305          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
306          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
307          | arm-*  | armbe-* | armle-* | armv*-* \          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
308          | avr-* \          | avr-* \
309          | bs2000-* \          | bfin-* | bs2000-* \
310          | c[123]* | c30-* | [cjt]90-* | c54x-* \          | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
311          | clipper-* | cydra-* \          | clipper-* | craynv-* | cydra-* \
312          | d10v-* | d30v-* \          | d10v-* | d30v-* | dlx-* \
313          | elxsi-* \          | elxsi-* \
314          | f30[01]-* | f700-* | fr30-* | fx80-* \          | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
315          | h8300-* | h8500-* \          | h8300-* | h8500-* \
316          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
317          | i*86-* | i860-* | i960-* | ia64-* \          | i*86-* | i860-* | i960-* | ia64-* \
318          | m32r-* \          | ip2k-* | iq2000-* \
319            | m32r-* | m32rle-* \
320          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
321          | m88110-* | m88k-* | mcore-* \          | m88110-* | m88k-* | maxq-* | mcore-* \
322          | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \          | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
323          | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \          | mips16-* \
324          | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \          | mips64-* | mips64el-* \
325          | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \          | mips64vr-* | mips64vrel-* \
326            | mips64orion-* | mips64orionel-* \
327            | mips64vr4100-* | mips64vr4100el-* \
328            | mips64vr4300-* | mips64vr4300el-* \
329            | mips64vr5000-* | mips64vr5000el-* \
330            | mips64vr5900-* | mips64vr5900el-* \
331            | mipsisa32-* | mipsisa32el-* \
332            | mipsisa32r2-* | mipsisa32r2el-* \
333            | mipsisa64-* | mipsisa64el-* \
334            | mipsisa64r2-* | mipsisa64r2el-* \
335            | mipsisa64sb1-* | mipsisa64sb1el-* \
336            | mipsisa64sr71k-* | mipsisa64sr71kel-* \
337            | mipstx39-* | mipstx39el-* \
338            | mmix-* \
339            | ms1-* \
340            | msp430-* \
341          | none-* | np1-* | ns16k-* | ns32k-* \          | none-* | np1-* | ns16k-* | ns32k-* \
342          | orion-* \          | orion-* \
343          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
344          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
345          | pyramid-* \          | pyramid-* \
346          | romp-* | rs6000-* \          | romp-* | rs6000-* \
347          | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \          | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
348          | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \          | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
349          | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \          | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
350          | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \          | sparclite-* \
351            | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
352            | tahoe-* | thumb-* \
353            | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
354            | tron-* \
355          | v850-* | v850e-* | vax-* \          | v850-* | v850e-* | vax-* \
356          | we32k-* \          | we32k-* \
357          | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \          | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
358          | xtensa-* \          | xstormy16-* | xtensa-* \
359          | ymp-* \          | ymp-* \
360          | z8k-*)          | z8k-*)
361                  ;;                  ;;
362            m32c-*)
363                    ;;
364          # Recognize the various machine names and aliases which stand          # Recognize the various machine names and aliases which stand
365          # for a CPU type and a company and sometimes even an OS.          # for a CPU type and a company and sometimes even an OS.
366          386bsd)          386bsd)
# Line 332  case $basic_machine in Line 377  case $basic_machine in
377                  basic_machine=a29k-amd                  basic_machine=a29k-amd
378                  os=-udi                  os=-udi
379                  ;;                  ;;
380            abacus)
381                    basic_machine=abacus-unknown
382                    ;;
383          adobe68k)          adobe68k)
384                  basic_machine=m68010-adobe                  basic_machine=m68010-adobe
385                  os=-scout                  os=-scout
# Line 346  case $basic_machine in Line 394  case $basic_machine in
394                  basic_machine=a29k-none                  basic_machine=a29k-none
395                  os=-bsd                  os=-bsd
396                  ;;                  ;;
397            amd64)
398                    basic_machine=x86_64-pc
399                    ;;
400            amd64-*)
401                    basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
402                    ;;
403          amdahl)          amdahl)
404                  basic_machine=580-amdahl                  basic_machine=580-amdahl
405                  os=-sysv                  os=-sysv
# Line 405  case $basic_machine in Line 459  case $basic_machine in
459                  basic_machine=j90-cray                  basic_machine=j90-cray
460                  os=-unicos                  os=-unicos
461                  ;;                  ;;
462            craynv)
463                    basic_machine=craynv-cray
464                    os=-unicosmp
465                    ;;
466            cr16c)
467                    basic_machine=cr16c-unknown
468                    os=-elf
469                    ;;
470          crds | unos)          crds | unos)
471                  basic_machine=m68k-crds                  basic_machine=m68k-crds
472                  ;;                  ;;
473            crisv32 | crisv32-* | etraxfs*)
474                    basic_machine=crisv32-axis
475                    ;;
476          cris | cris-* | etrax*)          cris | cris-* | etrax*)
477                  basic_machine=cris-axis                  basic_machine=cris-axis
478                  ;;                  ;;
479            crx)
480                    basic_machine=crx-unknown
481                    os=-elf
482                    ;;
483          da30 | da30-*)          da30 | da30-*)
484                  basic_machine=m68k-da30                  basic_machine=m68k-da30
485                  ;;                  ;;
# Line 433  case $basic_machine in Line 502  case $basic_machine in
502                  basic_machine=m88k-motorola                  basic_machine=m88k-motorola
503                  os=-sysv3                  os=-sysv3
504                  ;;                  ;;
505            djgpp)
506                    basic_machine=i586-pc
507                    os=-msdosdjgpp
508                    ;;
509          dpx20 | dpx20-*)          dpx20 | dpx20-*)
510                  basic_machine=rs6000-bull                  basic_machine=rs6000-bull
511                  os=-bosx                  os=-bosx
# Line 611  case $basic_machine in Line 684  case $basic_machine in
684          mips3*)          mips3*)
685                  basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown                  basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
686                  ;;                  ;;
         mmix*)  
                 basic_machine=mmix-knuth  
                 os=-mmixware  
                 ;;  
687          monitor)          monitor)
688                  basic_machine=m68k-rom68k                  basic_machine=m68k-rom68k
689                  os=-coff                  os=-coff
# Line 702  case $basic_machine in Line 771  case $basic_machine in
771                  basic_machine=hppa1.1-oki                  basic_machine=hppa1.1-oki
772                  os=-proelf                  os=-proelf
773                  ;;                  ;;
774          or32 | or32-*)          openrisc | openrisc-*)
775                  basic_machine=or32-unknown                  basic_machine=or32-unknown
776                  os=-coff                  ;;
777            os400)
778                    basic_machine=powerpc-ibm
779                    os=-os400
780                  ;;                  ;;
781          OSE68000 | ose68000)          OSE68000 | ose68000)
782                  basic_machine=m68000-ericsson                  basic_machine=m68000-ericsson
# Line 728  case $basic_machine in Line 800  case $basic_machine in
800          pbb)          pbb)
801                  basic_machine=m68k-tti                  basic_machine=m68k-tti
802                  ;;                  ;;
803          pc532 | pc532-*)          pc532 | pc532-*)
804                  basic_machine=ns32k-pc532                  basic_machine=ns32k-pc532
805                  ;;                  ;;
806          pentium | p5 | k5 | k6 | nexgen | viac3)          pentium | p5 | k5 | k6 | nexgen | viac3)
807                  basic_machine=i586-pc                  basic_machine=i586-pc
808                  ;;                  ;;
809          pentiumpro | p6 | 6x86 | athlon)          pentiumpro | p6 | 6x86 | athlon | athlon_*)
810                  basic_machine=i686-pc                  basic_machine=i686-pc
811                  ;;                  ;;
812          pentiumii | pentium2)          pentiumii | pentium2 | pentiumiii | pentium3)
813                  basic_machine=i686-pc                  basic_machine=i686-pc
814                  ;;                  ;;
815            pentium4)
816                    basic_machine=i786-pc
817                    ;;
818          pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)          pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
819                  basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
820                  ;;                  ;;
821          pentiumpro-* | p6-* | 6x86-* | athlon-*)          pentiumpro-* | p6-* | 6x86-* | athlon-*)
822                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
823                  ;;                  ;;
824          pentiumii-* | pentium2-*)          pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
825                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
826                  ;;                  ;;
827            pentium4-*)
828                    basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
829                    ;;
830          pn)          pn)
831                  basic_machine=pn-gould                  basic_machine=pn-gould
832                  ;;                  ;;
833          power)  basic_machine=power-ibm          power)  basic_machine=power-ibm
834                  ;;                  ;;
835          ppc)    basic_machine=powerpc-unknown          ppc)    basic_machine=powerpc-unknown
836                  ;;                  ;;
837          ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`          ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
838                  ;;                  ;;
839          ppcle | powerpclittle | ppc-le | powerpc-little)          ppcle | powerpclittle | ppc-le | powerpc-little)
840                  basic_machine=powerpcle-unknown                  basic_machine=powerpcle-unknown
841                  ;;                  ;;
842          ppcle-* | powerpclittle-*)          ppcle-* | powerpclittle-*)
843                  basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
844                  ;;                  ;;
845          ppc64)  basic_machine=powerpc64-unknown          ppc64)  basic_machine=powerpc64-unknown
846                  ;;                  ;;
847          ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`          ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
848                  ;;                  ;;
849          ppc64le | powerpc64little | ppc64-le | powerpc64-little)          ppc64le | powerpc64little | ppc64-le | powerpc64-little)
850                  basic_machine=powerpc64le-unknown                  basic_machine=powerpc64le-unknown
851                  ;;                  ;;
852          ppc64le-* | powerpc64little-*)          ppc64le-* | powerpc64little-*)
853                  basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
854                  ;;                  ;;
# Line 801  case $basic_machine in Line 879  case $basic_machine in
879                  basic_machine=a29k-amd                  basic_machine=a29k-amd
880                  os=-udi                  os=-udi
881                  ;;                  ;;
882            sb1)
883                    basic_machine=mipsisa64sb1-unknown
884                    ;;
885            sb1el)
886                    basic_machine=mipsisa64sb1el-unknown
887                    ;;
888            sei)
889                    basic_machine=mips-sei
890                    os=-seiux
891                    ;;
892          sequent)          sequent)
893                  basic_machine=i386-sequent                  basic_machine=i386-sequent
894                  ;;                  ;;
# Line 808  case $basic_machine in Line 896  case $basic_machine in
896                  basic_machine=sh-hitachi                  basic_machine=sh-hitachi
897                  os=-hms                  os=-hms
898                  ;;                  ;;
899            sh64)
900                    basic_machine=sh64-unknown
901                    ;;
902          sparclite-wrs | simso-wrs)          sparclite-wrs | simso-wrs)
903                  basic_machine=sparclite-wrs                  basic_machine=sparclite-wrs
904                  os=-vxworks                  os=-vxworks
# Line 866  case $basic_machine in Line 957  case $basic_machine in
957          sun386 | sun386i | roadrunner)          sun386 | sun386i | roadrunner)
958                  basic_machine=i386-sun                  basic_machine=i386-sun
959                  ;;                  ;;
960          sv1)          sv1)
961                  basic_machine=sv1-cray                  basic_machine=sv1-cray
962                  os=-unicos                  os=-unicos
963                  ;;                  ;;
# Line 874  case $basic_machine in Line 965  case $basic_machine in
965                  basic_machine=i386-sequent                  basic_machine=i386-sequent
966                  os=-dynix                  os=-dynix
967                  ;;                  ;;
         t3d)  
                 basic_machine=alpha-cray  
                 os=-unicos  
                 ;;  
968          t3e)          t3e)
969                  basic_machine=alphaev5-cray                  basic_machine=alphaev5-cray
970                  os=-unicos                  os=-unicos
# Line 890  case $basic_machine in Line 977  case $basic_machine in
977                  basic_machine=tic54x-unknown                  basic_machine=tic54x-unknown
978                  os=-coff                  os=-coff
979                  ;;                  ;;
980            tic55x | c55x*)
981                    basic_machine=tic55x-unknown
982                    os=-coff
983                    ;;
984            tic6x | c6x*)
985                    basic_machine=tic6x-unknown
986                    os=-coff
987                    ;;
988          tx39)          tx39)
989                  basic_machine=mipstx39-unknown                  basic_machine=mipstx39-unknown
990                  ;;                  ;;
# Line 903  case $basic_machine in Line 998  case $basic_machine in
998          tower | tower-32)          tower | tower-32)
999                  basic_machine=m68k-ncr                  basic_machine=m68k-ncr
1000                  ;;                  ;;
1001            tpf)
1002                    basic_machine=s390x-ibm
1003                    os=-tpf
1004                    ;;
1005          udi29k)          udi29k)
1006                  basic_machine=a29k-amd                  basic_machine=a29k-amd
1007                  os=-udi                  os=-udi
# Line 924  case $basic_machine in Line 1023  case $basic_machine in
1023                  os=-vms                  os=-vms
1024                  ;;                  ;;
1025          vpp*|vx|vx-*)          vpp*|vx|vx-*)
1026                 basic_machine=f301-fujitsu                  basic_machine=f301-fujitsu
1027                 ;;                  ;;
1028          vxworks960)          vxworks960)
1029                  basic_machine=i960-wrs                  basic_machine=i960-wrs
1030                  os=-vxworks                  os=-vxworks
# Line 946  case $basic_machine in Line 1045  case $basic_machine in
1045                  basic_machine=hppa1.1-winbond                  basic_machine=hppa1.1-winbond
1046                  os=-proelf                  os=-proelf
1047                  ;;                  ;;
1048          windows32)          xbox)
1049                  basic_machine=i386-pc                  basic_machine=i686-pc
1050                  os=-windows32-msvcrt                  os=-mingw32
1051                  ;;                  ;;
1052          xps | xps100)          xps | xps100)
1053                  basic_machine=xps100-honeywell                  basic_machine=xps100-honeywell
1054                  ;;                  ;;
1055          ymp)          ymp)
# Line 980  case $basic_machine in Line 1079  case $basic_machine in
1079          romp)          romp)
1080                  basic_machine=romp-ibm                  basic_machine=romp-ibm
1081                  ;;                  ;;
1082            mmix)
1083                    basic_machine=mmix-knuth
1084                    ;;
1085          rs6000)          rs6000)
1086                  basic_machine=rs6000-ibm                  basic_machine=rs6000-ibm
1087                  ;;                  ;;
# Line 996  case $basic_machine in Line 1098  case $basic_machine in
1098          we32k)          we32k)
1099                  basic_machine=we32k-att                  basic_machine=we32k-att
1100                  ;;                  ;;
1101          sh3 | sh4 | sh3eb | sh4eb)          sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1102                  basic_machine=sh-unknown                  basic_machine=sh-unknown
1103                  ;;                  ;;
1104          sh64)          sparc | sparcv8 | sparcv9 | sparcv9b)
                 basic_machine=sh64-unknown  
                 ;;  
         sparc | sparcv9 | sparcv9b)  
1105                  basic_machine=sparc-sun                  basic_machine=sparc-sun
1106                  ;;                  ;;
1107          cydra)          cydra)
1108                  basic_machine=cydra-cydrome                  basic_machine=cydra-cydrome
1109                  ;;                  ;;
1110          orion)          orion)
# Line 1020  case $basic_machine in Line 1119  case $basic_machine in
1119          pmac | pmac-mpw)          pmac | pmac-mpw)
1120                  basic_machine=powerpc-apple                  basic_machine=powerpc-apple
1121                  ;;                  ;;
         c4x*)  
                 basic_machine=c4x-none  
                 os=-coff  
                 ;;  
1122          *-unknown)          *-unknown)
1123                  # Make sure to match an already-canonicalized machine name.                  # Make sure to match an already-canonicalized machine name.
1124                  ;;                  ;;
# Line 1079  case $os in Line 1174  case $os in
1174                | -aos* \                | -aos* \
1175                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1176                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1177                | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \                | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1178                | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \                | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1179                  | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1180                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1181                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1182                | -chorusos* | -chorusrdb* \                | -chorusos* | -chorusrdb* \
1183                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1184                | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \                | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1185                | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1186                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1187                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1188                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1189                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* )                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1190                  | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1191                  | -skyos* | -haiku*)
1192          # Remember, each alternative MUST END IN *, to match a version number.          # Remember, each alternative MUST END IN *, to match a version number.
1193                  ;;                  ;;
1194          -qnx*)          -qnx*)
# Line 1102  case $os in Line 1200  case $os in
1200                          ;;                          ;;
1201                  esac                  esac
1202                  ;;                  ;;
1203            -nto-qnx*)
1204                    ;;
1205          -nto*)          -nto*)
1206                  os=-nto-qnx                  os=`echo $os | sed -e 's|nto|nto-qnx|'`
1207                  ;;                  ;;
1208          -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \          -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1209                | -windows* | -osx | -abug | -netware* | -os9* | -beos* \                | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1210                | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)                | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1211                  ;;                  ;;
1212          -mac*)          -mac*)
1213                  os=`echo $os | sed -e 's|mac|macos|'`                  os=`echo $os | sed -e 's|mac|macos|'`
1214                  ;;                  ;;
1215            -linux-dietlibc)
1216                    os=-linux-dietlibc
1217                    ;;
1218          -linux*)          -linux*)
1219                  os=`echo $os | sed -e 's|linux|linux-gnu|'`                  os=`echo $os | sed -e 's|linux|linux-gnu|'`
1220                  ;;                  ;;
# Line 1124  case $os in Line 1227  case $os in
1227          -opened*)          -opened*)
1228                  os=-openedition                  os=-openedition
1229                  ;;                  ;;
1230            -os400*)
1231                    os=-os400
1232                    ;;
1233          -wince*)          -wince*)
1234                  os=-wince                  os=-wince
1235                  ;;                  ;;
# Line 1145  case $os in Line 1251  case $os in
1251          -atheos*)          -atheos*)
1252                  os=-atheos                  os=-atheos
1253                  ;;                  ;;
1254            -syllable*)
1255                    os=-syllable
1256                    ;;
1257          -386bsd)          -386bsd)
1258                  os=-bsd                  os=-bsd
1259                  ;;                  ;;
# Line 1155  case $os in Line 1264  case $os in
1264                  os=-rtmk-nova                  os=-rtmk-nova
1265                  ;;                  ;;
1266          -ns2 )          -ns2 )
1267                  os=-nextstep2                  os=-nextstep2
1268                  ;;                  ;;
1269          -nsk*)          -nsk*)
1270                  os=-nsk                  os=-nsk
# Line 1167  case $os in Line 1276  case $os in
1276          -sinix*)          -sinix*)
1277                  os=-sysv4                  os=-sysv4
1278                  ;;                  ;;
1279            -tpf*)
1280                    os=-tpf
1281                    ;;
1282          -triton*)          -triton*)
1283                  os=-sysv3                  os=-sysv3
1284                  ;;                  ;;
# Line 1194  case $os in Line 1306  case $os in
1306          -xenix)          -xenix)
1307                  os=-xenix                  os=-xenix
1308                  ;;                  ;;
1309          -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)          -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1310                  os=-mint                  os=-mint
1311                    ;;
1312            -aros*)
1313                    os=-aros
1314                    ;;
1315            -kaos*)
1316                    os=-kaos
1317                    ;;
1318            -zvmoe)
1319                    os=-zvmoe
1320                  ;;                  ;;
1321          -none)          -none)
1322                  ;;                  ;;
# Line 1228  case $basic_machine in Line 1349  case $basic_machine in
1349          arm*-semi)          arm*-semi)
1350                  os=-aout                  os=-aout
1351                  ;;                  ;;
1352        c4x-* | tic4x-*)
1353            os=-coff
1354            ;;
1355          # This must come before the *-dec entry.          # This must come before the *-dec entry.
1356          pdp10-*)          pdp10-*)
1357                  os=-tops20                  os=-tops20
1358                  ;;                  ;;
1359          pdp11-*)          pdp11-*)
1360                  os=-none                  os=-none
1361                  ;;                  ;;
1362          *-dec | vax-*)          *-dec | vax-*)
# Line 1271  case $basic_machine in Line 1395  case $basic_machine in
1395          *-be)          *-be)
1396                  os=-beos                  os=-beos
1397                  ;;                  ;;
1398            *-haiku)
1399                    os=-haiku
1400                    ;;
1401          *-ibm)          *-ibm)
1402                  os=-aix                  os=-aix
1403                  ;;                  ;;
1404            *-knuth)
1405                    os=-mmixware
1406                    ;;
1407          *-wec)          *-wec)
1408                  os=-proelf                  os=-proelf
1409                  ;;                  ;;
# Line 1325  case $basic_machine in Line 1455  case $basic_machine in
1455          *-next)          *-next)
1456                  os=-nextstep3                  os=-nextstep3
1457                  ;;                  ;;
1458          *-gould)          *-gould)
1459                  os=-sysv                  os=-sysv
1460                  ;;                  ;;
1461          *-highlevel)          *-highlevel)
1462                  os=-bsd                  os=-bsd
1463                  ;;                  ;;
1464          *-encore)          *-encore)
1465                  os=-bsd                  os=-bsd
1466                  ;;                  ;;
1467          *-sgi)          *-sgi)
1468                  os=-irix                  os=-irix
1469                  ;;                  ;;
1470          *-siemens)          *-siemens)
1471                  os=-sysv4                  os=-sysv4
1472                  ;;                  ;;
1473          *-masscomp)          *-masscomp)
# Line 1406  case $basic_machine in Line 1536  case $basic_machine in
1536                          -mvs* | -opened*)                          -mvs* | -opened*)
1537                                  vendor=ibm                                  vendor=ibm
1538                                  ;;                                  ;;
1539                            -os400*)
1540                                    vendor=ibm
1541                                    ;;
1542                          -ptx*)                          -ptx*)
1543                                  vendor=sequent                                  vendor=sequent
1544                                  ;;                                  ;;
1545                            -tpf*)
1546                                    vendor=ibm
1547                                    ;;
1548                          -vxsim* | -vxworks* | -windiss*)                          -vxsim* | -vxworks* | -windiss*)
1549                                  vendor=wrs                                  vendor=wrs
1550                                  ;;                                  ;;
# Line 1433  case $basic_machine in Line 1569  case $basic_machine in
1569  esac  esac
1570    
1571  echo $basic_machine$os  echo $basic_machine$os
1572  exit 0  exit
1573    
1574  # Local variables:  # Local variables:
1575  # eval: (add-hook 'write-file-hooks 'time-stamp)  # eval: (add-hook 'write-file-hooks 'time-stamp)

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26