Develop and Download Open Source Software

Browse CVS Repository

Diff of /freewnn/FreeWnn/config.sub

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

revision 1.3 by aono, Wed Jun 4 08:35:02 2003 UTC revision 1.4 by aonoto, Sat Sep 5 19:35:51 2009 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, 2003 Free Software Foundation, Inc.  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5    #   Free Software Foundation, Inc.
6    
7  timestamp='2003-02-22'  timestamp='2008-01-16'
8    
9  # This file is (in principle) common to ALL GNU software.  # This file is (in principle) common to ALL GNU software.
10  # 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='2003-02-22' Line 22  timestamp='2003-02-22'
22  #  #
23  # You should have received a copy of the GNU General Public License  # You should have received a copy of the GNU General Public License
24  # along with this program; if not, write to the Free Software  # along with this program; if not, write to the Free Software
25  # Foundation, Inc., 59 Temple Place - Suite 330,  # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26  # Boston, MA 02111-1307, USA.  # 02110-1301, USA.
27    #
28  # As a special exception to the GNU General Public License, if you  # As a special exception to the GNU General Public License, if you
29  # distribute this file as part of a program that contains a  # distribute this file as part of a program that contains a
30  # configuration script generated by Autoconf, you may include it under  # configuration script generated by Autoconf, you may include it under
31  # 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.
32    
33    
34  # Please send patches to <config-patches@gnu.org>.  Submit a context  # Please send patches to <config-patches@gnu.org>.  Submit a context
35  # diff and a properly formatted ChangeLog entry.  # diff and a properly formatted ChangeLog entry.
36  #  #
# Line 70  Report bugs and patches to <config-patch Line 72  Report bugs and patches to <config-patch
72  version="\  version="\
73  GNU config.sub ($timestamp)  GNU config.sub ($timestamp)
74    
75  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
76  Free Software Foundation, Inc.  2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
77    
78  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
79  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
# Line 83  Try \`$me --help' for more information." Line 85  Try \`$me --help' for more information."
85  while test $# -gt 0 ; do  while test $# -gt 0 ; do
86    case $1 in    case $1 in
87      --time-stamp | --time* | -t )      --time-stamp | --time* | -t )
88         echo "$timestamp" ; exit 0 ;;         echo "$timestamp" ; exit ;;
89      --version | -v )      --version | -v )
90         echo "$version" ; exit 0 ;;         echo "$version" ; exit ;;
91      --help | --h* | -h )      --help | --h* | -h )
92         echo "$usage"; exit 0 ;;         echo "$usage"; exit ;;
93      -- )     # Stop option processing      -- )     # Stop option processing
94         shift; break ;;         shift; break ;;
95      - ) # Use stdin as input.      - ) # Use stdin as input.
# Line 99  while test $# -gt 0 ; do Line 101  while test $# -gt 0 ; do
101      *local*)      *local*)
102         # First pass through any local machine types.         # First pass through any local machine types.
103         echo $1         echo $1
104         exit 0;;         exit ;;
105    
106      * )      * )
107         break ;;         break ;;
# Line 118  esac Line 120  esac
120  # Here we must recognize all the valid KERNEL-OS combinations.  # Here we must recognize all the valid KERNEL-OS combinations.
121  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122  case $maybe_os in  case $maybe_os in
123    nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)    nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124      uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
125      storm-chaos* | os2-emx* | rtmk-nova*)
126      os=-$maybe_os      os=-$maybe_os
127      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
128      ;;      ;;
# Line 144  case $os in Line 148  case $os in
148          -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\          -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149          -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \          -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150          -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \          -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151          -apple | -axis)          -apple | -axis | -knuth | -cray)
152                  os=                  os=
153                  basic_machine=$1                  basic_machine=$1
154                  ;;                  ;;
# Line 169  case $os in Line 173  case $os in
173          -hiux*)          -hiux*)
174                  os=-hiuxwe2                  os=-hiuxwe2
175                  ;;                  ;;
176            -sco6)
177                    os=-sco5v6
178                    basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
179                    ;;
180          -sco5)          -sco5)
181                  os=-sco3.2v5                  os=-sco3.2v5
182                  basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`                  basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
# Line 185  case $os in Line 193  case $os in
193                  # Don't forget version if it is 3.2v4 or newer.                  # Don't forget version if it is 3.2v4 or newer.
194                  basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`                  basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
195                  ;;                  ;;
196            -sco5v6*)
197                    # Don't forget version if it is 3.2v4 or newer.
198                    basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
199                    ;;
200          -sco*)          -sco*)
201                  os=-sco3.2v2                  os=-sco3.2v2
202                  basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`                  basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
# Line 228  case $basic_machine in Line 240  case $basic_machine in
240          | a29k \          | a29k \
241          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
242          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
243          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \          | am33_2.0 \
244          | clipper \          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
245            | bfin \
246            | c4x | clipper \
247          | d10v | d30v | dlx | dsp16xx \          | d10v | d30v | dlx | dsp16xx \
248          | fr30 | frv \          | fido | fr30 | frv \
249          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250          | i370 | i860 | i960 | ia64 \          | i370 | i860 | i960 | ia64 \
251          | ip2k \          | ip2k | iq2000 \
252          | m32r | m68000 | m68k | m88k | mcore \          | m32c | m32r | m32rle | m68000 | m68k | m88k \
253            | maxq | mb | microblaze | mcore | mep \
254          | mips | mipsbe | mipseb | mipsel | mipsle \          | mips | mipsbe | mipseb | mipsel | mipsle \
255          | mips16 \          | mips16 \
256          | mips64 | mips64el \          | mips64 | mips64el \
# Line 244  case $basic_machine in Line 259  case $basic_machine in
259          | mips64vr4100 | mips64vr4100el \          | mips64vr4100 | mips64vr4100el \
260          | mips64vr4300 | mips64vr4300el \          | mips64vr4300 | mips64vr4300el \
261          | mips64vr5000 | mips64vr5000el \          | mips64vr5000 | mips64vr5000el \
262            | mips64vr5900 | mips64vr5900el \
263          | mipsisa32 | mipsisa32el \          | mipsisa32 | mipsisa32el \
264          | mipsisa32r2 | mipsisa32r2el \          | mipsisa32r2 | mipsisa32r2el \
265          | mipsisa64 | mipsisa64el \          | mipsisa64 | mipsisa64el \
266            | mipsisa64r2 | mipsisa64r2el \
267          | mipsisa64sb1 | mipsisa64sb1el \          | mipsisa64sb1 | mipsisa64sb1el \
268          | mipsisa64sr71k | mipsisa64sr71kel \          | mipsisa64sr71k | mipsisa64sr71kel \
269          | mipstx39 | mipstx39el \          | mipstx39 | mipstx39el \
270          | mn10200 | mn10300 \          | mn10200 | mn10300 \
271            | mt \
272          | msp430 \          | msp430 \
273            | nios | nios2 \
274          | ns16k | ns32k \          | ns16k | ns32k \
275          | openrisc | or32 \          | or32 \
276          | pdp10 | pdp11 | pj | pjl \          | pdp10 | pdp11 | pj | pjl \
277          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278          | pyramid \          | pyramid \
279          | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \          | score \
280            | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281          | sh64 | sh64le \          | sh64 | sh64le \
282          | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \          | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283          | strongarm \          | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284          | tahoe | thumb | tic80 | tron \          | spu | strongarm \
285            | tahoe | thumb | tic4x | tic80 | tron \
286          | v850 | v850e \          | v850 | v850e \
287          | we32k \          | we32k \
288          | x86 | xscale | xstormy16 | xtensa \          | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289          | z8k)          | z8k)
290                  basic_machine=$basic_machine-unknown                  basic_machine=$basic_machine-unknown
291                  ;;                  ;;
# Line 275  case $basic_machine in Line 296  case $basic_machine in
296                  ;;                  ;;
297          m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)          m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
298                  ;;                  ;;
299            ms1)
300                    basic_machine=mt-unknown
301                    ;;
302    
303          # We use `pc' rather than `unknown'          # We use `pc' rather than `unknown'
304          # because (1) that's what they normally are, and          # because (1) that's what they normally are, and
# Line 294  case $basic_machine in Line 318  case $basic_machine in
318          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
319          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
320          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
321          | avr-* \          | avr-* | avr32-* \
322          | bs2000-* \          | bfin-* | bs2000-* \
323          | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \          | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
324          | clipper-* | cydra-* \          | clipper-* | craynv-* | cydra-* \
325          | d10v-* | d30v-* | dlx-* \          | d10v-* | d30v-* | dlx-* \
326          | elxsi-* \          | elxsi-* \
327          | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \          | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
328          | h8300-* | h8500-* \          | h8300-* | h8500-* \
329          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330          | i*86-* | i860-* | i960-* | ia64-* \          | i*86-* | i860-* | i960-* | ia64-* \
331          | ip2k-* \          | ip2k-* | iq2000-* \
332          | m32r-* \          | m32c-* | m32r-* | m32rle-* \
333          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334          | m88110-* | m88k-* | mcore-* \          | m88110-* | m88k-* | maxq-* | mcore-* \
335          | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \          | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336          | mips16-* \          | mips16-* \
337          | mips64-* | mips64el-* \          | mips64-* | mips64el-* \
# Line 316  case $basic_machine in Line 340  case $basic_machine in
340          | mips64vr4100-* | mips64vr4100el-* \          | mips64vr4100-* | mips64vr4100el-* \
341          | mips64vr4300-* | mips64vr4300el-* \          | mips64vr4300-* | mips64vr4300el-* \
342          | mips64vr5000-* | mips64vr5000el-* \          | mips64vr5000-* | mips64vr5000el-* \
343            | mips64vr5900-* | mips64vr5900el-* \
344          | mipsisa32-* | mipsisa32el-* \          | mipsisa32-* | mipsisa32el-* \
345          | mipsisa32r2-* | mipsisa32r2el-* \          | mipsisa32r2-* | mipsisa32r2el-* \
346          | mipsisa64-* | mipsisa64el-* \          | mipsisa64-* | mipsisa64el-* \
347            | mipsisa64r2-* | mipsisa64r2el-* \
348          | mipsisa64sb1-* | mipsisa64sb1el-* \          | mipsisa64sb1-* | mipsisa64sb1el-* \
349          | mipsisa64sr71k-* | mipsisa64sr71kel-* \          | mipsisa64sr71k-* | mipsisa64sr71kel-* \
350          | mipstx39-* | mipstx39el-* \          | mipstx39-* | mipstx39el-* \
351            | mmix-* \
352            | mt-* \
353          | msp430-* \          | msp430-* \
354          | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \          | nios-* | nios2-* \
355            | none-* | np1-* | ns16k-* | ns32k-* \
356          | orion-* \          | orion-* \
357          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359          | pyramid-* \          | pyramid-* \
360          | romp-* | rs6000-* \          | romp-* | rs6000-* \
361          | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \          | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362          | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \          | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363          | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \          | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364          | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \          | sparclite-* \
365            | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366          | tahoe-* | thumb-* \          | tahoe-* | thumb-* \
367          | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \          | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
368          | tron-* \          | tron-* \
369          | v850-* | v850e-* | vax-* \          | v850-* | v850e-* | vax-* \
370          | we32k-* \          | we32k-* \
371          | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \          | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372          | xtensa-* \          | xstormy16-* | xtensa*-* \
373          | ymp-* \          | ymp-* \
374          | z8k-*)          | z8k-*)
375                  ;;                  ;;
376            # Recognize the basic CPU types without company name, with glob match.
377            xtensa*)
378                    basic_machine=$basic_machine-unknown
379                    ;;
380          # Recognize the various machine names and aliases which stand          # Recognize the various machine names and aliases which stand
381          # for a CPU type and a company and sometimes even an OS.          # for a CPU type and a company and sometimes even an OS.
382          386bsd)          386bsd)
# Line 359  case $basic_machine in Line 393  case $basic_machine in
393                  basic_machine=a29k-amd                  basic_machine=a29k-amd
394                  os=-udi                  os=-udi
395                  ;;                  ;;
396            abacus)
397                    basic_machine=abacus-unknown
398                    ;;
399          adobe68k)          adobe68k)
400                  basic_machine=m68010-adobe                  basic_machine=m68010-adobe
401                  os=-scout                  os=-scout
# Line 373  case $basic_machine in Line 410  case $basic_machine in
410                  basic_machine=a29k-none                  basic_machine=a29k-none
411                  os=-bsd                  os=-bsd
412                  ;;                  ;;
413            amd64)
414                    basic_machine=x86_64-pc
415                    ;;
416            amd64-*)
417                    basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
418                    ;;
419          amdahl)          amdahl)
420                  basic_machine=580-amdahl                  basic_machine=580-amdahl
421                  os=-sysv                  os=-sysv
# Line 404  case $basic_machine in Line 447  case $basic_machine in
447                  basic_machine=ns32k-sequent                  basic_machine=ns32k-sequent
448                  os=-dynix                  os=-dynix
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                    ;;
458          c90)          c90)
459                  basic_machine=c90-cray                  basic_machine=c90-cray
460                  os=-unicos                  os=-unicos
# Line 432  case $basic_machine in Line 483  case $basic_machine in
483                  basic_machine=j90-cray                  basic_machine=j90-cray
484                  os=-unicos                  os=-unicos
485                  ;;                  ;;
486            craynv)
487                    basic_machine=craynv-cray
488                    os=-unicosmp
489                    ;;
490            cr16)
491                    basic_machine=cr16-unknown
492                    os=-elf
493                    ;;
494          crds | unos)          crds | unos)
495                  basic_machine=m68k-crds                  basic_machine=m68k-crds
496                  ;;                  ;;
497            crisv32 | crisv32-* | etraxfs*)
498                    basic_machine=crisv32-axis
499                    ;;
500          cris | cris-* | etrax*)          cris | cris-* | etrax*)
501                  basic_machine=cris-axis                  basic_machine=cris-axis
502                  ;;                  ;;
503            crx)
504                    basic_machine=crx-unknown
505                    os=-elf
506                    ;;
507          da30 | da30-*)          da30 | da30-*)
508                  basic_machine=m68k-da30                  basic_machine=m68k-da30
509                  ;;                  ;;
# Line 460  case $basic_machine in Line 526  case $basic_machine in
526                  basic_machine=m88k-motorola                  basic_machine=m88k-motorola
527                  os=-sysv3                  os=-sysv3
528                  ;;                  ;;
529            djgpp)
530                    basic_machine=i586-pc
531                    os=-msdosdjgpp
532                    ;;
533          dpx20 | dpx20-*)          dpx20 | dpx20-*)
534                  basic_machine=rs6000-bull                  basic_machine=rs6000-bull
535                  os=-bosx                  os=-bosx
# Line 610  case $basic_machine in Line 680  case $basic_machine in
680                  basic_machine=m68k-isi                  basic_machine=m68k-isi
681                  os=-sysv                  os=-sysv
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                    ;;
691          m88k-omron*)          m88k-omron*)
692                  basic_machine=m88k-omron                  basic_machine=m88k-omron
693                  ;;                  ;;
# Line 625  case $basic_machine in Line 703  case $basic_machine in
703                  basic_machine=i386-pc                  basic_machine=i386-pc
704                  os=-mingw32                  os=-mingw32
705                  ;;                  ;;
706            mingw32ce)
707                    basic_machine=arm-unknown
708                    os=-mingw32ce
709                    ;;
710          miniframe)          miniframe)
711                  basic_machine=m68000-convergent                  basic_machine=m68000-convergent
712                  ;;                  ;;
# Line 638  case $basic_machine in Line 720  case $basic_machine in
720          mips3*)          mips3*)
721                  basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown                  basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
722                  ;;                  ;;
         mmix*)  
                 basic_machine=mmix-knuth  
                 os=-mmixware  
                 ;;  
