133965Sjdp#! /bin/sh 277298Sobrien# Configuration validation subroutine script. 389857Sobrien# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4218822Sdim# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, 5218822Sdim# Inc. 668765Sobrien 7218822Sdimtimestamp='2007-04-29' 868765Sobrien 933965Sjdp# This file is (in principle) common to ALL GNU software. 1033965Sjdp# The presence of a machine in this file suggests that SOME GNU software 1133965Sjdp# can handle that machine. It does not imply ALL GNU software can. 1233965Sjdp# 1333965Sjdp# This file is free software; you can redistribute it and/or modify 1433965Sjdp# it under the terms of the GNU General Public License as published by 1533965Sjdp# the Free Software Foundation; either version 2 of the License, or 1633965Sjdp# (at your option) any later version. 1733965Sjdp# 1833965Sjdp# This program is distributed in the hope that it will be useful, 1933965Sjdp# but WITHOUT ANY WARRANTY; without even the implied warranty of 2033965Sjdp# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2133965Sjdp# GNU General Public License for more details. 2233965Sjdp# 2333965Sjdp# You should have received a copy of the GNU General Public License 2433965Sjdp# along with this program; if not, write to the Free Software 25218822Sdim# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 26218822Sdim# 02110-1301, USA. 27218822Sdim# 2833965Sjdp# As a special exception to the GNU General Public License, if you 2933965Sjdp# distribute this file as part of a program that contains a 3033965Sjdp# configuration script generated by Autoconf, you may include it under 3133965Sjdp# the same distribution terms that you use for the rest of that program. 3233965Sjdp 33218822Sdim 3489857Sobrien# Please send patches to <config-patches@gnu.org>. Submit a context 3589857Sobrien# diff and a properly formatted ChangeLog entry. 3660484Sobrien# 3733965Sjdp# Configuration subroutine to validate and canonicalize a configuration type. 3833965Sjdp# Supply the specified configuration type as an argument. 3933965Sjdp# If it is invalid, we print an error message on stderr and exit with code 1. 4033965Sjdp# Otherwise, we print the canonical config type on stdout and succeed. 4133965Sjdp 4233965Sjdp# This file is supposed to be the same for all GNU packages 4333965Sjdp# and recognize all the CPU types, system types and aliases 4433965Sjdp# that are meaningful with *any* GNU software. 4533965Sjdp# Each package is responsible for reporting which valid configurations 4633965Sjdp# it does not support. The user should be able to distinguish 4733965Sjdp# a failure to support a valid configuration from a meaningless 4833965Sjdp# configuration. 4933965Sjdp 5033965Sjdp# The goal of this file is to map all the various variations of a given 5133965Sjdp# machine specification into a single specification in the form: 5233965Sjdp# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 5333965Sjdp# or in some cases, the newer four-part form: 5433965Sjdp# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 5533965Sjdp# It is wrong to echo any other type of specification. 5633965Sjdp 5768765Sobrienme=`echo "$0" | sed -e 's,.*/,,'` 5833965Sjdp 5968765Sobrienusage="\ 6068765SobrienUsage: $0 [OPTION] CPU-MFR-OPSYS 6168765Sobrien $0 [OPTION] ALIAS 6268765Sobrien 6368765SobrienCanonicalize a configuration name. 6468765Sobrien 6568765SobrienOperation modes: 6677298Sobrien -h, --help print this help, then exit 6777298Sobrien -t, --time-stamp print date of last modification, then exit 6877298Sobrien -v, --version print version number, then exit 6968765Sobrien 7077298SobrienReport bugs and patches to <config-patches@gnu.org>." 7177298Sobrien 7277298Sobrienversion="\ 7377298SobrienGNU config.sub ($timestamp) 7477298Sobrien 75218822SdimCopyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 7677298SobrienFree Software Foundation, Inc. 7777298Sobrien 7877298SobrienThis is free software; see the source for copying conditions. There is NO 7977298Sobrienwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 8077298Sobrien 8168765Sobrienhelp=" 8268765SobrienTry \`$me --help' for more information." 8368765Sobrien 8468765Sobrien# Parse command line 8568765Sobrienwhile test $# -gt 0 ; do 8677298Sobrien case $1 in 8777298Sobrien --time-stamp | --time* | -t ) 88218822Sdim echo "$timestamp" ; exit ;; 8977298Sobrien --version | -v ) 90218822Sdim echo "$version" ; exit ;; 9168765Sobrien --help | --h* | -h ) 92218822Sdim echo "$usage"; exit ;; 9368765Sobrien -- ) # Stop option processing 9468765Sobrien shift; break ;; 9568765Sobrien - ) # Use stdin as input. 9668765Sobrien break ;; 9768765Sobrien -* ) 9877298Sobrien echo "$me: invalid option $1$help" 9968765Sobrien exit 1 ;; 10068765Sobrien 10168765Sobrien *local*) 10268765Sobrien # First pass through any local machine types. 10368765Sobrien echo $1 104218822Sdim exit ;; 10568765Sobrien 10668765Sobrien * ) 10768765Sobrien break ;; 10868765Sobrien esac 10968765Sobriendone 11068765Sobrien 11168765Sobriencase $# in 11268765Sobrien 0) echo "$me: missing argument$help" >&2 11368765Sobrien exit 1;; 11468765Sobrien 1) ;; 11568765Sobrien *) echo "$me: too many arguments$help" >&2 11668765Sobrien exit 1;; 11733965Sjdpesac 11833965Sjdp 11933965Sjdp# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 12033965Sjdp# Here we must recognize all the valid KERNEL-OS combinations. 12133965Sjdpmaybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 12233965Sjdpcase $maybe_os in 123218822Sdim nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 124218822Sdim uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 125218822Sdim storm-chaos* | os2-emx* | rtmk-nova*) 12633965Sjdp os=-$maybe_os 12733965Sjdp basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 12833965Sjdp ;; 12933965Sjdp *) 13033965Sjdp basic_machine=`echo $1 | sed 's/-[^-]*$//'` 13133965Sjdp if [ $basic_machine != $1 ] 13233965Sjdp then os=`echo $1 | sed 's/.*-/-/'` 13333965Sjdp else os=; fi 13433965Sjdp ;; 13533965Sjdpesac 13633965Sjdp 13733965Sjdp### Let's recognize common machines as not being operating systems so 13833965Sjdp### that things like config.sub decstation-3100 work. We also 13933965Sjdp### recognize some manufacturers as not being operating systems, so we 14033965Sjdp### can provide default operating systems below. 14133965Sjdpcase $os in 14233965Sjdp -sun*os*) 14333965Sjdp # Prevent following clause from handling this invalid input. 14433965Sjdp ;; 14533965Sjdp -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ 14633965Sjdp -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 14733965Sjdp -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 14833965Sjdp -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 14933965Sjdp -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 15033965Sjdp -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 151218822Sdim -apple | -axis | -knuth | -cray) 15233965Sjdp os= 15333965Sjdp basic_machine=$1 15433965Sjdp ;; 15560484Sobrien -sim | -cisco | -oki | -wec | -winbond) 15633965Sjdp os= 15733965Sjdp basic_machine=$1 15833965Sjdp ;; 15960484Sobrien -scout) 16033965Sjdp ;; 16160484Sobrien -wrs) 16260484Sobrien os=-vxworks 16333965Sjdp basic_machine=$1 16433965Sjdp ;; 16589857Sobrien -chorusos*) 16689857Sobrien os=-chorusos 16789857Sobrien basic_machine=$1 16889857Sobrien ;; 16989857Sobrien -chorusrdb) 17089857Sobrien os=-chorusrdb 17189857Sobrien basic_machine=$1 17289857Sobrien ;; 17333965Sjdp -hiux*) 17433965Sjdp os=-hiuxwe2 17533965Sjdp ;; 176218822Sdim -sco6) 177218822Sdim os=-sco5v6 178218822Sdim basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 179218822Sdim ;; 18033965Sjdp -sco5) 18160484Sobrien os=-sco3.2v5 18233965Sjdp basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 18333965Sjdp ;; 18433965Sjdp -sco4) 18533965Sjdp os=-sco3.2v4 18633965Sjdp basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 18733965Sjdp ;; 18833965Sjdp -sco3.2.[4-9]*) 18933965Sjdp os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 19033965Sjdp basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 19133965Sjdp ;; 19233965Sjdp -sco3.2v[4-9]*) 19333965Sjdp # Don't forget version if it is 3.2v4 or newer. 19433965Sjdp basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 19533965Sjdp ;; 196218822Sdim -sco5v6*) 197218822Sdim # Don't forget version if it is 3.2v4 or newer. 198218822Sdim basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 199218822Sdim ;; 20033965Sjdp -sco*) 20133965Sjdp os=-sco3.2v2 20233965Sjdp basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 20333965Sjdp ;; 20460484Sobrien -udk*) 20560484Sobrien basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 20660484Sobrien ;; 20733965Sjdp -isc) 20833965Sjdp os=-isc2.2 20933965Sjdp basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 21033965Sjdp ;; 21133965Sjdp -clix*) 21233965Sjdp basic_machine=clipper-intergraph 21333965Sjdp ;; 21433965Sjdp -isc*) 21533965Sjdp basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 21633965Sjdp ;; 21733965Sjdp -lynx*) 21833965Sjdp os=-lynxos 21933965Sjdp ;; 22033965Sjdp -ptx*) 22133965Sjdp basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` 22233965Sjdp ;; 22333965Sjdp -windowsnt*) 22433965Sjdp os=`echo $os | sed -e 's/windowsnt/winnt/'` 22533965Sjdp ;; 22633965Sjdp -psos*) 22733965Sjdp os=-psos 22833965Sjdp ;; 22960484Sobrien -mint | -mint[0-9]*) 23060484Sobrien basic_machine=m68k-atari 23160484Sobrien os=-mint 23260484Sobrien ;; 23333965Sjdpesac 23433965Sjdp 23533965Sjdp# Decode aliases for certain CPU-COMPANY combinations. 23633965Sjdpcase $basic_machine in 23733965Sjdp # Recognize the basic CPU types without company name. 23833965Sjdp # Some are omitted here because they have special meanings below. 23989857Sobrien 1750a | 580 \ 24089857Sobrien | a29k \ 24189857Sobrien | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 24289857Sobrien | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 243130561Sobrien | am33_2.0 \ 244239272Sgonzo | arc | arm | arm[bl]e | arme[lb] | armv[23456] | armv[345][lb] | avr | avr32 \ 245218822Sdim | bfin \ 24689857Sobrien | c4x | clipper \ 247104834Sobrien | d10v | d30v | dlx | dsp16xx \ 248218822Sdim | fido | fr30 | frv \ 24989857Sobrien | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 25089857Sobrien | i370 | i860 | i960 | ia64 \ 251130561Sobrien | ip2k | iq2000 \ 252218822Sdim | m32c | m32r | m32rle | m68000 | m68k | m88k \ 253218822Sdim | maxq | mb | microblaze | mcore | mep \ 254130561Sobrien | mips | mipsbe | mipseb | mipsel | mipsle \ 255130561Sobrien | mips16 \ 256130561Sobrien | mips64 | mips64el \ 257130561Sobrien | mips64vr | mips64vrel \ 258130561Sobrien | mips64orion | mips64orionel \ 259130561Sobrien | mips64vr4100 | mips64vr4100el \ 260130561Sobrien | mips64vr4300 | mips64vr4300el \ 261130561Sobrien | mips64vr5000 | mips64vr5000el \ 262218822Sdim | mips64vr5900 | mips64vr5900el \ 263130561Sobrien | mipsisa32 | mipsisa32el \ 264130561Sobrien | mipsisa32r2 | mipsisa32r2el \ 265130561Sobrien | mipsisa64 | mipsisa64el \ 266130561Sobrien | mipsisa64r2 | mipsisa64r2el \ 267130561Sobrien | mipsisa64sb1 | mipsisa64sb1el \ 268130561Sobrien | mipsisa64sr71k | mipsisa64sr71kel \ 269130561Sobrien | mipstx39 | mipstx39el \ 27089857Sobrien | mn10200 | mn10300 \ 271218822Sdim | mt \ 272130561Sobrien | msp430 \ 273218822Sdim | nios | nios2 \ 27489857Sobrien | ns16k | ns32k \ 275218822Sdim | or32 \ 27689857Sobrien | pdp10 | pdp11 | pj | pjl \ 27789857Sobrien | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 27889857Sobrien | pyramid \ 279218822Sdim | score \ 280218822Sdim | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 281130561Sobrien | sh64 | sh64le \ 282218822Sdim | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 283218822Sdim | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 284218822Sdim | spu | strongarm \ 285130561Sobrien | tahoe | thumb | tic4x | tic80 | tron \ 28689857Sobrien | v850 | v850e \ 28789857Sobrien | we32k \ 288218822Sdim | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 28989857Sobrien | z8k) 29033965Sjdp basic_machine=$basic_machine-unknown 29133965Sjdp ;; 29268765Sobrien m6811 | m68hc11 | m6812 | m68hc12) 29368765Sobrien # Motorola 68HC11/12. 29468765Sobrien basic_machine=$basic_machine-unknown 29568765Sobrien os=-none 29668765Sobrien ;; 29789857Sobrien m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 29833965Sjdp ;; 299218822Sdim ms1) 300218822Sdim basic_machine=mt-unknown 301218822Sdim ;; 30260484Sobrien 30333965Sjdp # We use `pc' rather than `unknown' 30433965Sjdp # because (1) that's what they normally are, and 30533965Sjdp # (2) the word "unknown" tends to confuse beginning users. 30689857Sobrien i*86 | x86_64) 30733965Sjdp basic_machine=$basic_machine-pc 30833965Sjdp ;; 30933965Sjdp # Object if more than one company name word. 31033965Sjdp *-*-*) 31133965Sjdp echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 31233965Sjdp exit 1 31333965Sjdp ;; 31433965Sjdp # Recognize the basic CPU types with company name. 31589857Sobrien 580-* \ 31689857Sobrien | a29k-* \ 31789857Sobrien | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 31889857Sobrien | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 31989857Sobrien | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 320104834Sobrien | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 321218822Sdim | avr-* | avr32-* \ 322218822Sdim | bfin-* | bs2000-* \ 323130561Sobrien | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 324218822Sdim | clipper-* | craynv-* | cydra-* \ 325104834Sobrien | d10v-* | d30v-* | dlx-* \ 32689857Sobrien | elxsi-* \ 327218822Sdim | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 32889857Sobrien | h8300-* | h8500-* \ 32989857Sobrien | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 33089857Sobrien | i*86-* | i860-* | i960-* | ia64-* \ 331130561Sobrien | ip2k-* | iq2000-* \ 332218822Sdim | m32c-* | m32r-* | m32rle-* \ 33392828Sobrien | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 334218822Sdim | m88110-* | m88k-* | maxq-* | mcore-* \ 335130561Sobrien | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 336130561Sobrien | mips16-* \ 337130561Sobrien | mips64-* | mips64el-* \ 338130561Sobrien | mips64vr-* | mips64vrel-* \ 339130561Sobrien | mips64orion-* | mips64orionel-* \ 340130561Sobrien | mips64vr4100-* | mips64vr4100el-* \ 341130561Sobrien | mips64vr4300-* | mips64vr4300el-* \ 342130561Sobrien | mips64vr5000-* | mips64vr5000el-* \ 343218822Sdim | mips64vr5900-* | mips64vr5900el-* \ 344130561Sobrien | mipsisa32-* | mipsisa32el-* \ 345130561Sobrien | mipsisa32r2-* | mipsisa32r2el-* \ 346130561Sobrien | mipsisa64-* | mipsisa64el-* \ 347130561Sobrien | mipsisa64r2-* | mipsisa64r2el-* \ 348130561Sobrien | mipsisa64sb1-* | mipsisa64sb1el-* \ 349130561Sobrien | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 350130561Sobrien | mipstx39-* | mipstx39el-* \ 351218822Sdim | mmix-* \ 352218822Sdim | mt-* \ 353130561Sobrien | msp430-* \ 354218822Sdim | nios-* | nios2-* \ 355218822Sdim | none-* | np1-* | ns16k-* | ns32k-* \ 35689857Sobrien | orion-* \ 35789857Sobrien | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 35889857Sobrien | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 35989857Sobrien | pyramid-* \ 36089857Sobrien | romp-* | rs6000-* \ 361218822Sdim | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 362130561Sobrien | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 363218822Sdim | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 364218822Sdim | sparclite-* \ 365218822Sdim | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 366130561Sobrien | tahoe-* | thumb-* \ 367130561Sobrien | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 368130561Sobrien | tron-* \ 36989857Sobrien | v850-* | v850e-* | vax-* \ 37089857Sobrien | we32k-* \ 371218822Sdim | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 372218822Sdim | xstormy16-* | xtensa-* \ 37389857Sobrien | ymp-* \ 37489857Sobrien | z8k-*) 37533965Sjdp ;; 37633965Sjdp # Recognize the various machine names and aliases which stand 37733965Sjdp # for a CPU type and a company and sometimes even an OS. 37860484Sobrien 386bsd) 37933965Sjdp basic_machine=i386-unknown 38033965Sjdp os=-bsd 38133965Sjdp ;; 38233965Sjdp 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) 38333965Sjdp basic_machine=m68000-att 38433965Sjdp ;; 38533965Sjdp 3b*) 38633965Sjdp basic_machine=we32k-att 38733965Sjdp ;; 38860484Sobrien a29khif) 38933965Sjdp basic_machine=a29k-amd 39033965Sjdp os=-udi 39133965Sjdp ;; 392130561Sobrien abacus) 393130561Sobrien basic_machine=abacus-unknown 394130561Sobrien ;; 39560484Sobrien adobe68k) 39633965Sjdp basic_machine=m68010-adobe 39733965Sjdp os=-scout 39833965Sjdp ;; 39933965Sjdp alliant | fx80) 40033965Sjdp basic_machine=fx80-alliant 40133965Sjdp ;; 40233965Sjdp altos | altos3068) 40333965Sjdp basic_machine=m68k-altos 40433965Sjdp ;; 40533965Sjdp am29k) 40633965Sjdp basic_machine=a29k-none 40733965Sjdp os=-bsd 40833965Sjdp ;; 409130561Sobrien amd64) 410130561Sobrien basic_machine=x86_64-pc 411130561Sobrien ;; 412130561Sobrien amd64-*) 413130561Sobrien basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` 414130561Sobrien ;; 41533965Sjdp amdahl) 41633965Sjdp basic_machine=580-amdahl 41733965Sjdp os=-sysv 41833965Sjdp ;; 41933965Sjdp amiga | amiga-*) 42068765Sobrien basic_machine=m68k-unknown 42133965Sjdp ;; 42260484Sobrien amigaos | amigados) 42368765Sobrien basic_machine=m68k-unknown 42460484Sobrien os=-amigaos 42533965Sjdp ;; 42633965Sjdp amigaunix | amix) 42768765Sobrien basic_machine=m68k-unknown 42833965Sjdp os=-sysv4 42933965Sjdp ;; 43033965Sjdp apollo68) 43133965Sjdp basic_machine=m68k-apollo 43233965Sjdp os=-sysv 43333965Sjdp ;; 43460484Sobrien apollo68bsd) 43533965Sjdp basic_machine=m68k-apollo 43633965Sjdp os=-bsd 43733965Sjdp ;; 43833965Sjdp aux) 43933965Sjdp basic_machine=m68k-apple 44033965Sjdp os=-aux 44133965Sjdp ;; 44233965Sjdp balance) 44333965Sjdp basic_machine=ns32k-sequent 44433965Sjdp os=-dynix 44533965Sjdp ;; 44692828Sobrien c90) 44792828Sobrien basic_machine=c90-cray 44892828Sobrien os=-unicos 44992828Sobrien ;; 45033965Sjdp convex-c1) 45133965Sjdp basic_machine=c1-convex 45233965Sjdp os=-bsd 45333965Sjdp ;; 45433965Sjdp convex-c2) 45533965Sjdp basic_machine=c2-convex 45633965Sjdp os=-bsd 45733965Sjdp ;; 45833965Sjdp convex-c32) 45933965Sjdp basic_machine=c32-convex 46033965Sjdp os=-bsd 46133965Sjdp ;; 46233965Sjdp convex-c34) 46333965Sjdp basic_machine=c34-convex 46433965Sjdp os=-bsd 46533965Sjdp ;; 46633965Sjdp convex-c38) 46733965Sjdp basic_machine=c38-convex 46833965Sjdp os=-bsd 46933965Sjdp ;; 47092828Sobrien cray | j90) 47192828Sobrien basic_machine=j90-cray 47233965Sjdp os=-unicos 47333965Sjdp ;; 474218822Sdim craynv) 475218822Sdim basic_machine=craynv-cray 476218822Sdim os=-unicosmp 477218822Sdim ;; 478130561Sobrien cr16c) 479130561Sobrien basic_machine=cr16c-unknown 480130561Sobrien os=-elf 481130561Sobrien ;; 48233965Sjdp crds | unos) 48333965Sjdp basic_machine=m68k-crds 48433965Sjdp ;; 485218822Sdim crisv32 | crisv32-* | etraxfs*) 486218822Sdim basic_machine=crisv32-axis 487218822Sdim ;; 48868765Sobrien cris | cris-* | etrax*) 48968765Sobrien basic_machine=cris-axis 49068765Sobrien ;; 491218822Sdim crx) 492218822Sdim basic_machine=crx-unknown 493218822Sdim os=-elf 494218822Sdim ;; 49533965Sjdp da30 | da30-*) 49633965Sjdp basic_machine=m68k-da30 49733965Sjdp ;; 49833965Sjdp decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) 49933965Sjdp basic_machine=mips-dec 50033965Sjdp ;; 50189857Sobrien decsystem10* | dec10*) 50289857Sobrien basic_machine=pdp10-dec 50389857Sobrien os=-tops10 50489857Sobrien ;; 50589857Sobrien decsystem20* | dec20*) 50689857Sobrien basic_machine=pdp10-dec 50789857Sobrien os=-tops20 50889857Sobrien ;; 50933965Sjdp delta | 3300 | motorola-3300 | motorola-delta \ 51033965Sjdp | 3300-motorola | delta-motorola) 51133965Sjdp basic_machine=m68k-motorola 51233965Sjdp ;; 51333965Sjdp delta88) 51433965Sjdp basic_machine=m88k-motorola 51533965Sjdp os=-sysv3 51633965Sjdp ;; 517218822Sdim djgpp) 518218822Sdim basic_machine=i586-pc 519218822Sdim os=-msdosdjgpp 520218822Sdim ;; 52133965Sjdp dpx20 | dpx20-*) 52233965Sjdp basic_machine=rs6000-bull 52333965Sjdp os=-bosx 52433965Sjdp ;; 52533965Sjdp dpx2* | dpx2*-bull) 52633965Sjdp basic_machine=m68k-bull 52733965Sjdp os=-sysv3 52833965Sjdp ;; 52933965Sjdp ebmon29k) 53033965Sjdp basic_machine=a29k-amd 53133965Sjdp os=-ebmon 53233965Sjdp ;; 53333965Sjdp elxsi) 53433965Sjdp basic_machine=elxsi-elxsi 53533965Sjdp os=-bsd 53633965Sjdp ;; 53733965Sjdp encore | umax | mmax) 53833965Sjdp basic_machine=ns32k-encore 53933965Sjdp ;; 54060484Sobrien es1800 | OSE68k | ose68k | ose | OSE) 54133965Sjdp basic_machine=m68k-ericsson 54233965Sjdp os=-ose 54333965Sjdp ;; 54433965Sjdp fx2800) 54533965Sjdp basic_machine=i860-alliant 54633965Sjdp ;; 54733965Sjdp genix) 54833965Sjdp basic_machine=ns32k-ns 54933965Sjdp ;; 55033965Sjdp gmicro) 55133965Sjdp basic_machine=tron-gmicro 55233965Sjdp os=-sysv 55333965Sjdp ;; 55477298Sobrien go32) 55577298Sobrien basic_machine=i386-pc 55677298Sobrien os=-go32 55777298Sobrien ;; 55833965Sjdp h3050r* | hiux*) 55933965Sjdp basic_machine=hppa1.1-hitachi 56033965Sjdp os=-hiuxwe2 56133965Sjdp ;; 56233965Sjdp h8300hms) 56333965Sjdp basic_machine=h8300-hitachi 56433965Sjdp os=-hms 56533965Sjdp ;; 56660484Sobrien h8300xray) 56733965Sjdp basic_machine=h8300-hitachi 56833965Sjdp os=-xray 56933965Sjdp ;; 57060484Sobrien h8500hms) 57133965Sjdp basic_machine=h8500-hitachi 57233965Sjdp os=-hms 57333965Sjdp ;; 57433965Sjdp harris) 57533965Sjdp basic_machine=m88k-harris 57633965Sjdp os=-sysv3 57733965Sjdp ;; 57833965Sjdp hp300-*) 57933965Sjdp basic_machine=m68k-hp 58033965Sjdp ;; 58133965Sjdp hp300bsd) 58233965Sjdp basic_machine=m68k-hp 58333965Sjdp os=-bsd 58433965Sjdp ;; 58533965Sjdp hp300hpux) 58633965Sjdp basic_machine=m68k-hp 58733965Sjdp os=-hpux 58833965Sjdp ;; 58960484Sobrien hp3k9[0-9][0-9] | hp9[0-9][0-9]) 59060484Sobrien basic_machine=hppa1.0-hp 59160484Sobrien ;; 59233965Sjdp hp9k2[0-9][0-9] | hp9k31[0-9]) 59333965Sjdp basic_machine=m68000-hp 59433965Sjdp ;; 59533965Sjdp hp9k3[2-9][0-9]) 59633965Sjdp basic_machine=m68k-hp 59733965Sjdp ;; 59860484Sobrien hp9k6[0-9][0-9] | hp6[0-9][0-9]) 59938889Sjdp basic_machine=hppa1.0-hp 60038889Sjdp ;; 60160484Sobrien hp9k7[0-79][0-9] | hp7[0-79][0-9]) 60233965Sjdp basic_machine=hppa1.1-hp 60333965Sjdp ;; 60460484Sobrien hp9k78[0-9] | hp78[0-9]) 60538889Sjdp # FIXME: really hppa2.0-hp 60638889Sjdp basic_machine=hppa1.1-hp 60738889Sjdp ;; 60860484Sobrien hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) 60938889Sjdp # FIXME: really hppa2.0-hp 61038889Sjdp basic_machine=hppa1.1-hp 61138889Sjdp ;; 61260484Sobrien hp9k8[0-9][13679] | hp8[0-9][13679]) 61338889Sjdp basic_machine=hppa1.1-hp 61438889Sjdp ;; 61533965Sjdp hp9k8[0-9][0-9] | hp8[0-9][0-9]) 61633965Sjdp basic_machine=hppa1.0-hp 61733965Sjdp ;; 61833965Sjdp hppa-next) 61933965Sjdp os=-nextstep3 62033965Sjdp ;; 62160484Sobrien hppaosf) 62233965Sjdp basic_machine=hppa1.1-hp 62333965Sjdp os=-osf 62433965Sjdp ;; 62560484Sobrien hppro) 62660484Sobrien basic_machine=hppa1.1-hp 62760484Sobrien os=-proelf 62860484Sobrien ;; 62933965Sjdp i370-ibm* | ibm*) 63033965Sjdp basic_machine=i370-ibm 63133965Sjdp ;; 63233965Sjdp# I'm not sure what "Sysv32" means. Should this be sysv3.2? 63389857Sobrien i*86v32) 63433965Sjdp basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 63533965Sjdp os=-sysv32 63633965Sjdp ;; 63789857Sobrien i*86v4*) 63833965Sjdp basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 63933965Sjdp os=-sysv4 64033965Sjdp ;; 64189857Sobrien i*86v) 64233965Sjdp basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 64333965Sjdp os=-sysv 64433965Sjdp ;; 64589857Sobrien i*86sol2) 64633965Sjdp basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 64733965Sjdp os=-solaris2 64833965Sjdp ;; 64960484Sobrien i386mach) 65033965Sjdp basic_machine=i386-mach 65133965Sjdp os=-mach 65233965Sjdp ;; 65360484Sobrien i386-vsta | vsta) 65433965Sjdp basic_machine=i386-unknown 65533965Sjdp os=-vsta 65633965Sjdp ;; 65733965Sjdp iris | iris4d) 65833965Sjdp basic_machine=mips-sgi 65933965Sjdp case $os in 66033965Sjdp -irix*) 66133965Sjdp ;; 66233965Sjdp *) 66333965Sjdp os=-irix4 66433965Sjdp ;; 66533965Sjdp esac 66633965Sjdp ;; 66733965Sjdp isi68 | isi) 66833965Sjdp basic_machine=m68k-isi 66933965Sjdp os=-sysv 67033965Sjdp ;; 67133965Sjdp m88k-omron*) 67233965Sjdp basic_machine=m88k-omron 67333965Sjdp ;; 67433965Sjdp magnum | m3230) 67533965Sjdp basic_machine=mips-mips 67633965Sjdp os=-sysv 67733965Sjdp ;; 67833965Sjdp merlin) 67933965Sjdp basic_machine=ns32k-utek 68033965Sjdp os=-sysv 68133965Sjdp ;; 68277298Sobrien mingw32) 68377298Sobrien basic_machine=i386-pc 68477298Sobrien os=-mingw32 68577298Sobrien ;; 686218822Sdim mingw32ce) 687218822Sdim basic_machine=arm-unknown 688218822Sdim os=-mingw32ce 689218822Sdim ;; 69033965Sjdp miniframe) 69133965Sjdp basic_machine=m68000-convergent 69233965Sjdp ;; 69360484Sobrien *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) 69460484Sobrien basic_machine=m68k-atari 69560484Sobrien os=-mint 69660484Sobrien ;; 69733965Sjdp mips3*-*) 69833965Sjdp basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` 69933965Sjdp ;; 70033965Sjdp mips3*) 70133965Sjdp basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 70233965Sjdp ;; 70360484Sobrien monitor) 70433965Sjdp basic_machine=m68k-rom68k 70533965Sjdp os=-coff 70633965Sjdp ;; 70789857Sobrien morphos) 70889857Sobrien basic_machine=powerpc-unknown 70989857Sobrien os=-morphos 71089857Sobrien ;; 71160484Sobrien msdos) 71277298Sobrien basic_machine=i386-pc 71333965Sjdp os=-msdos 71433965Sjdp ;; 715218822Sdim ms1-*) 716218822Sdim basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 717218822Sdim ;; 71860484Sobrien mvs) 71960484Sobrien basic_machine=i370-ibm 72060484Sobrien os=-mvs 72160484Sobrien ;; 72233965Sjdp ncr3000) 72333965Sjdp basic_machine=i486-ncr 72433965Sjdp os=-sysv4 72533965Sjdp ;; 72633965Sjdp netbsd386) 72760484Sobrien basic_machine=i386-unknown 72833965Sjdp os=-netbsd 72933965Sjdp ;; 73060484Sobrien netwinder) 73160484Sobrien basic_machine=armv4l-rebel 73260484Sobrien os=-linux 73360484Sobrien ;; 73433965Sjdp news | news700 | news800 | news900) 73533965Sjdp basic_machine=m68k-sony 73633965Sjdp os=-newsos 73733965Sjdp ;; 73833965Sjdp news1000) 73933965Sjdp basic_machine=m68030-sony 74033965Sjdp os=-newsos 74133965Sjdp ;; 74233965Sjdp news-3600 | risc-news) 74333965Sjdp basic_machine=mips-sony 74433965Sjdp os=-newsos 74533965Sjdp ;; 74660484Sobrien necv70) 74733965Sjdp basic_machine=v70-nec 74833965Sjdp os=-sysv 74933965Sjdp ;; 75033965Sjdp next | m*-next ) 75133965Sjdp basic_machine=m68k-next 75233965Sjdp case $os in 75333965Sjdp -nextstep* ) 75433965Sjdp ;; 75533965Sjdp -ns2*) 75633965Sjdp os=-nextstep2 75733965Sjdp ;; 75833965Sjdp *) 75933965Sjdp os=-nextstep3 76033965Sjdp ;; 76133965Sjdp esac 76233965Sjdp ;; 76333965Sjdp nh3000) 76433965Sjdp basic_machine=m68k-harris 76533965Sjdp os=-cxux 76633965Sjdp ;; 76733965Sjdp nh[45]000) 76833965Sjdp basic_machine=m88k-harris 76933965Sjdp os=-cxux 77033965Sjdp ;; 77133965Sjdp nindy960) 77233965Sjdp basic_machine=i960-intel 77333965Sjdp os=-nindy 77433965Sjdp ;; 77560484Sobrien mon960) 77633965Sjdp basic_machine=i960-intel 77733965Sjdp os=-mon960 77833965Sjdp ;; 77977298Sobrien nonstopux) 78077298Sobrien basic_machine=mips-compaq 78177298Sobrien os=-nonstopux 78277298Sobrien ;; 78333965Sjdp np1) 78433965Sjdp basic_machine=np1-gould 78533965Sjdp ;; 78668765Sobrien nsr-tandem) 78768765Sobrien basic_machine=nsr-tandem 78868765Sobrien ;; 78960484Sobrien op50n-* | op60c-*) 79060484Sobrien basic_machine=hppa1.1-oki 79160484Sobrien os=-proelf 79260484Sobrien ;; 793218822Sdim openrisc | openrisc-*) 79491041Sobrien basic_machine=or32-unknown 79591041Sobrien ;; 796130561Sobrien os400) 797130561Sobrien basic_machine=powerpc-ibm 798130561Sobrien os=-os400 799130561Sobrien ;; 80060484Sobrien OSE68000 | ose68000) 80133965Sjdp basic_machine=m68000-ericsson 80233965Sjdp os=-ose 80333965Sjdp ;; 80460484Sobrien os68k) 80533965Sjdp basic_machine=m68k-none 80633965Sjdp os=-os68k 80733965Sjdp ;; 80833965Sjdp pa-hitachi) 80933965Sjdp basic_machine=hppa1.1-hitachi 81033965Sjdp os=-hiuxwe2 81133965Sjdp ;; 81233965Sjdp paragon) 81333965Sjdp basic_machine=i860-intel 81433965Sjdp os=-osf 81533965Sjdp ;; 81633965Sjdp pbd) 81733965Sjdp basic_machine=sparc-tti 81833965Sjdp ;; 81933965Sjdp pbb) 82033965Sjdp basic_machine=m68k-tti 82133965Sjdp ;; 822130561Sobrien pc532 | pc532-*) 82333965Sjdp basic_machine=ns32k-pc532 82433965Sjdp ;; 825218822Sdim pc98) 826218822Sdim basic_machine=i386-pc 827218822Sdim ;; 828218822Sdim pc98-*) 829218822Sdim basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` 830218822Sdim ;; 83189857Sobrien pentium | p5 | k5 | k6 | nexgen | viac3) 83260484Sobrien basic_machine=i586-pc 83333965Sjdp ;; 834130561Sobrien pentiumpro | p6 | 6x86 | athlon | athlon_*) 83560484Sobrien basic_machine=i686-pc 83633965Sjdp ;; 837130561Sobrien pentiumii | pentium2 | pentiumiii | pentium3) 83877298Sobrien basic_machine=i686-pc 83960484Sobrien ;; 840130561Sobrien pentium4) 841130561Sobrien basic_machine=i786-pc 842130561Sobrien ;; 84389857Sobrien pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) 84433965Sjdp basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 84533965Sjdp ;; 84668765Sobrien pentiumpro-* | p6-* | 6x86-* | athlon-*) 84733965Sjdp basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 84833965Sjdp ;; 849130561Sobrien pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) 85077298Sobrien basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 85133965Sjdp ;; 852130561Sobrien pentium4-*) 853130561Sobrien basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` 854130561Sobrien ;; 85533965Sjdp pn) 85633965Sjdp basic_machine=pn-gould 85733965Sjdp ;; 85877298Sobrien power) basic_machine=power-ibm 85933965Sjdp ;; 86033965Sjdp ppc) basic_machine=powerpc-unknown 861130561Sobrien ;; 86233965Sjdp ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 86333965Sjdp ;; 86433965Sjdp ppcle | powerpclittle | ppc-le | powerpc-little) 86533965Sjdp basic_machine=powerpcle-unknown 866130561Sobrien ;; 86733965Sjdp ppcle-* | powerpclittle-*) 86833965Sjdp basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` 86933965Sjdp ;; 87089857Sobrien ppc64) basic_machine=powerpc64-unknown 871130561Sobrien ;; 87289857Sobrien ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` 87389857Sobrien ;; 87489857Sobrien ppc64le | powerpc64little | ppc64-le | powerpc64-little) 87589857Sobrien basic_machine=powerpc64le-unknown 876130561Sobrien ;; 87789857Sobrien ppc64le-* | powerpc64little-*) 87889857Sobrien basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` 87989857Sobrien ;; 88033965Sjdp ps2) 88133965Sjdp basic_machine=i386-ibm 88233965Sjdp ;; 88377298Sobrien pw32) 88477298Sobrien basic_machine=i586-unknown 88577298Sobrien os=-pw32 88677298Sobrien ;; 887218822Sdim rdos) 888218822Sdim basic_machine=i386-pc 889218822Sdim os=-rdos 890218822Sdim ;; 89160484Sobrien rom68k) 89233965Sjdp basic_machine=m68k-rom68k 89333965Sjdp os=-coff 89433965Sjdp ;; 89533965Sjdp rm[46]00) 89633965Sjdp basic_machine=mips-siemens 89733965Sjdp ;; 89833965Sjdp rtpc | rtpc-*) 89933965Sjdp basic_machine=romp-ibm 90033965Sjdp ;; 90189857Sobrien s390 | s390-*) 90289857Sobrien basic_machine=s390-ibm 90389857Sobrien ;; 90489857Sobrien s390x | s390x-*) 90589857Sobrien basic_machine=s390x-ibm 90689857Sobrien ;; 90760484Sobrien sa29200) 90833965Sjdp basic_machine=a29k-amd 90933965Sjdp os=-udi 91033965Sjdp ;; 911130561Sobrien sb1) 912130561Sobrien basic_machine=mipsisa64sb1-unknown 913130561Sobrien ;; 914130561Sobrien sb1el) 915130561Sobrien basic_machine=mipsisa64sb1el-unknown 916130561Sobrien ;; 917218822Sdim sde) 918218822Sdim basic_machine=mipsisa32-sde 919218822Sdim os=-elf 920218822Sdim ;; 921130561Sobrien sei) 922130561Sobrien basic_machine=mips-sei 923130561Sobrien os=-seiux 924130561Sobrien ;; 92533965Sjdp sequent) 92633965Sjdp basic_machine=i386-sequent 92733965Sjdp ;; 92833965Sjdp sh) 92933965Sjdp basic_machine=sh-hitachi 93033965Sjdp os=-hms 93133965Sjdp ;; 932218822Sdim sh5el) 933218822Sdim basic_machine=sh5le-unknown 934218822Sdim ;; 935130561Sobrien sh64) 936130561Sobrien basic_machine=sh64-unknown 937130561Sobrien ;; 93889857Sobrien sparclite-wrs | simso-wrs) 93933965Sjdp basic_machine=sparclite-wrs 94033965Sjdp os=-vxworks 94133965Sjdp ;; 94233965Sjdp sps7) 94333965Sjdp basic_machine=m68k-bull 94433965Sjdp os=-sysv2 94533965Sjdp ;; 94633965Sjdp spur) 94733965Sjdp basic_machine=spur-unknown 94833965Sjdp ;; 94960484Sobrien st2000) 95033965Sjdp basic_machine=m68k-tandem 95133965Sjdp ;; 95260484Sobrien stratus) 95333965Sjdp basic_machine=i860-stratus 95433965Sjdp os=-sysv4 95533965Sjdp ;; 95633965Sjdp sun2) 95733965Sjdp basic_machine=m68000-sun 95833965Sjdp ;; 95933965Sjdp sun2os3) 96033965Sjdp basic_machine=m68000-sun 96133965Sjdp os=-sunos3 96233965Sjdp ;; 96333965Sjdp sun2os4) 96433965Sjdp basic_machine=m68000-sun 96533965Sjdp os=-sunos4 96633965Sjdp ;; 96733965Sjdp sun3os3) 96833965Sjdp basic_machine=m68k-sun 96933965Sjdp os=-sunos3 97033965Sjdp ;; 97133965Sjdp sun3os4) 97233965Sjdp basic_machine=m68k-sun 97333965Sjdp os=-sunos4 97433965Sjdp ;; 97533965Sjdp sun4os3) 97633965Sjdp basic_machine=sparc-sun 97733965Sjdp os=-sunos3 97833965Sjdp ;; 97933965Sjdp sun4os4) 98033965Sjdp basic_machine=sparc-sun 98133965Sjdp os=-sunos4 98233965Sjdp ;; 98333965Sjdp sun4sol2) 98433965Sjdp basic_machine=sparc-sun 98533965Sjdp os=-solaris2 98633965Sjdp ;; 98733965Sjdp sun3 | sun3-*) 98833965Sjdp basic_machine=m68k-sun 98933965Sjdp ;; 99033965Sjdp sun4) 99133965Sjdp basic_machine=sparc-sun 99233965Sjdp ;; 99333965Sjdp sun386 | sun386i | roadrunner) 99433965Sjdp basic_machine=i386-sun 99533965Sjdp ;; 996130561Sobrien sv1) 99760484Sobrien basic_machine=sv1-cray 99860484Sobrien os=-unicos 99960484Sobrien ;; 100033965Sjdp symmetry) 100133965Sjdp basic_machine=i386-sequent 100233965Sjdp os=-dynix 100333965Sjdp ;; 100460484Sobrien t3e) 100592828Sobrien basic_machine=alphaev5-cray 100660484Sobrien os=-unicos 100760484Sobrien ;; 100892828Sobrien t90) 100992828Sobrien basic_machine=t90-cray 101092828Sobrien os=-unicos 101192828Sobrien ;; 101268765Sobrien tic54x | c54x*) 101368765Sobrien basic_machine=tic54x-unknown 101468765Sobrien os=-coff 101568765Sobrien ;; 1016130561Sobrien tic55x | c55x*) 1017130561Sobrien basic_machine=tic55x-unknown 1018130561Sobrien os=-coff 1019130561Sobrien ;; 1020130561Sobrien tic6x | c6x*) 1021130561Sobrien basic_machine=tic6x-unknown 1022130561Sobrien os=-coff 1023130561Sobrien ;; 102438889Sjdp tx39) 102538889Sjdp basic_machine=mipstx39-unknown 102638889Sjdp ;; 102738889Sjdp tx39el) 102838889Sjdp basic_machine=mipstx39el-unknown 102938889Sjdp ;; 103089857Sobrien toad1) 103189857Sobrien basic_machine=pdp10-xkl 103289857Sobrien os=-tops20 103389857Sobrien ;; 103433965Sjdp tower | tower-32) 103533965Sjdp basic_machine=m68k-ncr 103633965Sjdp ;; 1037130561Sobrien tpf) 1038130561Sobrien basic_machine=s390x-ibm 1039130561Sobrien os=-tpf 1040130561Sobrien ;; 104133965Sjdp udi29k) 104233965Sjdp basic_machine=a29k-amd 104333965Sjdp os=-udi 104433965Sjdp ;; 104533965Sjdp ultra3) 104633965Sjdp basic_machine=a29k-nyu 104733965Sjdp os=-sym1 104833965Sjdp ;; 104960484Sobrien v810 | necv810) 105033965Sjdp basic_machine=v810-nec 105133965Sjdp os=-none 105233965Sjdp ;; 105333965Sjdp vaxv) 105433965Sjdp basic_machine=vax-dec 105533965Sjdp os=-sysv 105633965Sjdp ;; 105733965Sjdp vms) 105833965Sjdp basic_machine=vax-dec 105933965Sjdp os=-vms 106033965Sjdp ;; 106138889Sjdp vpp*|vx|vx-*) 1062130561Sobrien basic_machine=f301-fujitsu 1063130561Sobrien ;; 106433965Sjdp vxworks960) 106533965Sjdp basic_machine=i960-wrs 106633965Sjdp os=-vxworks 106733965Sjdp ;; 106833965Sjdp vxworks68) 106933965Sjdp basic_machine=m68k-wrs 107033965Sjdp os=-vxworks 107133965Sjdp ;; 107233965Sjdp vxworks29k) 107333965Sjdp basic_machine=a29k-wrs 107433965Sjdp os=-vxworks 107533965Sjdp ;; 107660484Sobrien w65*) 107760484Sobrien basic_machine=w65-wdc 107860484Sobrien os=-none 107933965Sjdp ;; 108060484Sobrien w89k-*) 108160484Sobrien basic_machine=hppa1.1-winbond 108260484Sobrien os=-proelf 108360484Sobrien ;; 1084218822Sdim xbox) 1085218822Sdim basic_machine=i686-pc 1086218822Sdim os=-mingw32 1087218822Sdim ;; 1088130561Sobrien xps | xps100) 108933965Sjdp basic_machine=xps100-honeywell 109033965Sjdp ;; 109192828Sobrien ymp) 109292828Sobrien basic_machine=ymp-cray 109392828Sobrien os=-unicos 109492828Sobrien ;; 109560484Sobrien z8k-*-coff) 109633965Sjdp basic_machine=z8k-unknown 109733965Sjdp os=-sim 109833965Sjdp ;; 109933965Sjdp none) 110033965Sjdp basic_machine=none-none 110133965Sjdp os=-none 110233965Sjdp ;; 110333965Sjdp 110433965Sjdp# Here we handle the default manufacturer of certain CPU types. It is in 110533965Sjdp# some cases the only manufacturer, in others, it is the most popular. 110660484Sobrien w89k) 110733965Sjdp basic_machine=hppa1.1-winbond 110833965Sjdp ;; 110960484Sobrien op50n) 111033965Sjdp basic_machine=hppa1.1-oki 111133965Sjdp ;; 111260484Sobrien op60c) 111333965Sjdp basic_machine=hppa1.1-oki 111433965Sjdp ;; 111533965Sjdp romp) 111633965Sjdp basic_machine=romp-ibm 111733965Sjdp ;; 1118218822Sdim mmix) 1119218822Sdim basic_machine=mmix-knuth 1120218822Sdim ;; 112133965Sjdp rs6000) 112233965Sjdp basic_machine=rs6000-ibm 112333965Sjdp ;; 112433965Sjdp vax) 112533965Sjdp basic_machine=vax-dec 112633965Sjdp ;; 112777298Sobrien pdp10) 112877298Sobrien # there are many clones, so DEC is not a safe bet 112977298Sobrien basic_machine=pdp10-unknown 113077298Sobrien ;; 113133965Sjdp pdp11) 113233965Sjdp basic_machine=pdp11-dec 113333965Sjdp ;; 113433965Sjdp we32k) 113533965Sjdp basic_machine=we32k-att 113633965Sjdp ;; 1137218822Sdim sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) 113877298Sobrien basic_machine=sh-unknown 113968765Sobrien ;; 1140218822Sdim sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) 114133965Sjdp basic_machine=sparc-sun 114233965Sjdp ;; 1143130561Sobrien cydra) 114433965Sjdp basic_machine=cydra-cydrome 114533965Sjdp ;; 114633965Sjdp orion) 114733965Sjdp basic_machine=orion-highlevel 114833965Sjdp ;; 114933965Sjdp orion105) 115033965Sjdp basic_machine=clipper-highlevel 115133965Sjdp ;; 115260484Sobrien mac | mpw | mac-mpw) 115333965Sjdp basic_machine=m68k-apple 115433965Sjdp ;; 115560484Sobrien pmac | pmac-mpw) 115633965Sjdp basic_machine=powerpc-apple 115733965Sjdp ;; 115889857Sobrien *-unknown) 115989857Sobrien # Make sure to match an already-canonicalized machine name. 116089857Sobrien ;; 116133965Sjdp *) 116233965Sjdp echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 116333965Sjdp exit 1 116433965Sjdp ;; 116533965Sjdpesac 116633965Sjdp 116733965Sjdp# Here we canonicalize certain aliases for manufacturers. 116833965Sjdpcase $basic_machine in 116933965Sjdp *-digital*) 117033965Sjdp basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` 117133965Sjdp ;; 117233965Sjdp *-commodore*) 117333965Sjdp basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` 117433965Sjdp ;; 117533965Sjdp *) 117633965Sjdp ;; 117733965Sjdpesac 117833965Sjdp 117933965Sjdp# Decode manufacturer-specific aliases for certain operating systems. 118033965Sjdp 118133965Sjdpif [ x"$os" != x"" ] 118233965Sjdpthen 118333965Sjdpcase $os in 118433965Sjdp # First match some system type aliases 118533965Sjdp # that might get confused with valid system types. 118633965Sjdp # -solaris* is a basic system type, with this one exception. 118733965Sjdp -solaris1 | -solaris1.*) 118833965Sjdp os=`echo $os | sed -e 's|solaris1|sunos4|'` 118933965Sjdp ;; 119033965Sjdp -solaris) 119133965Sjdp os=-solaris2 119233965Sjdp ;; 119360484Sobrien -svr4*) 119433965Sjdp os=-sysv4 119533965Sjdp ;; 119660484Sobrien -unixware*) 119760484Sobrien os=-sysv4.2uw 119860484Sobrien ;; 119933965Sjdp -gnu/linux*) 120033965Sjdp os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` 120133965Sjdp ;; 120233965Sjdp # First accept the basic system types. 120333965Sjdp # The portable systems comes first. 120433965Sjdp # Each alternative MUST END IN A *, to match a version number. 120533965Sjdp # -sysv* is not here because it comes later, after sysvr4. 120633965Sjdp -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 120733965Sjdp | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ 120833965Sjdp | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 120960484Sobrien | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 121060484Sobrien | -aos* \ 121133965Sjdp | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 121233965Sjdp | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1213218822Sdim | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1214218822Sdim | -openbsd* | -solidbsd* \ 1215130561Sobrien | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1216130561Sobrien | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 121733965Sjdp | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 121833965Sjdp | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 121989857Sobrien | -chorusos* | -chorusrdb* \ 122060484Sobrien | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1221218822Sdim | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 1222218822Sdim | -uxpv* | -beos* | -mpeix* | -udk* \ 1223130561Sobrien | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 122477298Sobrien | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 122589857Sobrien | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 122692828Sobrien | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1227130561Sobrien | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1228218822Sdim | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1229218822Sdim | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 123033965Sjdp # Remember, each alternative MUST END IN *, to match a version number. 123133965Sjdp ;; 123268765Sobrien -qnx*) 123368765Sobrien case $basic_machine in 123489857Sobrien x86-* | i*86-*) 123568765Sobrien ;; 123668765Sobrien *) 123768765Sobrien os=-nto$os 123868765Sobrien ;; 123968765Sobrien esac 124068765Sobrien ;; 1241130561Sobrien -nto-qnx*) 1242130561Sobrien ;; 124368765Sobrien -nto*) 1244130561Sobrien os=`echo $os | sed -e 's|nto|nto-qnx|'` 124568765Sobrien ;; 124633965Sjdp -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 1247218822Sdim | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ 124860484Sobrien | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) 124933965Sjdp ;; 125033965Sjdp -mac*) 125133965Sjdp os=`echo $os | sed -e 's|mac|macos|'` 125233965Sjdp ;; 1253130561Sobrien -linux-dietlibc) 1254130561Sobrien os=-linux-dietlibc 1255130561Sobrien ;; 125633965Sjdp -linux*) 125733965Sjdp os=`echo $os | sed -e 's|linux|linux-gnu|'` 125833965Sjdp ;; 125933965Sjdp -sunos5*) 126033965Sjdp os=`echo $os | sed -e 's|sunos5|solaris2|'` 126133965Sjdp ;; 126233965Sjdp -sunos6*) 126333965Sjdp os=`echo $os | sed -e 's|sunos6|solaris3|'` 126433965Sjdp ;; 126560484Sobrien -opened*) 126660484Sobrien os=-openedition 126760484Sobrien ;; 1268130561Sobrien -os400*) 1269130561Sobrien os=-os400 1270130561Sobrien ;; 127160484Sobrien -wince*) 127260484Sobrien os=-wince 127360484Sobrien ;; 127433965Sjdp -osfrose*) 127533965Sjdp os=-osfrose 127633965Sjdp ;; 127733965Sjdp -osf*) 127833965Sjdp os=-osf 127933965Sjdp ;; 128033965Sjdp -utek*) 128133965Sjdp os=-bsd 128233965Sjdp ;; 128333965Sjdp -dynix*) 128433965Sjdp os=-bsd 128533965Sjdp ;; 128633965Sjdp -acis*) 128733965Sjdp os=-aos 128833965Sjdp ;; 128989857Sobrien -atheos*) 129089857Sobrien os=-atheos 129189857Sobrien ;; 1292130561Sobrien -syllable*) 1293130561Sobrien os=-syllable 1294130561Sobrien ;; 129560484Sobrien -386bsd) 129633965Sjdp os=-bsd 129733965Sjdp ;; 129833965Sjdp -ctix* | -uts*) 129933965Sjdp os=-sysv 130033965Sjdp ;; 130192828Sobrien -nova*) 130292828Sobrien os=-rtmk-nova 130392828Sobrien ;; 130433965Sjdp -ns2 ) 1305130561Sobrien os=-nextstep2 130633965Sjdp ;; 130768765Sobrien -nsk*) 130868765Sobrien os=-nsk 130968765Sobrien ;; 131033965Sjdp # Preserve the version number of sinix5. 131133965Sjdp -sinix5.*) 131233965Sjdp os=`echo $os | sed -e 's|sinix|sysv|'` 131333965Sjdp ;; 131433965Sjdp -sinix*) 131533965Sjdp os=-sysv4 131633965Sjdp ;; 1317130561Sobrien -tpf*) 1318130561Sobrien os=-tpf 1319130561Sobrien ;; 132033965Sjdp -triton*) 132133965Sjdp os=-sysv3 132233965Sjdp ;; 132333965Sjdp -oss*) 132433965Sjdp os=-sysv3 132533965Sjdp ;; 132633965Sjdp -svr4) 132733965Sjdp os=-sysv4 132833965Sjdp ;; 132933965Sjdp -svr3) 133033965Sjdp os=-sysv3 133133965Sjdp ;; 133233965Sjdp -sysvr4) 133333965Sjdp os=-sysv4 133433965Sjdp ;; 133533965Sjdp # This must come after -sysvr4. 133633965Sjdp -sysv*) 133733965Sjdp ;; 133860484Sobrien -ose*) 133933965Sjdp os=-ose 134033965Sjdp ;; 134160484Sobrien -es1800*) 134233965Sjdp os=-ose 134333965Sjdp ;; 134433965Sjdp -xenix) 134533965Sjdp os=-xenix 134633965Sjdp ;; 1347130561Sobrien -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1348130561Sobrien os=-mint 134960484Sobrien ;; 1350130561Sobrien -aros*) 1351130561Sobrien os=-aros 1352130561Sobrien ;; 1353130561Sobrien -kaos*) 1354130561Sobrien os=-kaos 1355130561Sobrien ;; 1356218822Sdim -zvmoe) 1357218822Sdim os=-zvmoe 1358218822Sdim ;; 135933965Sjdp -none) 136033965Sjdp ;; 136133965Sjdp *) 136233965Sjdp # Get rid of the `-' at the beginning of $os. 136333965Sjdp os=`echo $os | sed 's/[^-]*-//'` 136433965Sjdp echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 136533965Sjdp exit 1 136633965Sjdp ;; 136733965Sjdpesac 136833965Sjdpelse 136933965Sjdp 137033965Sjdp# Here we handle the default operating systems that come with various machines. 137133965Sjdp# The value should be what the vendor currently ships out the door with their 137233965Sjdp# machine or put another way, the most popular os provided with the machine. 137333965Sjdp 137433965Sjdp# Note that if you're going to try to match "-MANUFACTURER" here (say, 137533965Sjdp# "-sun"), then you have to tell the case statement up towards the top 137633965Sjdp# that MANUFACTURER isn't an operating system. Otherwise, code above 137733965Sjdp# will signal an error saying that MANUFACTURER isn't an operating 137833965Sjdp# system, and we'll never get to this point. 137933965Sjdp 138033965Sjdpcase $basic_machine in 1381218822Sdim score-*) 1382218822Sdim os=-elf 1383218822Sdim ;; 1384218822Sdim spu-*) 1385218822Sdim os=-elf 1386218822Sdim ;; 138733965Sjdp *-acorn) 138833965Sjdp os=-riscix1.2 138933965Sjdp ;; 139060484Sobrien arm*-rebel) 139160484Sobrien os=-linux 139260484Sobrien ;; 139333965Sjdp arm*-semi) 139433965Sjdp os=-aout 139533965Sjdp ;; 1396218822Sdim c4x-* | tic4x-*) 1397218822Sdim os=-coff 1398218822Sdim ;; 139989857Sobrien # This must come before the *-dec entry. 140077298Sobrien pdp10-*) 140177298Sobrien os=-tops20 140277298Sobrien ;; 1403130561Sobrien pdp11-*) 140433965Sjdp os=-none 140533965Sjdp ;; 140633965Sjdp *-dec | vax-*) 140733965Sjdp os=-ultrix4.2 140833965Sjdp ;; 140933965Sjdp m68*-apollo) 141033965Sjdp os=-domain 141133965Sjdp ;; 141233965Sjdp i386-sun) 141333965Sjdp os=-sunos4.0.2 141433965Sjdp ;; 141533965Sjdp m68000-sun) 141633965Sjdp os=-sunos3 141733965Sjdp # This also exists in the configure program, but was not the 141833965Sjdp # default. 141933965Sjdp # os=-sunos4 142033965Sjdp ;; 142160484Sobrien m68*-cisco) 142233965Sjdp os=-aout 142333965Sjdp ;; 1424218822Sdim mep-*) 1425218822Sdim os=-elf 1426218822Sdim ;; 142760484Sobrien mips*-cisco) 142833965Sjdp os=-elf 142933965Sjdp ;; 143060484Sobrien mips*-*) 143160484Sobrien os=-elf 143260484Sobrien ;; 143391041Sobrien or32-*) 143491041Sobrien os=-coff 143591041Sobrien ;; 143633965Sjdp *-tti) # must be before sparc entry or we get the wrong os. 143733965Sjdp os=-sysv3 143833965Sjdp ;; 143933965Sjdp sparc-* | *-sun) 144033965Sjdp os=-sunos4.1.1 144133965Sjdp ;; 144260484Sobrien *-be) 144333965Sjdp os=-beos 144433965Sjdp ;; 1445218822Sdim *-haiku) 1446218822Sdim os=-haiku 1447218822Sdim ;; 144833965Sjdp *-ibm) 144933965Sjdp os=-aix 145033965Sjdp ;; 1451218822Sdim *-knuth) 1452218822Sdim os=-mmixware 1453218822Sdim ;; 145460484Sobrien *-wec) 145533965Sjdp os=-proelf 145633965Sjdp ;; 145760484Sobrien *-winbond) 145833965Sjdp os=-proelf 145933965Sjdp ;; 146060484Sobrien *-oki) 146133965Sjdp os=-proelf 146233965Sjdp ;; 146333965Sjdp *-hp) 146433965Sjdp os=-hpux 146533965Sjdp ;; 146633965Sjdp *-hitachi) 146733965Sjdp os=-hiux 146833965Sjdp ;; 146933965Sjdp i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) 147033965Sjdp os=-sysv 147133965Sjdp ;; 147233965Sjdp *-cbm) 147360484Sobrien os=-amigaos 147433965Sjdp ;; 147533965Sjdp *-dg) 147633965Sjdp os=-dgux 147733965Sjdp ;; 147833965Sjdp *-dolphin) 147933965Sjdp os=-sysv3 148033965Sjdp ;; 148133965Sjdp m68k-ccur) 148233965Sjdp os=-rtu 148333965Sjdp ;; 148433965Sjdp m88k-omron*) 148533965Sjdp os=-luna 148633965Sjdp ;; 148733965Sjdp *-next ) 148833965Sjdp os=-nextstep 148933965Sjdp ;; 149033965Sjdp *-sequent) 149133965Sjdp os=-ptx 149233965Sjdp ;; 149333965Sjdp *-crds) 149433965Sjdp os=-unos 149533965Sjdp ;; 149633965Sjdp *-ns) 149733965Sjdp os=-genix 149833965Sjdp ;; 149933965Sjdp i370-*) 150033965Sjdp os=-mvs 150133965Sjdp ;; 150233965Sjdp *-next) 150333965Sjdp os=-nextstep3 150433965Sjdp ;; 1505130561Sobrien *-gould) 150633965Sjdp os=-sysv 150733965Sjdp ;; 1508130561Sobrien *-highlevel) 150933965Sjdp os=-bsd 151033965Sjdp ;; 151133965Sjdp *-encore) 151233965Sjdp os=-bsd 151333965Sjdp ;; 1514130561Sobrien *-sgi) 151533965Sjdp os=-irix 151633965Sjdp ;; 1517130561Sobrien *-siemens) 151833965Sjdp os=-sysv4 151933965Sjdp ;; 152033965Sjdp *-masscomp) 152133965Sjdp os=-rtu 152233965Sjdp ;; 152377298Sobrien f30[01]-fujitsu | f700-fujitsu) 152433965Sjdp os=-uxpv 152533965Sjdp ;; 152660484Sobrien *-rom68k) 152733965Sjdp os=-coff 152833965Sjdp ;; 152960484Sobrien *-*bug) 153033965Sjdp os=-coff 153133965Sjdp ;; 153260484Sobrien *-apple) 153333965Sjdp os=-macos 153433965Sjdp ;; 153560484Sobrien *-atari*) 153660484Sobrien os=-mint 153760484Sobrien ;; 153833965Sjdp *) 153933965Sjdp os=-none 154033965Sjdp ;; 154133965Sjdpesac 154233965Sjdpfi 154333965Sjdp 154433965Sjdp# Here we handle the case where we know the os, and the CPU type, but not the 154533965Sjdp# manufacturer. We pick the logical manufacturer. 154633965Sjdpvendor=unknown 154733965Sjdpcase $basic_machine in 154833965Sjdp *-unknown) 154933965Sjdp case $os in 155033965Sjdp -riscix*) 155133965Sjdp vendor=acorn 155233965Sjdp ;; 155333965Sjdp -sunos*) 155433965Sjdp vendor=sun 155533965Sjdp ;; 155633965Sjdp -aix*) 155733965Sjdp vendor=ibm 155833965Sjdp ;; 155960484Sobrien -beos*) 156033965Sjdp vendor=be 156133965Sjdp ;; 156233965Sjdp -hpux*) 156333965Sjdp vendor=hp 156433965Sjdp ;; 156560484Sobrien -mpeix*) 156660484Sobrien vendor=hp 156760484Sobrien ;; 156833965Sjdp -hiux*) 156933965Sjdp vendor=hitachi 157033965Sjdp ;; 157133965Sjdp -unos*) 157233965Sjdp vendor=crds 157333965Sjdp ;; 157433965Sjdp -dgux*) 157533965Sjdp vendor=dg 157633965Sjdp ;; 157733965Sjdp -luna*) 157833965Sjdp vendor=omron 157933965Sjdp ;; 158033965Sjdp -genix*) 158133965Sjdp vendor=ns 158233965Sjdp ;; 158360484Sobrien -mvs* | -opened*) 158433965Sjdp vendor=ibm 158533965Sjdp ;; 1586130561Sobrien -os400*) 1587130561Sobrien vendor=ibm 1588130561Sobrien ;; 158933965Sjdp -ptx*) 159033965Sjdp vendor=sequent 159133965Sjdp ;; 1592130561Sobrien -tpf*) 1593130561Sobrien vendor=ibm 1594130561Sobrien ;; 1595104834Sobrien -vxsim* | -vxworks* | -windiss*) 159633965Sjdp vendor=wrs 159733965Sjdp ;; 159833965Sjdp -aux*) 159933965Sjdp vendor=apple 160033965Sjdp ;; 160160484Sobrien -hms*) 160233965Sjdp vendor=hitachi 160333965Sjdp ;; 160460484Sobrien -mpw* | -macos*) 160533965Sjdp vendor=apple 160633965Sjdp ;; 160777298Sobrien -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 160860484Sobrien vendor=atari 160960484Sobrien ;; 161089857Sobrien -vos*) 161189857Sobrien vendor=stratus 161289857Sobrien ;; 161333965Sjdp esac 161433965Sjdp basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` 161533965Sjdp ;; 161633965Sjdpesac 161733965Sjdp 161833965Sjdpecho $basic_machine$os 1619218822Sdimexit 162068765Sobrien 162168765Sobrien# Local variables: 162268765Sobrien# eval: (add-hook 'write-file-hooks 'time-stamp) 162377298Sobrien# time-stamp-start: "timestamp='" 162468765Sobrien# time-stamp-format: "%:y-%02m-%02d" 162568765Sobrien# time-stamp-end: "'" 162668765Sobrien# End: 1627