filename | config.sub |
changeset | 525:eec1fd69a42c |
next | 1199:62d0a21fac1c |
author | nkeynes |
date | Tue Mar 11 08:50:16 2008 +0000 (16 years ago) |
branch | lxdream-render |
permissions | -rw-r--r-- |
last change | Use maxz rather than minz for tri sorting (better results atm) Change depth-test-disable to depth-mask (more correct) Implement alpha test for punchthru polys |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/config.sub Tue Mar 11 08:50:16 2008 +00001.3 @@ -0,0 +1,1608 @@1.4 +#! /bin/sh1.5 +# Configuration validation subroutine script.1.6 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,1.7 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,1.8 +# Inc.1.9 +1.10 +timestamp='2006-07-02'1.11 +1.12 +# This file is (in principle) common to ALL GNU software.1.13 +# The presence of a machine in this file suggests that SOME GNU software1.14 +# can handle that machine. It does not imply ALL GNU software can.1.15 +#1.16 +# This file is free software; you can redistribute it and/or modify1.17 +# it under the terms of the GNU General Public License as published by1.18 +# the Free Software Foundation; either version 2 of the License, or1.19 +# (at your option) any later version.1.20 +#1.21 +# This program is distributed in the hope that it will be useful,1.22 +# but WITHOUT ANY WARRANTY; without even the implied warranty of1.23 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1.24 +# GNU General Public License for more details.1.25 +#1.26 +# You should have received a copy of the GNU General Public License1.27 +# along with this program; if not, write to the Free Software1.28 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA1.29 +# 02110-1301, USA.1.30 +#1.31 +# As a special exception to the GNU General Public License, if you1.32 +# distribute this file as part of a program that contains a1.33 +# configuration script generated by Autoconf, you may include it under1.34 +# the same distribution terms that you use for the rest of that program.1.35 +1.36 +1.37 +# Please send patches to <config-patches@gnu.org>. Submit a context1.38 +# diff and a properly formatted ChangeLog entry.1.39 +#1.40 +# Configuration subroutine to validate and canonicalize a configuration type.1.41 +# Supply the specified configuration type as an argument.1.42 +# If it is invalid, we print an error message on stderr and exit with code 1.1.43 +# Otherwise, we print the canonical config type on stdout and succeed.1.44 +1.45 +# This file is supposed to be the same for all GNU packages1.46 +# and recognize all the CPU types, system types and aliases1.47 +# that are meaningful with *any* GNU software.1.48 +# Each package is responsible for reporting which valid configurations1.49 +# it does not support. The user should be able to distinguish1.50 +# a failure to support a valid configuration from a meaningless1.51 +# configuration.1.52 +1.53 +# The goal of this file is to map all the various variations of a given1.54 +# machine specification into a single specification in the form:1.55 +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM1.56 +# or in some cases, the newer four-part form:1.57 +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM1.58 +# It is wrong to echo any other type of specification.1.59 +1.60 +me=`echo "$0" | sed -e 's,.*/,,'`1.61 +1.62 +usage="\1.63 +Usage: $0 [OPTION] CPU-MFR-OPSYS1.64 + $0 [OPTION] ALIAS1.65 +1.66 +Canonicalize a configuration name.1.67 +1.68 +Operation modes:1.69 + -h, --help print this help, then exit1.70 + -t, --time-stamp print date of last modification, then exit1.71 + -v, --version print version number, then exit1.72 +1.73 +Report bugs and patches to <config-patches@gnu.org>."1.74 +1.75 +version="\1.76 +GNU config.sub ($timestamp)1.77 +1.78 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 20051.79 +Free Software Foundation, Inc.1.80 +1.81 +This is free software; see the source for copying conditions. There is NO1.82 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."1.83 +1.84 +help="1.85 +Try \`$me --help' for more information."1.86 +1.87 +# Parse command line1.88 +while test $# -gt 0 ; do1.89 + case $1 in1.90 + --time-stamp | --time* | -t )1.91 + echo "$timestamp" ; exit ;;1.92 + --version | -v )1.93 + echo "$version" ; exit ;;1.94 + --help | --h* | -h )1.95 + echo "$usage"; exit ;;1.96 + -- ) # Stop option processing1.97 + shift; break ;;1.98 + - ) # Use stdin as input.1.99 + break ;;1.100 + -* )1.101 + echo "$me: invalid option $1$help"1.102 + exit 1 ;;1.103 +1.104 + *local*)1.105 + # First pass through any local machine types.1.106 + echo $11.107 + exit ;;1.108 +1.109 + * )1.110 + break ;;1.111 + esac1.112 +done1.113 +1.114 +case $# in1.115 + 0) echo "$me: missing argument$help" >&21.116 + exit 1;;1.117 + 1) ;;1.118 + *) echo "$me: too many arguments$help" >&21.119 + exit 1;;1.120 +esac1.121 +1.122 +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).1.123 +# Here we must recognize all the valid KERNEL-OS combinations.1.124 +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`1.125 +case $maybe_os in1.126 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \1.127 + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \1.128 + storm-chaos* | os2-emx* | rtmk-nova*)1.129 + os=-$maybe_os1.130 + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`1.131 + ;;1.132 + *)1.133 + basic_machine=`echo $1 | sed 's/-[^-]*$//'`1.134 + if [ $basic_machine != $1 ]1.135 + then os=`echo $1 | sed 's/.*-/-/'`1.136 + else os=; fi1.137 + ;;1.138 +esac1.139 +1.140 +### Let's recognize common machines as not being operating systems so1.141 +### that things like config.sub decstation-3100 work. We also1.142 +### recognize some manufacturers as not being operating systems, so we1.143 +### can provide default operating systems below.1.144 +case $os in1.145 + -sun*os*)1.146 + # Prevent following clause from handling this invalid input.1.147 + ;;1.148 + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \1.149 + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \1.150 + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \1.151 + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\1.152 + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \1.153 + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \1.154 + -apple | -axis | -knuth | -cray)1.155 + os=1.156 + basic_machine=$11.157 + ;;1.158 + -sim | -cisco | -oki | -wec | -winbond)1.159 + os=1.160 + basic_machine=$11.161 + ;;1.162 + -scout)1.163 + ;;1.164 + -wrs)1.165 + os=-vxworks1.166 + basic_machine=$11.167 + ;;1.168 + -chorusos*)1.169 + os=-chorusos1.170 + basic_machine=$11.171 + ;;1.172 + -chorusrdb)1.173 + os=-chorusrdb1.174 + basic_machine=$11.175 + ;;1.176 + -hiux*)1.177 + os=-hiuxwe21.178 + ;;1.179 + -sco6)1.180 + os=-sco5v61.181 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.182 + ;;1.183 + -sco5)1.184 + os=-sco3.2v51.185 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.186 + ;;1.187 + -sco4)1.188 + os=-sco3.2v41.189 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.190 + ;;1.191 + -sco3.2.[4-9]*)1.192 + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`1.193 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.194 + ;;1.195 + -sco3.2v[4-9]*)1.196 + # Don't forget version if it is 3.2v4 or newer.1.197 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.198 + ;;1.199 + -sco5v6*)1.200 + # Don't forget version if it is 3.2v4 or newer.1.201 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.202 + ;;1.203 + -sco*)1.204 + os=-sco3.2v21.205 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.206 + ;;1.207 + -udk*)1.208 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.209 + ;;1.210 + -isc)1.211 + os=-isc2.21.212 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.213 + ;;1.214 + -clix*)1.215 + basic_machine=clipper-intergraph1.216 + ;;1.217 + -isc*)1.218 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`1.219 + ;;1.220 + -lynx*)1.221 + os=-lynxos1.222 + ;;1.223 + -ptx*)1.224 + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`1.225 + ;;1.226 + -windowsnt*)1.227 + os=`echo $os | sed -e 's/windowsnt/winnt/'`1.228 + ;;1.229 + -psos*)1.230 + os=-psos1.231 + ;;1.232 + -mint | -mint[0-9]*)1.233 + basic_machine=m68k-atari1.234 + os=-mint1.235 + ;;1.236 +esac1.237 +1.238 +# Decode aliases for certain CPU-COMPANY combinations.1.239 +case $basic_machine in1.240 + # Recognize the basic CPU types without company name.1.241 + # Some are omitted here because they have special meanings below.1.242 + 1750a | 580 \1.243 + | a29k \1.244 + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \1.245 + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \1.246 + | am33_2.0 \1.247 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \1.248 + | bfin \1.249 + | c4x | clipper \1.250 + | d10v | d30v | dlx | dsp16xx \1.251 + | fr30 | frv \1.252 + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \1.253 + | i370 | i860 | i960 | ia64 \1.254 + | ip2k | iq2000 \1.255 + | m32c | m32r | m32rle | m68000 | m68k | m88k \1.256 + | maxq | mb | microblaze | mcore \1.257 + | mips | mipsbe | mipseb | mipsel | mipsle \1.258 + | mips16 \1.259 + | mips64 | mips64el \1.260 + | mips64vr | mips64vrel \1.261 + | mips64orion | mips64orionel \1.262 + | mips64vr4100 | mips64vr4100el \1.263 + | mips64vr4300 | mips64vr4300el \1.264 + | mips64vr5000 | mips64vr5000el \1.265 + | mips64vr5900 | mips64vr5900el \1.266 + | mipsisa32 | mipsisa32el \1.267 + | mipsisa32r2 | mipsisa32r2el \1.268 + | mipsisa64 | mipsisa64el \1.269 + | mipsisa64r2 | mipsisa64r2el \1.270 + | mipsisa64sb1 | mipsisa64sb1el \1.271 + | mipsisa64sr71k | mipsisa64sr71kel \1.272 + | mipstx39 | mipstx39el \1.273 + | mn10200 | mn10300 \1.274 + | mt \1.275 + | msp430 \1.276 + | nios | nios2 \1.277 + | ns16k | ns32k \1.278 + | or32 \1.279 + | pdp10 | pdp11 | pj | pjl \1.280 + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \1.281 + | pyramid \1.282 + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \1.283 + | sh64 | sh64le \1.284 + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \1.285 + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \1.286 + | spu | strongarm \1.287 + | tahoe | thumb | tic4x | tic80 | tron \1.288 + | v850 | v850e \1.289 + | we32k \1.290 + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \1.291 + | z8k)1.292 + basic_machine=$basic_machine-unknown1.293 + ;;1.294 + m6811 | m68hc11 | m6812 | m68hc12)1.295 + # Motorola 68HC11/12.1.296 + basic_machine=$basic_machine-unknown1.297 + os=-none1.298 + ;;1.299 + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)1.300 + ;;1.301 + ms1)1.302 + basic_machine=mt-unknown1.303 + ;;1.304 +1.305 + # We use `pc' rather than `unknown'1.306 + # because (1) that's what they normally are, and1.307 + # (2) the word "unknown" tends to confuse beginning users.1.308 + i*86 | x86_64)1.309 + basic_machine=$basic_machine-pc1.310 + ;;1.311 + # Object if more than one company name word.1.312 + *-*-*)1.313 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&21.314 + exit 11.315 + ;;1.316 + # Recognize the basic CPU types with company name.1.317 + 580-* \1.318 + | a29k-* \1.319 + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \1.320 + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \1.321 + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \1.322 + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \1.323 + | avr-* | avr32-* \1.324 + | bfin-* | bs2000-* \1.325 + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \1.326 + | clipper-* | craynv-* | cydra-* \1.327 + | d10v-* | d30v-* | dlx-* \1.328 + | elxsi-* \1.329 + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \1.330 + | h8300-* | h8500-* \1.331 + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \1.332 + | i*86-* | i860-* | i960-* | ia64-* \1.333 + | ip2k-* | iq2000-* \1.334 + | m32c-* | m32r-* | m32rle-* \1.335 + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \1.336 + | m88110-* | m88k-* | maxq-* | mcore-* \1.337 + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \1.338 + | mips16-* \1.339 + | mips64-* | mips64el-* \1.340 + | mips64vr-* | mips64vrel-* \1.341 + | mips64orion-* | mips64orionel-* \1.342 + | mips64vr4100-* | mips64vr4100el-* \1.343 + | mips64vr4300-* | mips64vr4300el-* \1.344 + | mips64vr5000-* | mips64vr5000el-* \1.345 + | mips64vr5900-* | mips64vr5900el-* \1.346 + | mipsisa32-* | mipsisa32el-* \1.347 + | mipsisa32r2-* | mipsisa32r2el-* \1.348 + | mipsisa64-* | mipsisa64el-* \1.349 + | mipsisa64r2-* | mipsisa64r2el-* \1.350 + | mipsisa64sb1-* | mipsisa64sb1el-* \1.351 + | mipsisa64sr71k-* | mipsisa64sr71kel-* \1.352 + | mipstx39-* | mipstx39el-* \1.353 + | mmix-* \1.354 + | mt-* \1.355 + | msp430-* \1.356 + | nios-* | nios2-* \1.357 + | none-* | np1-* | ns16k-* | ns32k-* \1.358 + | orion-* \1.359 + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \1.360 + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \1.361 + | pyramid-* \1.362 + | romp-* | rs6000-* \1.363 + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \1.364 + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \1.365 + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \1.366 + | sparclite-* \1.367 + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \1.368 + | tahoe-* | thumb-* \1.369 + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \1.370 + | tron-* \1.371 + | v850-* | v850e-* | vax-* \1.372 + | we32k-* \1.373 + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \1.374 + | xstormy16-* | xtensa-* \1.375 + | ymp-* \1.376 + | z8k-*)1.377 + ;;1.378 + # Recognize the various machine names and aliases which stand1.379 + # for a CPU type and a company and sometimes even an OS.1.380 + 386bsd)1.381 + basic_machine=i386-unknown1.382 + os=-bsd1.383 + ;;1.384 + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)1.385 + basic_machine=m68000-att1.386 + ;;1.387 + 3b*)1.388 + basic_machine=we32k-att1.389 + ;;1.390 + a29khif)1.391 + basic_machine=a29k-amd1.392 + os=-udi1.393 + ;;1.394 + abacus)1.395 + basic_machine=abacus-unknown1.396 + ;;1.397 + adobe68k)1.398 + basic_machine=m68010-adobe1.399 + os=-scout1.400 + ;;1.401 + alliant | fx80)1.402 + basic_machine=fx80-alliant1.403 + ;;1.404 + altos | altos3068)1.405 + basic_machine=m68k-altos1.406 + ;;1.407 + am29k)1.408 + basic_machine=a29k-none1.409 + os=-bsd1.410 + ;;1.411 + amd64)1.412 + basic_machine=x86_64-pc1.413 + ;;1.414 + amd64-*)1.415 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`1.416 + ;;1.417 + amdahl)1.418 + basic_machine=580-amdahl1.419 + os=-sysv1.420 + ;;1.421 + amiga | amiga-*)1.422 + basic_machine=m68k-unknown1.423 + ;;1.424 + amigaos | amigados)1.425 + basic_machine=m68k-unknown1.426 + os=-amigaos1.427 + ;;1.428 + amigaunix | amix)1.429 + basic_machine=m68k-unknown1.430 + os=-sysv41.431 + ;;1.432 + apollo68)1.433 + basic_machine=m68k-apollo1.434 + os=-sysv1.435 + ;;1.436 + apollo68bsd)1.437 + basic_machine=m68k-apollo1.438 + os=-bsd1.439 + ;;1.440 + aux)1.441 + basic_machine=m68k-apple1.442 + os=-aux1.443 + ;;1.444 + balance)1.445 + basic_machine=ns32k-sequent1.446 + os=-dynix1.447 + ;;1.448 + c90)1.449 + basic_machine=c90-cray1.450 + os=-unicos1.451 + ;;1.452 + convex-c1)1.453 + basic_machine=c1-convex1.454 + os=-bsd1.455 + ;;1.456 + convex-c2)1.457 + basic_machine=c2-convex1.458 + os=-bsd1.459 + ;;1.460 + convex-c32)1.461 + basic_machine=c32-convex1.462 + os=-bsd1.463 + ;;1.464 + convex-c34)1.465 + basic_machine=c34-convex1.466 + os=-bsd1.467 + ;;1.468 + convex-c38)1.469 + basic_machine=c38-convex1.470 + os=-bsd1.471 + ;;1.472 + cray | j90)1.473 + basic_machine=j90-cray1.474 + os=-unicos1.475 + ;;1.476 + craynv)1.477 + basic_machine=craynv-cray1.478 + os=-unicosmp1.479 + ;;1.480 + cr16c)1.481 + basic_machine=cr16c-unknown1.482 + os=-elf1.483 + ;;1.484 + crds | unos)1.485 + basic_machine=m68k-crds1.486 + ;;1.487 + crisv32 | crisv32-* | etraxfs*)1.488 + basic_machine=crisv32-axis1.489 + ;;1.490 + cris | cris-* | etrax*)1.491 + basic_machine=cris-axis1.492 + ;;1.493 + crx)1.494 + basic_machine=crx-unknown1.495 + os=-elf1.496 + ;;1.497 + da30 | da30-*)1.498 + basic_machine=m68k-da301.499 + ;;1.500 + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)1.501 + basic_machine=mips-dec1.502 + ;;1.503 + decsystem10* | dec10*)1.504 + basic_machine=pdp10-dec1.505 + os=-tops101.506 + ;;1.507 + decsystem20* | dec20*)1.508 + basic_machine=pdp10-dec1.509 + os=-tops201.510 + ;;1.511 + delta | 3300 | motorola-3300 | motorola-delta \1.512 + | 3300-motorola | delta-motorola)1.513 + basic_machine=m68k-motorola1.514 + ;;1.515 + delta88)1.516 + basic_machine=m88k-motorola1.517 + os=-sysv31.518 + ;;1.519 + djgpp)1.520 + basic_machine=i586-pc1.521 + os=-msdosdjgpp1.522 + ;;1.523 + dpx20 | dpx20-*)1.524 + basic_machine=rs6000-bull1.525 + os=-bosx1.526 + ;;1.527 + dpx2* | dpx2*-bull)1.528 + basic_machine=m68k-bull1.529 + os=-sysv31.530 + ;;1.531 + ebmon29k)1.532 + basic_machine=a29k-amd1.533 + os=-ebmon1.534 + ;;1.535 + elxsi)1.536 + basic_machine=elxsi-elxsi1.537 + os=-bsd1.538 + ;;1.539 + encore | umax | mmax)1.540 + basic_machine=ns32k-encore1.541 + ;;1.542 + es1800 | OSE68k | ose68k | ose | OSE)1.543 + basic_machine=m68k-ericsson1.544 + os=-ose1.545 + ;;1.546 + fx2800)1.547 + basic_machine=i860-alliant1.548 + ;;1.549 + genix)1.550 + basic_machine=ns32k-ns1.551 + ;;1.552 + gmicro)1.553 + basic_machine=tron-gmicro1.554 + os=-sysv1.555 + ;;1.556 + go32)1.557 + basic_machine=i386-pc1.558 + os=-go321.559 + ;;1.560 + h3050r* | hiux*)1.561 + basic_machine=hppa1.1-hitachi1.562 + os=-hiuxwe21.563 + ;;1.564 + h8300hms)1.565 + basic_machine=h8300-hitachi1.566 + os=-hms1.567 + ;;1.568 + h8300xray)1.569 + basic_machine=h8300-hitachi1.570 + os=-xray1.571 + ;;1.572 + h8500hms)1.573 + basic_machine=h8500-hitachi1.574 + os=-hms1.575 + ;;1.576 + harris)1.577 + basic_machine=m88k-harris1.578 + os=-sysv31.579 + ;;1.580 + hp300-*)1.581 + basic_machine=m68k-hp1.582 + ;;1.583 + hp300bsd)1.584 + basic_machine=m68k-hp1.585 + os=-bsd1.586 + ;;1.587 + hp300hpux)1.588 + basic_machine=m68k-hp1.589 + os=-hpux1.590 + ;;1.591 + hp3k9[0-9][0-9] | hp9[0-9][0-9])1.592 + basic_machine=hppa1.0-hp1.593 + ;;1.594 + hp9k2[0-9][0-9] | hp9k31[0-9])1.595 + basic_machine=m68000-hp1.596 + ;;1.597 + hp9k3[2-9][0-9])1.598 + basic_machine=m68k-hp1.599 + ;;1.600 + hp9k6[0-9][0-9] | hp6[0-9][0-9])1.601 + basic_machine=hppa1.0-hp1.602 + ;;1.603 + hp9k7[0-79][0-9] | hp7[0-79][0-9])1.604 + basic_machine=hppa1.1-hp1.605 + ;;1.606 + hp9k78[0-9] | hp78[0-9])1.607 + # FIXME: really hppa2.0-hp1.608 + basic_machine=hppa1.1-hp1.609 + ;;1.610 + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)1.611 + # FIXME: really hppa2.0-hp1.612 + basic_machine=hppa1.1-hp1.613 + ;;1.614 + hp9k8[0-9][13679] | hp8[0-9][13679])1.615 + basic_machine=hppa1.1-hp1.616 + ;;1.617 + hp9k8[0-9][0-9] | hp8[0-9][0-9])1.618 + basic_machine=hppa1.0-hp1.619 + ;;1.620 + hppa-next)1.621 + os=-nextstep31.622 + ;;1.623 + hppaosf)1.624 + basic_machine=hppa1.1-hp1.625 + os=-osf1.626 + ;;1.627 + hppro)1.628 + basic_machine=hppa1.1-hp1.629 + os=-proelf1.630 + ;;1.631 + i370-ibm* | ibm*)1.632 + basic_machine=i370-ibm1.633 + ;;1.634 +# I'm not sure what "Sysv32" means. Should this be sysv3.2?1.635 + i*86v32)1.636 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`1.637 + os=-sysv321.638 + ;;1.639 + i*86v4*)1.640 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`1.641 + os=-sysv41.642 + ;;1.643 + i*86v)1.644 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`1.645 + os=-sysv1.646 + ;;1.647 + i*86sol2)1.648 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`1.649 + os=-solaris21.650 + ;;1.651 + i386mach)1.652 + basic_machine=i386-mach1.653 + os=-mach1.654 + ;;1.655 + i386-vsta | vsta)1.656 + basic_machine=i386-unknown1.657 + os=-vsta1.658 + ;;1.659 + iris | iris4d)1.660 + basic_machine=mips-sgi1.661 + case $os in1.662 + -irix*)1.663 + ;;1.664 + *)1.665 + os=-irix41.666 + ;;1.667 + esac1.668 + ;;1.669 + isi68 | isi)1.670 + basic_machine=m68k-isi1.671 + os=-sysv1.672 + ;;1.673 + m88k-omron*)1.674 + basic_machine=m88k-omron1.675 + ;;1.676 + magnum | m3230)1.677 + basic_machine=mips-mips1.678 + os=-sysv1.679 + ;;1.680 + merlin)1.681 + basic_machine=ns32k-utek1.682 + os=-sysv1.683 + ;;1.684 + mingw32)1.685 + basic_machine=i386-pc1.686 + os=-mingw321.687 + ;;1.688 + miniframe)1.689 + basic_machine=m68000-convergent1.690 + ;;1.691 + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)1.692 + basic_machine=m68k-atari1.693 + os=-mint1.694 + ;;1.695 + mips3*-*)1.696 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`1.697 + ;;1.698 + mips3*)1.699 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown1.700 + ;;1.701 + monitor)1.702 + basic_machine=m68k-rom68k1.703 + os=-coff1.704 + ;;1.705 + morphos)1.706 + basic_machine=powerpc-unknown1.707 + os=-morphos1.708 + ;;1.709 + msdos)1.710 + basic_machine=i386-pc1.711 + os=-msdos1.712 + ;;1.713 + ms1-*)1.714 + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`1.715 + ;;1.716 + mvs)1.717 + basic_machine=i370-ibm1.718 + os=-mvs1.719 + ;;1.720 + ncr3000)1.721 + basic_machine=i486-ncr1.722 + os=-sysv41.723 + ;;1.724 + netbsd386)1.725 + basic_machine=i386-unknown1.726 + os=-netbsd1.727 + ;;1.728 + netwinder)1.729 + basic_machine=armv4l-rebel1.730 + os=-linux1.731 + ;;1.732 + news | news700 | news800 | news900)1.733 + basic_machine=m68k-sony1.734 + os=-newsos1.735 + ;;1.736 + news1000)1.737 + basic_machine=m68030-sony1.738 + os=-newsos1.739 + ;;1.740 + news-3600 | risc-news)1.741 + basic_machine=mips-sony1.742 + os=-newsos1.743 + ;;1.744 + necv70)1.745 + basic_machine=v70-nec1.746 + os=-sysv1.747 + ;;1.748 + next | m*-next )1.749 + basic_machine=m68k-next1.750 + case $os in1.751 + -nextstep* )1.752 + ;;1.753 + -ns2*)1.754 + os=-nextstep21.755 + ;;1.756 + *)1.757 + os=-nextstep31.758 + ;;1.759 + esac1.760 + ;;1.761 + nh3000)1.762 + basic_machine=m68k-harris1.763 + os=-cxux1.764 + ;;1.765 + nh[45]000)1.766 + basic_machine=m88k-harris1.767 + os=-cxux1.768 + ;;1.769 + nindy960)1.770 + basic_machine=i960-intel1.771 + os=-nindy1.772 + ;;1.773 + mon960)1.774 + basic_machine=i960-intel1.775 + os=-mon9601.776 + ;;1.777 + nonstopux)1.778 + basic_machine=mips-compaq1.779 + os=-nonstopux1.780 + ;;1.781 + np1)1.782 + basic_machine=np1-gould1.783 + ;;1.784 + nsr-tandem)1.785 + basic_machine=nsr-tandem1.786 + ;;1.787 + op50n-* | op60c-*)1.788 + basic_machine=hppa1.1-oki1.789 + os=-proelf1.790 + ;;1.791 + openrisc | openrisc-*)1.792 + basic_machine=or32-unknown1.793 + ;;1.794 + os400)1.795 + basic_machine=powerpc-ibm1.796 + os=-os4001.797 + ;;1.798 + OSE68000 | ose68000)1.799 + basic_machine=m68000-ericsson1.800 + os=-ose1.801 + ;;1.802 + os68k)1.803 + basic_machine=m68k-none1.804 + os=-os68k1.805 + ;;1.806 + pa-hitachi)1.807 + basic_machine=hppa1.1-hitachi1.808 + os=-hiuxwe21.809 + ;;1.810 + paragon)1.811 + basic_machine=i860-intel1.812 + os=-osf1.813 + ;;1.814 + pbd)1.815 + basic_machine=sparc-tti1.816 + ;;1.817 + pbb)1.818 + basic_machine=m68k-tti1.819 + ;;1.820 + pc532 | pc532-*)1.821 + basic_machine=ns32k-pc5321.822 + ;;1.823 + pc98)1.824 + basic_machine=i386-pc1.825 + ;;1.826 + pc98-*)1.827 + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`1.828 + ;;1.829 + pentium | p5 | k5 | k6 | nexgen | viac3)1.830 + basic_machine=i586-pc1.831 + ;;1.832 + pentiumpro | p6 | 6x86 | athlon | athlon_*)1.833 + basic_machine=i686-pc1.834 + ;;1.835 + pentiumii | pentium2 | pentiumiii | pentium3)1.836 + basic_machine=i686-pc1.837 + ;;1.838 + pentium4)1.839 + basic_machine=i786-pc1.840 + ;;1.841 + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)1.842 + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`1.843 + ;;1.844 + pentiumpro-* | p6-* | 6x86-* | athlon-*)1.845 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`1.846 + ;;1.847 + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)1.848 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`1.849 + ;;1.850 + pentium4-*)1.851 + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`1.852 + ;;1.853 + pn)1.854 + basic_machine=pn-gould1.855 + ;;1.856 + power) basic_machine=power-ibm1.857 + ;;1.858 + ppc) basic_machine=powerpc-unknown1.859 + ;;1.860 + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`1.861 + ;;1.862 + ppcle | powerpclittle | ppc-le | powerpc-little)1.863 + basic_machine=powerpcle-unknown1.864 + ;;1.865 + ppcle-* | powerpclittle-*)1.866 + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`1.867 + ;;1.868 + ppc64) basic_machine=powerpc64-unknown1.869 + ;;1.870 + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`1.871 + ;;1.872 + ppc64le | powerpc64little | ppc64-le | powerpc64-little)1.873 + basic_machine=powerpc64le-unknown1.874 + ;;1.875 + ppc64le-* | powerpc64little-*)1.876 + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`1.877 + ;;1.878 + ps2)1.879 + basic_machine=i386-ibm1.880 + ;;1.881 + pw32)1.882 + basic_machine=i586-unknown1.883 + os=-pw321.884 + ;;1.885 + rdos)1.886 + basic_machine=i386-pc1.887 + os=-rdos1.888 + ;;1.889 + rom68k)1.890 + basic_machine=m68k-rom68k1.891 + os=-coff1.892 + ;;1.893 + rm[46]00)1.894 + basic_machine=mips-siemens1.895 + ;;1.896 + rtpc | rtpc-*)1.897 + basic_machine=romp-ibm1.898 + ;;1.899 + s390 | s390-*)1.900 + basic_machine=s390-ibm1.901 + ;;1.902 + s390x | s390x-*)1.903 + basic_machine=s390x-ibm1.904 + ;;1.905 + sa29200)1.906 + basic_machine=a29k-amd1.907 + os=-udi1.908 + ;;1.909 + sb1)1.910 + basic_machine=mipsisa64sb1-unknown1.911 + ;;1.912 + sb1el)1.913 + basic_machine=mipsisa64sb1el-unknown1.914 + ;;1.915 + sei)1.916 + basic_machine=mips-sei1.917 + os=-seiux1.918 + ;;1.919 + sequent)1.920 + basic_machine=i386-sequent1.921 + ;;1.922 + sh)1.923 + basic_machine=sh-hitachi1.924 + os=-hms1.925 + ;;1.926 + sh64)1.927 + basic_machine=sh64-unknown1.928 + ;;1.929 + sparclite-wrs | simso-wrs)1.930 + basic_machine=sparclite-wrs1.931 + os=-vxworks1.932 + ;;1.933 + sps7)1.934 + basic_machine=m68k-bull1.935 + os=-sysv21.936 + ;;1.937 + spur)1.938 + basic_machine=spur-unknown1.939 + ;;1.940 + st2000)1.941 + basic_machine=m68k-tandem1.942 + ;;1.943 + stratus)1.944 + basic_machine=i860-stratus1.945 + os=-sysv41.946 + ;;1.947 + sun2)1.948 + basic_machine=m68000-sun1.949 + ;;1.950 + sun2os3)1.951 + basic_machine=m68000-sun1.952 + os=-sunos31.953 + ;;1.954 + sun2os4)1.955 + basic_machine=m68000-sun1.956 + os=-sunos41.957 + ;;1.958 + sun3os3)1.959 + basic_machine=m68k-sun1.960 + os=-sunos31.961 + ;;1.962 + sun3os4)1.963 + basic_machine=m68k-sun1.964 + os=-sunos41.965 + ;;1.966 + sun4os3)1.967 + basic_machine=sparc-sun1.968 + os=-sunos31.969 + ;;1.970 + sun4os4)1.971 + basic_machine=sparc-sun1.972 + os=-sunos41.973 + ;;1.974 + sun4sol2)1.975 + basic_machine=sparc-sun1.976 + os=-solaris21.977 + ;;1.978 + sun3 | sun3-*)1.979 + basic_machine=m68k-sun1.980 + ;;1.981 + sun4)1.982 + basic_machine=sparc-sun1.983 + ;;1.984 + sun386 | sun386i | roadrunner)1.985 + basic_machine=i386-sun1.986 + ;;1.987 + sv1)1.988 + basic_machine=sv1-cray1.989 + os=-unicos1.990 + ;;1.991 + symmetry)1.992 + basic_machine=i386-sequent1.993 + os=-dynix1.994 + ;;1.995 + t3e)1.996 + basic_machine=alphaev5-cray1.997 + os=-unicos1.998 + ;;1.999 + t90)1.1000 + basic_machine=t90-cray1.1001 + os=-unicos1.1002 + ;;1.1003 + tic54x | c54x*)1.1004 + basic_machine=tic54x-unknown1.1005 + os=-coff1.1006 + ;;1.1007 + tic55x | c55x*)1.1008 + basic_machine=tic55x-unknown1.1009 + os=-coff1.1010 + ;;1.1011 + tic6x | c6x*)1.1012 + basic_machine=tic6x-unknown1.1013 + os=-coff1.1014 + ;;1.1015 + tx39)1.1016 + basic_machine=mipstx39-unknown1.1017 + ;;1.1018 + tx39el)1.1019 + basic_machine=mipstx39el-unknown1.1020 + ;;1.1021 + toad1)1.1022 + basic_machine=pdp10-xkl1.1023 + os=-tops201.1024 + ;;1.1025 + tower | tower-32)1.1026 + basic_machine=m68k-ncr1.1027 + ;;1.1028 + tpf)1.1029 + basic_machine=s390x-ibm1.1030 + os=-tpf1.1031 + ;;1.1032 + udi29k)1.1033 + basic_machine=a29k-amd1.1034 + os=-udi1.1035 + ;;1.1036 + ultra3)1.1037 + basic_machine=a29k-nyu1.1038 + os=-sym11.1039 + ;;1.1040 + v810 | necv810)1.1041 + basic_machine=v810-nec1.1042 + os=-none1.1043 + ;;1.1044 + vaxv)1.1045 + basic_machine=vax-dec1.1046 + os=-sysv1.1047 + ;;1.1048 + vms)1.1049 + basic_machine=vax-dec1.1050 + os=-vms1.1051 + ;;1.1052 + vpp*|vx|vx-*)1.1053 + basic_machine=f301-fujitsu1.1054 + ;;1.1055 + vxworks960)1.1056 + basic_machine=i960-wrs1.1057 + os=-vxworks1.1058 + ;;1.1059 + vxworks68)1.1060 + basic_machine=m68k-wrs1.1061 + os=-vxworks1.1062 + ;;1.1063 + vxworks29k)1.1064 + basic_machine=a29k-wrs1.1065 + os=-vxworks1.1066 + ;;1.1067 + w65*)1.1068 + basic_machine=w65-wdc1.1069 + os=-none1.1070 + ;;1.1071 + w89k-*)1.1072 + basic_machine=hppa1.1-winbond1.1073 + os=-proelf1.1074 + ;;1.1075 + xbox)1.1076 + basic_machine=i686-pc1.1077 + os=-mingw321.1078 + ;;1.1079 + xps | xps100)1.1080 + basic_machine=xps100-honeywell1.1081 + ;;1.1082 + ymp)1.1083 + basic_machine=ymp-cray1.1084 + os=-unicos1.1085 + ;;1.1086 + z8k-*-coff)1.1087 + basic_machine=z8k-unknown1.1088 + os=-sim1.1089 + ;;1.1090 + none)1.1091 + basic_machine=none-none1.1092 + os=-none1.1093 + ;;1.1094 +1.1095 +# Here we handle the default manufacturer of certain CPU types. It is in1.1096 +# some cases the only manufacturer, in others, it is the most popular.1.1097 + w89k)1.1098 + basic_machine=hppa1.1-winbond1.1099 + ;;1.1100 + op50n)1.1101 + basic_machine=hppa1.1-oki1.1102 + ;;1.1103 + op60c)1.1104 + basic_machine=hppa1.1-oki1.1105 + ;;1.1106 + romp)1.1107 + basic_machine=romp-ibm1.1108 + ;;1.1109 + mmix)1.1110 + basic_machine=mmix-knuth1.1111 + ;;1.1112 + rs6000)1.1113 + basic_machine=rs6000-ibm1.1114 + ;;1.1115 + vax)1.1116 + basic_machine=vax-dec1.1117 + ;;1.1118 + pdp10)1.1119 + # there are many clones, so DEC is not a safe bet1.1120 + basic_machine=pdp10-unknown1.1121 + ;;1.1122 + pdp11)1.1123 + basic_machine=pdp11-dec1.1124 + ;;1.1125 + we32k)1.1126 + basic_machine=we32k-att1.1127 + ;;1.1128 + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)1.1129 + basic_machine=sh-unknown1.1130 + ;;1.1131 + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)1.1132 + basic_machine=sparc-sun1.1133 + ;;1.1134 + cydra)1.1135 + basic_machine=cydra-cydrome1.1136 + ;;1.1137 + orion)1.1138 + basic_machine=orion-highlevel1.1139 + ;;1.1140 + orion105)1.1141 + basic_machine=clipper-highlevel1.1142 + ;;1.1143 + mac | mpw | mac-mpw)1.1144 + basic_machine=m68k-apple1.1145 + ;;1.1146 + pmac | pmac-mpw)1.1147 + basic_machine=powerpc-apple1.1148 + ;;1.1149 + *-unknown)1.1150 + # Make sure to match an already-canonicalized machine name.1.1151 + ;;1.1152 + *)1.1153 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&21.1154 + exit 11.1155 + ;;1.1156 +esac1.1157 +1.1158 +# Here we canonicalize certain aliases for manufacturers.1.1159 +case $basic_machine in1.1160 + *-digital*)1.1161 + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`1.1162 + ;;1.1163 + *-commodore*)1.1164 + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`1.1165 + ;;1.1166 + *)1.1167 + ;;1.1168 +esac1.1169 +1.1170 +# Decode manufacturer-specific aliases for certain operating systems.1.1171 +1.1172 +if [ x"$os" != x"" ]1.1173 +then1.1174 +case $os in1.1175 + # First match some system type aliases1.1176 + # that might get confused with valid system types.1.1177 + # -solaris* is a basic system type, with this one exception.1.1178 + -solaris1 | -solaris1.*)1.1179 + os=`echo $os | sed -e 's|solaris1|sunos4|'`1.1180 + ;;1.1181 + -solaris)1.1182 + os=-solaris21.1183 + ;;1.1184 + -svr4*)1.1185 + os=-sysv41.1186 + ;;1.1187 + -unixware*)1.1188 + os=-sysv4.2uw1.1189 + ;;1.1190 + -gnu/linux*)1.1191 + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`1.1192 + ;;1.1193 + # First accept the basic system types.1.1194 + # The portable systems comes first.1.1195 + # Each alternative MUST END IN A *, to match a version number.1.1196 + # -sysv* is not here because it comes later, after sysvr4.1.1197 + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \1.1198 + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\1.1199 + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \1.1200 + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \1.1201 + | -aos* \1.1202 + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \1.1203 + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \1.1204 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \1.1205 + | -openbsd* | -solidbsd* \1.1206 + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \1.1207 + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \1.1208 + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \1.1209 + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \1.1210 + | -chorusos* | -chorusrdb* \1.1211 + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \1.1212 + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \1.1213 + | -uxpv* | -beos* | -mpeix* | -udk* \1.1214 + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \1.1215 + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \1.1216 + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \1.1217 + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \1.1218 + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \1.1219 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \1.1220 + | -skyos* | -haiku* | -rdos* | -toppers*)1.1221 + # Remember, each alternative MUST END IN *, to match a version number.1.1222 + ;;1.1223 + -qnx*)1.1224 + case $basic_machine in1.1225 + x86-* | i*86-*)1.1226 + ;;1.1227 + *)1.1228 + os=-nto$os1.1229 + ;;1.1230 + esac1.1231 + ;;1.1232 + -nto-qnx*)1.1233 + ;;1.1234 + -nto*)1.1235 + os=`echo $os | sed -e 's|nto|nto-qnx|'`1.1236 + ;;1.1237 + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \1.1238 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \1.1239 + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)1.1240 + ;;1.1241 + -mac*)1.1242 + os=`echo $os | sed -e 's|mac|macos|'`1.1243 + ;;1.1244 + -linux-dietlibc)1.1245 + os=-linux-dietlibc1.1246 + ;;1.1247 + -linux*)1.1248 + os=`echo $os | sed -e 's|linux|linux-gnu|'`1.1249 + ;;1.1250 + -sunos5*)1.1251 + os=`echo $os | sed -e 's|sunos5|solaris2|'`1.1252 + ;;1.1253 + -sunos6*)1.1254 + os=`echo $os | sed -e 's|sunos6|solaris3|'`1.1255 + ;;1.1256 + -opened*)1.1257 + os=-openedition1.1258 + ;;1.1259 + -os400*)1.1260 + os=-os4001.1261 + ;;1.1262 + -wince*)1.1263 + os=-wince1.1264 + ;;1.1265 + -osfrose*)1.1266 + os=-osfrose1.1267 + ;;1.1268 + -osf*)1.1269 + os=-osf1.1270 + ;;1.1271 + -utek*)1.1272 + os=-bsd1.1273 + ;;1.1274 + -dynix*)1.1275 + os=-bsd1.1276 + ;;1.1277 + -acis*)1.1278 + os=-aos1.1279 + ;;1.1280 + -atheos*)1.1281 + os=-atheos1.1282 + ;;1.1283 + -syllable*)1.1284 + os=-syllable1.1285 + ;;1.1286 + -386bsd)1.1287 + os=-bsd1.1288 + ;;1.1289 + -ctix* | -uts*)1.1290 + os=-sysv1.1291 + ;;1.1292 + -nova*)1.1293 + os=-rtmk-nova1.1294 + ;;1.1295 + -ns2 )1.1296 + os=-nextstep21.1297 + ;;1.1298 + -nsk*)1.1299 + os=-nsk1.1300 + ;;1.1301 + # Preserve the version number of sinix5.1.1302 + -sinix5.*)1.1303 + os=`echo $os | sed -e 's|sinix|sysv|'`1.1304 + ;;1.1305 + -sinix*)1.1306 + os=-sysv41.1307 + ;;1.1308 + -tpf*)1.1309 + os=-tpf1.1310 + ;;1.1311 + -triton*)1.1312 + os=-sysv31.1313 + ;;1.1314 + -oss*)1.1315 + os=-sysv31.1316 + ;;1.1317 + -svr4)1.1318 + os=-sysv41.1319 + ;;1.1320 + -svr3)1.1321 + os=-sysv31.1322 + ;;1.1323 + -sysvr4)1.1324 + os=-sysv41.1325 + ;;1.1326 + # This must come after -sysvr4.1.1327 + -sysv*)1.1328 + ;;1.1329 + -ose*)1.1330 + os=-ose1.1331 + ;;1.1332 + -es1800*)1.1333 + os=-ose1.1334 + ;;1.1335 + -xenix)1.1336 + os=-xenix1.1337 + ;;1.1338 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)1.1339 + os=-mint1.1340 + ;;1.1341 + -aros*)1.1342 + os=-aros1.1343 + ;;1.1344 + -kaos*)1.1345 + os=-kaos1.1346 + ;;1.1347 + -zvmoe)1.1348 + os=-zvmoe1.1349 + ;;1.1350 + -none)1.1351 + ;;1.1352 + *)1.1353 + # Get rid of the `-' at the beginning of $os.1.1354 + os=`echo $os | sed 's/[^-]*-//'`1.1355 + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&21.1356 + exit 11.1357 + ;;1.1358 +esac1.1359 +else1.1360 +1.1361 +# Here we handle the default operating systems that come with various machines.1.1362 +# The value should be what the vendor currently ships out the door with their1.1363 +# machine or put another way, the most popular os provided with the machine.1.1364 +1.1365 +# Note that if you're going to try to match "-MANUFACTURER" here (say,1.1366 +# "-sun"), then you have to tell the case statement up towards the top1.1367 +# that MANUFACTURER isn't an operating system. Otherwise, code above1.1368 +# will signal an error saying that MANUFACTURER isn't an operating1.1369 +# system, and we'll never get to this point.1.1370 +1.1371 +case $basic_machine in1.1372 + spu-*)1.1373 + os=-elf1.1374 + ;;1.1375 + *-acorn)1.1376 + os=-riscix1.21.1377 + ;;1.1378 + arm*-rebel)1.1379 + os=-linux1.1380 + ;;1.1381 + arm*-semi)1.1382 + os=-aout1.1383 + ;;1.1384 + c4x-* | tic4x-*)1.1385 + os=-coff1.1386 + ;;1.1387 + # This must come before the *-dec entry.1.1388 + pdp10-*)1.1389 + os=-tops201.1390 + ;;1.1391 + pdp11-*)1.1392 + os=-none1.1393 + ;;1.1394 + *-dec | vax-*)1.1395 + os=-ultrix4.21.1396 + ;;1.1397 + m68*-apollo)1.1398 + os=-domain1.1399 + ;;1.1400 + i386-sun)1.1401 + os=-sunos4.0.21.1402 + ;;1.1403 + m68000-sun)1.1404 + os=-sunos31.1405 + # This also exists in the configure program, but was not the1.1406 + # default.1.1407 + # os=-sunos41.1408 + ;;1.1409 + m68*-cisco)1.1410 + os=-aout1.1411 + ;;1.1412 + mips*-cisco)1.1413 + os=-elf1.1414 + ;;1.1415 + mips*-*)1.1416 + os=-elf1.1417 + ;;1.1418 + or32-*)1.1419 + os=-coff1.1420 + ;;1.1421 + *-tti) # must be before sparc entry or we get the wrong os.1.1422 + os=-sysv31.1423 + ;;1.1424 + sparc-* | *-sun)1.1425 + os=-sunos4.1.11.1426 + ;;1.1427 + *-be)1.1428 + os=-beos1.1429 + ;;1.1430 + *-haiku)1.1431 + os=-haiku1.1432 + ;;1.1433 + *-ibm)1.1434 + os=-aix1.1435 + ;;1.1436 + *-knuth)1.1437 + os=-mmixware1.1438 + ;;1.1439 + *-wec)1.1440 + os=-proelf1.1441 + ;;1.1442 + *-winbond)1.1443 + os=-proelf1.1444 + ;;1.1445 + *-oki)1.1446 + os=-proelf1.1447 + ;;1.1448 + *-hp)1.1449 + os=-hpux1.1450 + ;;1.1451 + *-hitachi)1.1452 + os=-hiux1.1453 + ;;1.1454 + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)1.1455 + os=-sysv1.1456 + ;;1.1457 + *-cbm)1.1458 + os=-amigaos1.1459 + ;;1.1460 + *-dg)1.1461 + os=-dgux1.1462 + ;;1.1463 + *-dolphin)1.1464 + os=-sysv31.1465 + ;;1.1466 + m68k-ccur)1.1467 + os=-rtu1.1468 + ;;1.1469 + m88k-omron*)1.1470 + os=-luna1.1471 + ;;1.1472 + *-next )1.1473 + os=-nextstep1.1474 + ;;1.1475 + *-sequent)1.1476 + os=-ptx1.1477 + ;;1.1478 + *-crds)1.1479 + os=-unos1.1480 + ;;1.1481 + *-ns)1.1482 + os=-genix1.1483 + ;;1.1484 + i370-*)1.1485 + os=-mvs1.1486 + ;;1.1487 + *-next)1.1488 + os=-nextstep31.1489 + ;;1.1490 + *-gould)1.1491 + os=-sysv1.1492 + ;;1.1493 + *-highlevel)1.1494 + os=-bsd1.1495 + ;;1.1496 + *-encore)1.1497 + os=-bsd1.1498 + ;;1.1499 + *-sgi)1.1500 + os=-irix1.1501 + ;;1.1502 + *-siemens)1.1503 + os=-sysv41.1504 + ;;1.1505 + *-masscomp)1.1506 + os=-rtu1.1507 + ;;1.1508 + f30[01]-fujitsu | f700-fujitsu)1.1509 + os=-uxpv1.1510 + ;;1.1511 + *-rom68k)1.1512 + os=-coff1.1513 + ;;1.1514 + *-*bug)1.1515 + os=-coff1.1516 + ;;1.1517 + *-apple)1.1518 + os=-macos1.1519 + ;;1.1520 + *-atari*)1.1521 + os=-mint1.1522 + ;;1.1523 + *)1.1524 + os=-none1.1525 + ;;1.1526 +esac1.1527 +fi1.1528 +1.1529 +# Here we handle the case where we know the os, and the CPU type, but not the1.1530 +# manufacturer. We pick the logical manufacturer.1.1531 +vendor=unknown1.1532 +case $basic_machine in1.1533 + *-unknown)1.1534 + case $os in1.1535 + -riscix*)1.1536 + vendor=acorn1.1537 + ;;1.1538 + -sunos*)1.1539 + vendor=sun1.1540 + ;;1.1541 + -aix*)1.1542 + vendor=ibm1.1543 + ;;1.1544 + -beos*)1.1545 + vendor=be1.1546 + ;;1.1547 + -hpux*)1.1548 + vendor=hp1.1549 + ;;1.1550 + -mpeix*)1.1551 + vendor=hp1.1552 + ;;1.1553 + -hiux*)1.1554 + vendor=hitachi1.1555 + ;;1.1556 + -unos*)1.1557 + vendor=crds1.1558 + ;;1.1559 + -dgux*)1.1560 + vendor=dg1.1561 + ;;1.1562 + -luna*)1.1563 + vendor=omron1.1564 + ;;1.1565 + -genix*)1.1566 + vendor=ns1.1567 + ;;1.1568 + -mvs* | -opened*)1.1569 + vendor=ibm1.1570 + ;;1.1571 + -os400*)1.1572 + vendor=ibm1.1573 + ;;1.1574 + -ptx*)1.1575 + vendor=sequent1.1576 + ;;1.1577 + -tpf*)1.1578 + vendor=ibm1.1579 + ;;1.1580 + -vxsim* | -vxworks* | -windiss*)1.1581 + vendor=wrs1.1582 + ;;1.1583 + -aux*)1.1584 + vendor=apple1.1585 + ;;1.1586 + -hms*)1.1587 + vendor=hitachi1.1588 + ;;1.1589 + -mpw* | -macos*)1.1590 + vendor=apple1.1591 + ;;1.1592 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)1.1593 + vendor=atari1.1594 + ;;1.1595 + -vos*)1.1596 + vendor=stratus1.1597 + ;;1.1598 + esac1.1599 + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`1.1600 + ;;1.1601 +esac1.1602 +1.1603 +echo $basic_machine$os1.1604 +exit1.1605 +1.1606 +# Local variables:1.1607 +# eval: (add-hook 'write-file-hooks 'time-stamp)1.1608 +# time-stamp-start: "timestamp='"1.1609 +# time-stamp-format: "%:y-%02m-%02d"1.1610 +# time-stamp-end: "'"1.1611 +# End:
.