723          monitor)          monitor)
724                  basic_machine=m68k-rom68k                  basic_machine=m68k-rom68k
725                  os=-coff                  os=-coff
# Line 654  case $basic_machine in Line 732  case $basic_machine in
732                  basic_machine=i386-pc                  basic_machine=i386-pc
733                  os=-msdos                  os=-msdos
734                  ;;                  ;;
735            ms1-*)
736                    basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
737                    ;;
738          mvs)          mvs)
739                  basic_machine=i370-ibm                  basic_machine=i370-ibm
740                  os=-mvs                  os=-mvs
# Line 722  case $basic_machine in Line 803  case $basic_machine in
803          np1)          np1)
804                  basic_machine=np1-gould                  basic_machine=np1-gould
805                  ;;                  ;;
         nv1)  
                 basic_machine=nv1-cray  
                 os=-unicosmp  
                 ;;  
806          nsr-tandem)          nsr-tandem)
807                  basic_machine=nsr-tandem                  basic_machine=nsr-tandem
808                  ;;                  ;;
# Line 733  case $basic_machine in Line 810  case $basic_machine in
810                  basic_machine=hppa1.1-oki                  basic_machine=hppa1.1-oki
811                  os=-proelf                  os=-proelf
812                  ;;                  ;;
813          or32 | or32-*)          openrisc | openrisc-*)
814                  basic_machine=or32-unknown                  basic_machine=or32-unknown
815                  os=-coff                  ;;
816            os400)
817                    basic_machine=powerpc-ibm
818                    os=-os400
819                  ;;                  ;;
820          OSE68000 | ose68000)          OSE68000 | ose68000)
821                  basic_machine=m68000-ericsson                  basic_machine=m68000-ericsson
# Line 753  case $basic_machine in Line 833  case $basic_machine in
833                  basic_machine=i860-intel                  basic_machine=i860-intel
834                  os=-osf                  os=-osf
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                    ;;
844          pbd)          pbd)
845                  basic_machine=sparc-tti                  basic_machine=sparc-tti
846                  ;;                  ;;
# Line 762  case $basic_machine in Line 850  case $basic_machine in
850          pc532 | pc532-*)          pc532 | pc532-*)
851                  basic_machine=ns32k-pc532                  basic_machine=ns32k-pc532
852                  ;;                  ;;
853            pc98)
854                    basic_machine=i386-pc
855                    ;;
856            pc98-*)
857                    basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
858                    ;;
859          pentium | p5 | k5 | k6 | nexgen | viac3)          pentium | p5 | k5 | k6 | nexgen | viac3)
860                  basic_machine=i586-pc                  basic_machine=i586-pc
861                  ;;                  ;;
862          pentiumpro | p6 | 6x86 | athlon | athlon_*)          pentiumpro | p6 | 6x86 | athlon | athlon_*)
863                  basic_machine=i686-pc                  basic_machine=i686-pc
864                  ;;                  ;;
865          pentiumii | pentium2)          pentiumii | pentium2 | pentiumiii | pentium3)
866                  basic_machine=i686-pc                  basic_machine=i686-pc
867                  ;;                  ;;
868            pentium4)
869                    basic_machine=i786-pc
870                    ;;
871          pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)          pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
872                  basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
873                  ;;                  ;;
874          pentiumpro-* | p6-* | 6x86-* | athlon-*)          pentiumpro-* | p6-* | 6x86-* | athlon-*)
875                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
876                  ;;                  ;;
877          pentiumii-* | pentium2-*)          pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
878                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
879                  ;;                  ;;
880            pentium4-*)
881                    basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
882                    ;;
883          pn)          pn)
884                  basic_machine=pn-gould                  basic_machine=pn-gould
885                  ;;                  ;;
# Line 812  case $basic_machine in Line 912  case $basic_machine in
912                  basic_machine=i586-unknown                  basic_machine=i586-unknown
913                  os=-pw32                  os=-pw32
914                  ;;                  ;;
915            rdos)
916                    basic_machine=i386-pc
917                    os=-rdos
918                    ;;
919          rom68k)          rom68k)
920                  basic_machine=m68k-rom68k                  basic_machine=m68k-rom68k
921                  os=-coff                  os=-coff
# Line 838  case $basic_machine in Line 942  case $basic_machine in
942          sb1el)          sb1el)
943                  basic_machine=mipsisa64sb1el-unknown                  basic_machine=mipsisa64sb1el-unknown
944                  ;;                  ;;
945            sde)
946                    basic_machine=mipsisa32-sde
947                    os=-elf
948                    ;;
949            sei)
950                    basic_machine=mips-sei
951                    os=-seiux
952                    ;;
953          sequent)          sequent)
954                  basic_machine=i386-sequent                  basic_machine=i386-sequent
955                  ;;                  ;;
# Line 845  case $basic_machine in Line 957  case $basic_machine in
957                  basic_machine=sh-hitachi                  basic_machine=sh-hitachi
958                  os=-hms                  os=-hms
959                  ;;                  ;;
960            sh5el)
961                    basic_machine=sh5le-unknown
962                    ;;
963            sh64)
964                    basic_machine=sh64-unknown
965                    ;;
966          sparclite-wrs | simso-wrs)          sparclite-wrs | simso-wrs)
967                  basic_machine=sparclite-wrs                  basic_machine=sparclite-wrs
968                  os=-vxworks                  os=-vxworks
# Line 919  case $basic_machine in Line 1037  case $basic_machine in
1037                  basic_machine=t90-cray                  basic_machine=t90-cray
1038                  os=-unicos                  os=-unicos
1039                  ;;                  ;;
         tic4x | c4x*)  
                 basic_machine=tic4x-unknown  
                 os=-coff  
                 ;;  
1040          tic54x | c54x*)          tic54x | c54x*)
1041                  basic_machine=tic54x-unknown                  basic_machine=tic54x-unknown
1042                  os=-coff                  os=-coff
# Line 935  case $basic_machine in Line 1049  case $basic_machine in
1049                  basic_machine=tic6x-unknown                  basic_machine=tic6x-unknown
1050                  os=-coff                  os=-coff
1051                  ;;                  ;;
1052            tile*)
1053                    basic_machine=tile-unknown
1054                    os=-linux-gnu
1055                    ;;
1056          tx39)          tx39)
1057                  basic_machine=mipstx39-unknown                  basic_machine=mipstx39-unknown
1058                  ;;                  ;;
# Line 948  case $basic_machine in Line 1066  case $basic_machine in
1066          tower | tower-32)          tower | tower-32)
1067                  basic_machine=m68k-ncr                  basic_machine=m68k-ncr
1068                  ;;                  ;;
1069            tpf)
1070                    basic_machine=s390x-ibm
1071                    os=-tpf
1072                    ;;
1073          udi29k)          udi29k)
1074                  basic_machine=a29k-amd                  basic_machine=a29k-amd
1075                  os=-udi                  os=-udi
# Line 991  case $basic_machine in Line 1113  case $basic_machine in
1113                  basic_machine=hppa1.1-winbond                  basic_machine=hppa1.1-winbond
1114                  os=-proelf                  os=-proelf
1115                  ;;                  ;;
1116            xbox)
1117                    basic_machine=i686-pc
1118                    os=-mingw32
1119                    ;;
1120          xps | xps100)          xps | xps100)
1121                  basic_machine=xps100-honeywell                  basic_machine=xps100-honeywell
1122                  ;;                  ;;
# Line 1021  case $basic_machine in Line 1147  case $basic_machine in
1147          romp)          romp)
1148                  basic_machine=romp-ibm                  basic_machine=romp-ibm
1149                  ;;                  ;;
1150            mmix)
1151                    basic_machine=mmix-knuth
1152                    ;;
1153          rs6000)          rs6000)
1154                  basic_machine=rs6000-ibm                  basic_machine=rs6000-ibm
1155                  ;;                  ;;
# Line 1037  case $basic_machine in Line 1166  case $basic_machine in
1166          we32k)          we32k)
1167                  basic_machine=we32k-att                  basic_machine=we32k-att
1168                  ;;                  ;;
1169          sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)          sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1170                  basic_machine=sh-unknown                  basic_machine=sh-unknown
1171                  ;;                  ;;
1172          sh64)          sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
                 basic_machine=sh64-unknown  
                 ;;  
         sparc | sparcv9 | sparcv9b)  
1173                  basic_machine=sparc-sun                  basic_machine=sparc-sun
1174                  ;;                  ;;
1175          cydra)          cydra)
# Line 1116  case $os in Line 1242  case $os in
1242                | -aos* \                | -aos* \
1243                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1244                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1245                | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \                | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1246                | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \                | -openbsd* | -solidbsd* \
1247                  | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1248                  | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1249                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1250                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1251                | -chorusos* | -chorusrdb* \                | -chorusos* | -chorusrdb* \
1252                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1253                | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \                | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1254                  | -uxpv* | -beos* | -mpeix* | -udk* \
1255                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1256                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1257                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \                | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1258                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1259                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1260                | -powermax* | -dnix*)                | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1261                  | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1262          # Remember, each alternative MUST END IN *, to match a version number.          # Remember, each alternative MUST END IN *, to match a version number.
1263                  ;;                  ;;
1264          -qnx*)          -qnx*)
# Line 1146  case $os in Line 1276  case $os in
1276                  os=`echo $os | sed -e 's|nto|nto-qnx|'`                  os=`echo $os | sed -e 's|nto|nto-qnx|'`
1277                  ;;                  ;;
1278          -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \          -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1279                | -windows* | -osx | -abug | -netware* | -os9* | -beos* \                | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1280                | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)                | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1281                  ;;                  ;;
1282          -mac*)          -mac*)
1283                  os=`echo $os | sed -e 's|mac|macos|'`                  os=`echo $os | sed -e 's|mac|macos|'`
1284                  ;;                  ;;
1285            -linux-dietlibc)
1286                    os=-linux-dietlibc
1287                    ;;
1288          -linux*)          -linux*)
1289                  os=`echo $os | sed -e 's|linux|linux-gnu|'`                  os=`echo $os | sed -e 's|linux|linux-gnu|'`
1290                  ;;                  ;;
# Line 1164  case $os in Line 1297  case $os in
1297          -opened*)          -opened*)
1298                  os=-openedition                  os=-openedition
1299                  ;;                  ;;
1300            -os400*)
1301                    os=-os400
1302                    ;;
1303          -wince*)          -wince*)
1304                  os=-wince                  os=-wince
1305                  ;;                  ;;
# Line 1185  case $os in Line 1321  case $os in
1321          -atheos*)          -atheos*)
1322                  os=-atheos                  os=-atheos
1323                  ;;                  ;;
1324            -syllable*)
1325                    os=-syllable
1326                    ;;
1327          -386bsd)          -386bsd)
1328                  os=-bsd                  os=-bsd
1329                  ;;                  ;;
# Line 1207  case $os in Line 1346  case $os in
1346          -sinix*)          -sinix*)
1347                  os=-sysv4                  os=-sysv4
1348                  ;;                  ;;
1349            -tpf*)
1350                    os=-tpf
1351                    ;;
1352          -triton*)          -triton*)
1353                  os=-sysv3                  os=-sysv3
1354                  ;;                  ;;
# Line 1243  case $os in Line 1385  case $os in
1385          -kaos*)          -kaos*)
1386                  os=-kaos                  os=-kaos
1387                  ;;                  ;;
1388            -zvmoe)
1389                    os=-zvmoe
1390                    ;;
1391          -none)          -none)
1392                  ;;                  ;;
1393          *)          *)
# Line 1265  else Line 1410  else
1410  # system, and we'll never get to this point.  # system, and we'll never get to this point.
1411    
1412  case $basic_machine in  case $basic_machine in
1413            score-*)
1414                    os=-elf
1415                    ;;
1416            spu-*)
1417                    os=-elf
1418                    ;;
1419          *-acorn)          *-acorn)
1420                  os=-riscix1.2                  os=-riscix1.2
1421                  ;;                  ;;
# Line 1274  case $basic_machine in Line 1425  case $basic_machine in
1425          arm*-semi)          arm*-semi)
1426                  os=-aout                  os=-aout
1427                  ;;                  ;;
1428            c4x-* | tic4x-*)
1429                    os=-coff
1430                    ;;
1431          # This must come before the *-dec entry.          # This must come before the *-dec entry.
1432          pdp10-*)          pdp10-*)
1433                  os=-tops20                  os=-tops20
# Line 1299  case $basic_machine in Line 1453  case $basic_machine in
1453          m68*-cisco)          m68*-cisco)
1454                  os=-aout                  os=-aout
1455                  ;;                  ;;
1456            mep-*)
1457                    os=-elf
1458                    ;;
1459          mips*-cisco)          mips*-cisco)
1460                  os=-elf                  os=-elf
1461                  ;;                  ;;
# Line 1317  case $basic_machine in Line 1474  case $basic_machine in
1474          *-be)          *-be)
1475                  os=-beos                  os=-beos
1476                  ;;                  ;;
1477            *-haiku)
1478                    os=-haiku
1479                    ;;
1480          *-ibm)          *-ibm)
1481                  os=-aix                  os=-aix
1482                  ;;                  ;;
1483            *-knuth)
1484                    os=-mmixware
1485                    ;;
1486          *-wec)          *-wec)
1487                  os=-proelf                  os=-proelf
1488                  ;;                  ;;
# Line 1452  case $basic_machine in Line 1615  case $basic_machine in
1615                          -mvs* | -opened*)                          -mvs* | -opened*)
1616                                  vendor=ibm                                  vendor=ibm
1617                                  ;;                                  ;;
1618                            -os400*)
1619                                    vendor=ibm
1620                                    ;;
1621                          -ptx*)                          -ptx*)
1622                                  vendor=sequent                                  vendor=sequent
1623                                  ;;                                  ;;
1624                            -tpf*)
1625                                    vendor=ibm
1626                                    ;;
1627                          -vxsim* | -vxworks* | -windiss*)                          -vxsim* | -vxworks* | -windiss*)
1628                                  vendor=wrs                                  vendor=wrs
1629                                  ;;                                  ;;
# Line 1479  case $basic_machine in Line 1648  case $basic_machine in
1648  esac  esac
1649    
1650  echo $basic_machine$os  echo $basic_machine$os
1651  exit 0  exit
1652    
1653  # Local variables:  # Local variables:
1654  # eval: (add-hook 'write-file-hooks 'time-stamp)  # eval: (add-hook 'write-file-hooks 'time-stamp)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26