annotate config.sub @ 110:7133b39975f7 stable-0-6-22

patch from David Cuadrado to process emails with type PST_TYPE_OTHER base64_encode_multiple() may insert newline, needs larger malloc subject lines shorter than 2 bytes could segfault
author Carl Byington <carl@five-ten-sg.com>
date Fri, 28 Nov 2008 11:36:53 -0800
parents ec7e344e0dfb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1 #! /bin/sh
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
2 # Configuration validation subroutine script.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
4 # 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
5
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
6 timestamp='2004-08-29'
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
7
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
8 # This file is (in principle) common to ALL GNU software.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
9 # The presence of a machine in this file suggests that SOME GNU software
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
10 # can handle that machine. It does not imply ALL GNU software can.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
11 #
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
12 # This file is free software; you can redistribute it and/or modify
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
13 # it under the terms of the GNU General Public License as published by
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
14 # the Free Software Foundation; either version 2 of the License, or
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
15 # (at your option) any later version.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
16 #
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
17 # This program is distributed in the hope that it will be useful,
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
20 # GNU General Public License for more details.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
21 #
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
22 # You should have received a copy of the GNU General Public License
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
23 # along with this program; if not, write to the Free Software
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
24 # Foundation, Inc., 59 Temple Place - Suite 330,
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
25 # Boston, MA 02111-1307, USA.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
26
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
27 # As a special exception to the GNU General Public License, if you
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
28 # distribute this file as part of a program that contains a
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
29 # configuration script generated by Autoconf, you may include it under
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
30 # the same distribution terms that you use for the rest of that program.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
31
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
32 # Please send patches to <config-patches@gnu.org>. Submit a context
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
33 # diff and a properly formatted ChangeLog entry.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
34 #
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
35 # Configuration subroutine to validate and canonicalize a configuration type.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
36 # Supply the specified configuration type as an argument.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
37 # If it is invalid, we print an error message on stderr and exit with code 1.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
38 # Otherwise, we print the canonical config type on stdout and succeed.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
39
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
40 # This file is supposed to be the same for all GNU packages
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
41 # and recognize all the CPU types, system types and aliases
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
42 # that are meaningful with *any* GNU software.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
43 # Each package is responsible for reporting which valid configurations
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
44 # it does not support. The user should be able to distinguish
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
45 # a failure to support a valid configuration from a meaningless
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
46 # configuration.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
47
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
48 # The goal of this file is to map all the various variations of a given
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
49 # machine specification into a single specification in the form:
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
51 # or in some cases, the newer four-part form:
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
53 # It is wrong to echo any other type of specification.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
54
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
55 me=`echo "$0" | sed -e 's,.*/,,'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
56
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
57 usage="\
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
58 Usage: $0 [OPTION] CPU-MFR-OPSYS
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
59 $0 [OPTION] ALIAS
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
60
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
61 Canonicalize a configuration name.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
62
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
63 Operation modes:
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
64 -h, --help print this help, then exit
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
65 -t, --time-stamp print date of last modification, then exit
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
66 -v, --version print version number, then exit
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
67
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
68 Report bugs and patches to <config-patches@gnu.org>."
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
69
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
70 version="\
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
71 GNU config.sub ($timestamp)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
72
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
74 Free Software Foundation, Inc.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
75
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
76 This is free software; see the source for copying conditions. There is NO
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
77 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
78
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
79 help="
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
80 Try \`$me --help' for more information."
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
81
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
82 # Parse command line
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
83 while test $# -gt 0 ; do
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
84 case $1 in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
85 --time-stamp | --time* | -t )
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
86 echo "$timestamp" ; exit 0 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
87 --version | -v )
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
88 echo "$version" ; exit 0 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
89 --help | --h* | -h )
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
90 echo "$usage"; exit 0 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
91 -- ) # Stop option processing
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
92 shift; break ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
93 - ) # Use stdin as input.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
94 break ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
95 -* )
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
96 echo "$me: invalid option $1$help"
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
97 exit 1 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
98
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
99 *local*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
100 # First pass through any local machine types.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
101 echo $1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
102 exit 0;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
103
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
104 * )
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
105 break ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
106 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
107 done
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
108
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
109 case $# in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
110 0) echo "$me: missing argument$help" >&2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
111 exit 1;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
112 1) ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
113 *) echo "$me: too many arguments$help" >&2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
114 exit 1;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
115 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
116
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
117 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
118 # Here we must recognize all the valid KERNEL-OS combinations.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
120 case $maybe_os in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
121 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
122 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
123 os=-$maybe_os
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
125 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
126 *)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
127 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
128 if [ $basic_machine != $1 ]
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
129 then os=`echo $1 | sed 's/.*-/-/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
130 else os=; fi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
131 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
132 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
133
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
134 ### Let's recognize common machines as not being operating systems so
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
135 ### that things like config.sub decstation-3100 work. We also
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
136 ### recognize some manufacturers as not being operating systems, so we
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
137 ### can provide default operating systems below.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
138 case $os in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
139 -sun*os*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
140 # Prevent following clause from handling this invalid input.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
141 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
142 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
143 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
144 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
145 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
146 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
147 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
148 -apple | -axis | -knuth | -cray)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
149 os=
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
150 basic_machine=$1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
151 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
152 -sim | -cisco | -oki | -wec | -winbond)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
153 os=
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
154 basic_machine=$1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
155 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
156 -scout)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
157 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
158 -wrs)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
159 os=-vxworks
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
160 basic_machine=$1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
161 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
162 -chorusos*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
163 os=-chorusos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
164 basic_machine=$1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
165 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
166 -chorusrdb)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
167 os=-chorusrdb
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
168 basic_machine=$1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
169 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
170 -hiux*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
171 os=-hiuxwe2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
172 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
173 -sco5)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
174 os=-sco3.2v5
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
175 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
176 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
177 -sco4)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
178 os=-sco3.2v4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
179 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
180 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
181 -sco3.2.[4-9]*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
182 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
183 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
184 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
185 -sco3.2v[4-9]*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
186 # Don't forget version if it is 3.2v4 or newer.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
187 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
188 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
189 -sco*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
190 os=-sco3.2v2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
191 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
192 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
193 -udk*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
194 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
195 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
196 -isc)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
197 os=-isc2.2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
198 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
199 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
200 -clix*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
201 basic_machine=clipper-intergraph
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
202 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
203 -isc*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
204 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
205 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
206 -lynx*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
207 os=-lynxos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
208 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
209 -ptx*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
210 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
211 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
212 -windowsnt*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
213 os=`echo $os | sed -e 's/windowsnt/winnt/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
214 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
215 -psos*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
216 os=-psos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
217 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
218 -mint | -mint[0-9]*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
219 basic_machine=m68k-atari
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
220 os=-mint
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
221 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
222 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
223
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
224 # Decode aliases for certain CPU-COMPANY combinations.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
225 case $basic_machine in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
226 # Recognize the basic CPU types without company name.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
227 # Some are omitted here because they have special meanings below.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
228 1750a | 580 \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
229 | a29k \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
230 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
231 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
232 | am33_2.0 \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
233 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
234 | c4x | clipper \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
235 | d10v | d30v | dlx | dsp16xx \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
236 | fr30 | frv \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
237 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
238 | i370 | i860 | i960 | ia64 \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
239 | ip2k | iq2000 \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
240 | m32r | m32rle | m68000 | m68k | m88k | mcore \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
241 | mips | mipsbe | mipseb | mipsel | mipsle \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
242 | mips16 \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
243 | mips64 | mips64el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
244 | mips64vr | mips64vrel \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
245 | mips64orion | mips64orionel \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
246 | mips64vr4100 | mips64vr4100el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
247 | mips64vr4300 | mips64vr4300el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
248 | mips64vr5000 | mips64vr5000el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
249 | mipsisa32 | mipsisa32el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
250 | mipsisa32r2 | mipsisa32r2el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
251 | mipsisa64 | mipsisa64el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
252 | mipsisa64r2 | mipsisa64r2el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
253 | mipsisa64sb1 | mipsisa64sb1el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
254 | mipsisa64sr71k | mipsisa64sr71kel \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
255 | mipstx39 | mipstx39el \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
256 | mn10200 | mn10300 \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
257 | msp430 \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
258 | ns16k | ns32k \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
259 | openrisc | or32 \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
260 | pdp10 | pdp11 | pj | pjl \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
261 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
262 | pyramid \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
263 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
264 | sh64 | sh64le \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
265 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
266 | strongarm \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
267 | tahoe | thumb | tic4x | tic80 | tron \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
268 | v850 | v850e \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
269 | we32k \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
270 | x86 | xscale | xstormy16 | xtensa \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
271 | z8k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
272 basic_machine=$basic_machine-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
273 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
274 m6811 | m68hc11 | m6812 | m68hc12)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
275 # Motorola 68HC11/12.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
276 basic_machine=$basic_machine-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
277 os=-none
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
278 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
279 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
280 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
281
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
282 # We use `pc' rather than `unknown'
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
283 # because (1) that's what they normally are, and
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
284 # (2) the word "unknown" tends to confuse beginning users.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
285 i*86 | x86_64)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
286 basic_machine=$basic_machine-pc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
287 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
288 # Object if more than one company name word.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
289 *-*-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
290 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
291 exit 1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
292 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
293 # Recognize the basic CPU types with company name.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
294 580-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
295 | a29k-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
296 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
297 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
298 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
299 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
300 | avr-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
301 | bs2000-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
302 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
303 | clipper-* | craynv-* | cydra-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
304 | d10v-* | d30v-* | dlx-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
305 | elxsi-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
306 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
307 | h8300-* | h8500-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
308 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
309 | i*86-* | i860-* | i960-* | ia64-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
310 | ip2k-* | iq2000-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
311 | m32r-* | m32rle-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
312 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
313 | m88110-* | m88k-* | mcore-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
314 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
315 | mips16-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
316 | mips64-* | mips64el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
317 | mips64vr-* | mips64vrel-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
318 | mips64orion-* | mips64orionel-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
319 | mips64vr4100-* | mips64vr4100el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
320 | mips64vr4300-* | mips64vr4300el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
321 | mips64vr5000-* | mips64vr5000el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
322 | mipsisa32-* | mipsisa32el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
323 | mipsisa32r2-* | mipsisa32r2el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
324 | mipsisa64-* | mipsisa64el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
325 | mipsisa64r2-* | mipsisa64r2el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
326 | mipsisa64sb1-* | mipsisa64sb1el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
327 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
328 | mipstx39-* | mipstx39el-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
329 | mmix-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
330 | msp430-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
331 | none-* | np1-* | ns16k-* | ns32k-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
332 | orion-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
333 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
334 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
335 | pyramid-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
336 | romp-* | rs6000-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
337 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
338 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
339 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
340 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
341 | tahoe-* | thumb-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
342 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
343 | tron-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
344 | v850-* | v850e-* | vax-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
345 | we32k-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
346 | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
347 | xtensa-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
348 | ymp-* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
349 | z8k-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
350 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
351 # Recognize the various machine names and aliases which stand
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
352 # for a CPU type and a company and sometimes even an OS.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
353 386bsd)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
354 basic_machine=i386-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
355 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
356 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
357 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
358 basic_machine=m68000-att
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
359 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
360 3b*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
361 basic_machine=we32k-att
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
362 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
363 a29khif)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
364 basic_machine=a29k-amd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
365 os=-udi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
366 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
367 abacus)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
368 basic_machine=abacus-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
369 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
370 adobe68k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
371 basic_machine=m68010-adobe
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
372 os=-scout
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
373 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
374 alliant | fx80)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
375 basic_machine=fx80-alliant
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
376 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
377 altos | altos3068)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
378 basic_machine=m68k-altos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
379 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
380 am29k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
381 basic_machine=a29k-none
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
382 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
383 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
384 amd64)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
385 basic_machine=x86_64-pc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
386 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
387 amd64-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
388 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
389 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
390 amdahl)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
391 basic_machine=580-amdahl
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
392 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
393 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
394 amiga | amiga-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
395 basic_machine=m68k-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
396 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
397 amigaos | amigados)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
398 basic_machine=m68k-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
399 os=-amigaos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
400 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
401 amigaunix | amix)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
402 basic_machine=m68k-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
403 os=-sysv4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
404 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
405 apollo68)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
406 basic_machine=m68k-apollo
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
407 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
408 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
409 apollo68bsd)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
410 basic_machine=m68k-apollo
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
411 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
412 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
413 aux)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
414 basic_machine=m68k-apple
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
415 os=-aux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
416 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
417 balance)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
418 basic_machine=ns32k-sequent
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
419 os=-dynix
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
420 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
421 c90)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
422 basic_machine=c90-cray
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
423 os=-unicos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
424 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
425 convex-c1)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
426 basic_machine=c1-convex
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
427 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
428 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
429 convex-c2)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
430 basic_machine=c2-convex
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
431 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
432 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
433 convex-c32)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
434 basic_machine=c32-convex
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
435 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
436 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
437 convex-c34)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
438 basic_machine=c34-convex
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
439 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
440 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
441 convex-c38)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
442 basic_machine=c38-convex
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
443 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
444 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
445 cray | j90)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
446 basic_machine=j90-cray
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
447 os=-unicos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
448 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
449 craynv)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
450 basic_machine=craynv-cray
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
451 os=-unicosmp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
452 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
453 cr16c)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
454 basic_machine=cr16c-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
455 os=-elf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
456 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
457 crds | unos)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
458 basic_machine=m68k-crds
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
459 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
460 crisv32 | crisv32-* | etraxfs*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
461 basic_machine=crisv32-axis
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
462 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
463 cris | cris-* | etrax*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
464 basic_machine=cris-axis
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
465 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
466 crx)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
467 basic_machine=crx-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
468 os=-elf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
469 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
470 da30 | da30-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
471 basic_machine=m68k-da30
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
472 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
473 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
474 basic_machine=mips-dec
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
475 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
476 decsystem10* | dec10*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
477 basic_machine=pdp10-dec
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
478 os=-tops10
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
479 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
480 decsystem20* | dec20*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
481 basic_machine=pdp10-dec
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
482 os=-tops20
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
483 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
484 delta | 3300 | motorola-3300 | motorola-delta \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
485 | 3300-motorola | delta-motorola)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
486 basic_machine=m68k-motorola
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
487 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
488 delta88)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
489 basic_machine=m88k-motorola
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
490 os=-sysv3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
491 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
492 dpx20 | dpx20-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
493 basic_machine=rs6000-bull
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
494 os=-bosx
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
495 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
496 dpx2* | dpx2*-bull)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
497 basic_machine=m68k-bull
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
498 os=-sysv3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
499 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
500 ebmon29k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
501 basic_machine=a29k-amd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
502 os=-ebmon
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
503 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
504 elxsi)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
505 basic_machine=elxsi-elxsi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
506 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
507 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
508 encore | umax | mmax)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
509 basic_machine=ns32k-encore
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
510 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
511 es1800 | OSE68k | ose68k | ose | OSE)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
512 basic_machine=m68k-ericsson
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
513 os=-ose
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
514 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
515 fx2800)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
516 basic_machine=i860-alliant
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
517 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
518 genix)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
519 basic_machine=ns32k-ns
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
520 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
521 gmicro)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
522 basic_machine=tron-gmicro
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
523 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
524 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
525 go32)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
526 basic_machine=i386-pc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
527 os=-go32
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
528 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
529 h3050r* | hiux*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
530 basic_machine=hppa1.1-hitachi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
531 os=-hiuxwe2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
532 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
533 h8300hms)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
534 basic_machine=h8300-hitachi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
535 os=-hms
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
536 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
537 h8300xray)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
538 basic_machine=h8300-hitachi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
539 os=-xray
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
540 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
541 h8500hms)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
542 basic_machine=h8500-hitachi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
543 os=-hms
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
544 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
545 harris)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
546 basic_machine=m88k-harris
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
547 os=-sysv3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
548 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
549 hp300-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
550 basic_machine=m68k-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
551 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
552 hp300bsd)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
553 basic_machine=m68k-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
554 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
555 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
556 hp300hpux)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
557 basic_machine=m68k-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
558 os=-hpux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
559 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
560 hp3k9[0-9][0-9] | hp9[0-9][0-9])
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
561 basic_machine=hppa1.0-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
562 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
563 hp9k2[0-9][0-9] | hp9k31[0-9])
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
564 basic_machine=m68000-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
565 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
566 hp9k3[2-9][0-9])
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
567 basic_machine=m68k-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
568 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
569 hp9k6[0-9][0-9] | hp6[0-9][0-9])
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
570 basic_machine=hppa1.0-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
571 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
572 hp9k7[0-79][0-9] | hp7[0-79][0-9])
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
573 basic_machine=hppa1.1-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
574 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
575 hp9k78[0-9] | hp78[0-9])
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
576 # FIXME: really hppa2.0-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
577 basic_machine=hppa1.1-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
578 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
579 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
580 # FIXME: really hppa2.0-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
581 basic_machine=hppa1.1-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
582 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
583 hp9k8[0-9][13679] | hp8[0-9][13679])
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
584 basic_machine=hppa1.1-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
585 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
586 hp9k8[0-9][0-9] | hp8[0-9][0-9])
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
587 basic_machine=hppa1.0-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
588 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
589 hppa-next)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
590 os=-nextstep3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
591 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
592 hppaosf)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
593 basic_machine=hppa1.1-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
594 os=-osf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
595 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
596 hppro)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
597 basic_machine=hppa1.1-hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
598 os=-proelf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
599 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
600 i370-ibm* | ibm*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
601 basic_machine=i370-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
602 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
603 # I'm not sure what "Sysv32" means. Should this be sysv3.2?
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
604 i*86v32)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
605 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
606 os=-sysv32
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
607 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
608 i*86v4*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
609 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
610 os=-sysv4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
611 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
612 i*86v)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
613 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
614 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
615 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
616 i*86sol2)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
617 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
618 os=-solaris2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
619 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
620 i386mach)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
621 basic_machine=i386-mach
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
622 os=-mach
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
623 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
624 i386-vsta | vsta)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
625 basic_machine=i386-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
626 os=-vsta
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
627 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
628 iris | iris4d)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
629 basic_machine=mips-sgi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
630 case $os in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
631 -irix*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
632 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
633 *)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
634 os=-irix4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
635 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
636 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
637 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
638 isi68 | isi)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
639 basic_machine=m68k-isi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
640 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
641 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
642 m88k-omron*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
643 basic_machine=m88k-omron
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
644 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
645 magnum | m3230)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
646 basic_machine=mips-mips
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
647 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
648 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
649 merlin)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
650 basic_machine=ns32k-utek
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
651 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
652 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
653 mingw32)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
654 basic_machine=i386-pc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
655 os=-mingw32
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
656 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
657 miniframe)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
658 basic_machine=m68000-convergent
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
659 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
660 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
661 basic_machine=m68k-atari
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
662 os=-mint
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
663 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
664 mips3*-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
665 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
666 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
667 mips3*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
668 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
669 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
670 monitor)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
671 basic_machine=m68k-rom68k
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
672 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
673 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
674 morphos)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
675 basic_machine=powerpc-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
676 os=-morphos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
677 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
678 msdos)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
679 basic_machine=i386-pc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
680 os=-msdos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
681 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
682 mvs)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
683 basic_machine=i370-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
684 os=-mvs
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
685 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
686 ncr3000)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
687 basic_machine=i486-ncr
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
688 os=-sysv4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
689 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
690 netbsd386)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
691 basic_machine=i386-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
692 os=-netbsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
693 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
694 netwinder)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
695 basic_machine=armv4l-rebel
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
696 os=-linux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
697 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
698 news | news700 | news800 | news900)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
699 basic_machine=m68k-sony
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
700 os=-newsos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
701 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
702 news1000)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
703 basic_machine=m68030-sony
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
704 os=-newsos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
705 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
706 news-3600 | risc-news)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
707 basic_machine=mips-sony
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
708 os=-newsos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
709 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
710 necv70)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
711 basic_machine=v70-nec
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
712 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
713 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
714 next | m*-next )
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
715 basic_machine=m68k-next
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
716 case $os in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
717 -nextstep* )
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
718 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
719 -ns2*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
720 os=-nextstep2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
721 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
722 *)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
723 os=-nextstep3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
724 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
725 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
726 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
727 nh3000)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
728 basic_machine=m68k-harris
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
729 os=-cxux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
730 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
731 nh[45]000)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
732 basic_machine=m88k-harris
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
733 os=-cxux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
734 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
735 nindy960)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
736 basic_machine=i960-intel
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
737 os=-nindy
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
738 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
739 mon960)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
740 basic_machine=i960-intel
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
741 os=-mon960
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
742 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
743 nonstopux)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
744 basic_machine=mips-compaq
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
745 os=-nonstopux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
746 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
747 np1)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
748 basic_machine=np1-gould
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
749 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
750 nsr-tandem)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
751 basic_machine=nsr-tandem
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
752 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
753 op50n-* | op60c-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
754 basic_machine=hppa1.1-oki
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
755 os=-proelf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
756 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
757 or32 | or32-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
758 basic_machine=or32-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
759 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
760 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
761 os400)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
762 basic_machine=powerpc-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
763 os=-os400
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
764 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
765 OSE68000 | ose68000)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
766 basic_machine=m68000-ericsson
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
767 os=-ose
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
768 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
769 os68k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
770 basic_machine=m68k-none
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
771 os=-os68k
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
772 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
773 pa-hitachi)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
774 basic_machine=hppa1.1-hitachi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
775 os=-hiuxwe2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
776 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
777 paragon)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
778 basic_machine=i860-intel
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
779 os=-osf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
780 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
781 pbd)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
782 basic_machine=sparc-tti
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
783 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
784 pbb)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
785 basic_machine=m68k-tti
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
786 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
787 pc532 | pc532-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
788 basic_machine=ns32k-pc532
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
789 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
790 pentium | p5 | k5 | k6 | nexgen | viac3)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
791 basic_machine=i586-pc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
792 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
793 pentiumpro | p6 | 6x86 | athlon | athlon_*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
794 basic_machine=i686-pc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
795 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
796 pentiumii | pentium2 | pentiumiii | pentium3)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
797 basic_machine=i686-pc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
798 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
799 pentium4)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
800 basic_machine=i786-pc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
801 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
802 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
803 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
804 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
805 pentiumpro-* | p6-* | 6x86-* | athlon-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
806 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
807 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
808 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
809 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
810 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
811 pentium4-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
812 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
813 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
814 pn)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
815 basic_machine=pn-gould
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
816 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
817 power) basic_machine=power-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
818 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
819 ppc) basic_machine=powerpc-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
820 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
821 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
822 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
823 ppcle | powerpclittle | ppc-le | powerpc-little)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
824 basic_machine=powerpcle-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
825 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
826 ppcle-* | powerpclittle-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
827 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
828 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
829 ppc64) basic_machine=powerpc64-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
830 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
831 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
832 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
833 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
834 basic_machine=powerpc64le-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
835 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
836 ppc64le-* | powerpc64little-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
837 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
838 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
839 ps2)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
840 basic_machine=i386-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
841 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
842 pw32)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
843 basic_machine=i586-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
844 os=-pw32
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
845 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
846 rom68k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
847 basic_machine=m68k-rom68k
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
848 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
849 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
850 rm[46]00)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
851 basic_machine=mips-siemens
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
852 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
853 rtpc | rtpc-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
854 basic_machine=romp-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
855 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
856 s390 | s390-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
857 basic_machine=s390-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
858 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
859 s390x | s390x-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
860 basic_machine=s390x-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
861 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
862 sa29200)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
863 basic_machine=a29k-amd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
864 os=-udi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
865 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
866 sb1)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
867 basic_machine=mipsisa64sb1-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
868 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
869 sb1el)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
870 basic_machine=mipsisa64sb1el-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
871 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
872 sei)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
873 basic_machine=mips-sei
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
874 os=-seiux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
875 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
876 sequent)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
877 basic_machine=i386-sequent
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
878 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
879 sh)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
880 basic_machine=sh-hitachi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
881 os=-hms
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
882 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
883 sh64)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
884 basic_machine=sh64-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
885 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
886 sparclite-wrs | simso-wrs)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
887 basic_machine=sparclite-wrs
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
888 os=-vxworks
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
889 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
890 sps7)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
891 basic_machine=m68k-bull
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
892 os=-sysv2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
893 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
894 spur)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
895 basic_machine=spur-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
896 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
897 st2000)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
898 basic_machine=m68k-tandem
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
899 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
900 stratus)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
901 basic_machine=i860-stratus
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
902 os=-sysv4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
903 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
904 sun2)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
905 basic_machine=m68000-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
906 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
907 sun2os3)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
908 basic_machine=m68000-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
909 os=-sunos3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
910 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
911 sun2os4)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
912 basic_machine=m68000-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
913 os=-sunos4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
914 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
915 sun3os3)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
916 basic_machine=m68k-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
917 os=-sunos3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
918 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
919 sun3os4)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
920 basic_machine=m68k-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
921 os=-sunos4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
922 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
923 sun4os3)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
924 basic_machine=sparc-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
925 os=-sunos3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
926 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
927 sun4os4)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
928 basic_machine=sparc-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
929 os=-sunos4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
930 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
931 sun4sol2)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
932 basic_machine=sparc-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
933 os=-solaris2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
934 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
935 sun3 | sun3-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
936 basic_machine=m68k-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
937 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
938 sun4)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
939 basic_machine=sparc-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
940 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
941 sun386 | sun386i | roadrunner)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
942 basic_machine=i386-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
943 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
944 sv1)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
945 basic_machine=sv1-cray
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
946 os=-unicos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
947 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
948 symmetry)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
949 basic_machine=i386-sequent
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
950 os=-dynix
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
951 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
952 t3e)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
953 basic_machine=alphaev5-cray
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
954 os=-unicos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
955 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
956 t90)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
957 basic_machine=t90-cray
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
958 os=-unicos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
959 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
960 tic54x | c54x*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
961 basic_machine=tic54x-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
962 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
963 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
964 tic55x | c55x*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
965 basic_machine=tic55x-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
966 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
967 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
968 tic6x | c6x*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
969 basic_machine=tic6x-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
970 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
971 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
972 tx39)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
973 basic_machine=mipstx39-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
974 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
975 tx39el)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
976 basic_machine=mipstx39el-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
977 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
978 toad1)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
979 basic_machine=pdp10-xkl
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
980 os=-tops20
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
981 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
982 tower | tower-32)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
983 basic_machine=m68k-ncr
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
984 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
985 tpf)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
986 basic_machine=s390x-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
987 os=-tpf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
988 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
989 udi29k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
990 basic_machine=a29k-amd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
991 os=-udi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
992 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
993 ultra3)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
994 basic_machine=a29k-nyu
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
995 os=-sym1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
996 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
997 v810 | necv810)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
998 basic_machine=v810-nec
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
999 os=-none
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1000 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1001 vaxv)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1002 basic_machine=vax-dec
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1003 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1004 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1005 vms)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1006 basic_machine=vax-dec
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1007 os=-vms
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1008 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1009 vpp*|vx|vx-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1010 basic_machine=f301-fujitsu
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1011 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1012 vxworks960)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1013 basic_machine=i960-wrs
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1014 os=-vxworks
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1015 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1016 vxworks68)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1017 basic_machine=m68k-wrs
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1018 os=-vxworks
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1019 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1020 vxworks29k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1021 basic_machine=a29k-wrs
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1022 os=-vxworks
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1023 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1024 w65*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1025 basic_machine=w65-wdc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1026 os=-none
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1027 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1028 w89k-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1029 basic_machine=hppa1.1-winbond
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1030 os=-proelf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1031 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1032 xps | xps100)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1033 basic_machine=xps100-honeywell
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1034 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1035 ymp)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1036 basic_machine=ymp-cray
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1037 os=-unicos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1038 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1039 z8k-*-coff)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1040 basic_machine=z8k-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1041 os=-sim
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1042 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1043 none)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1044 basic_machine=none-none
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1045 os=-none
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1046 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1047
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1048 # Here we handle the default manufacturer of certain CPU types. It is in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1049 # some cases the only manufacturer, in others, it is the most popular.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1050 w89k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1051 basic_machine=hppa1.1-winbond
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1052 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1053 op50n)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1054 basic_machine=hppa1.1-oki
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1055 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1056 op60c)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1057 basic_machine=hppa1.1-oki
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1058 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1059 romp)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1060 basic_machine=romp-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1061 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1062 mmix)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1063 basic_machine=mmix-knuth
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1064 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1065 rs6000)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1066 basic_machine=rs6000-ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1067 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1068 vax)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1069 basic_machine=vax-dec
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1070 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1071 pdp10)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1072 # there are many clones, so DEC is not a safe bet
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1073 basic_machine=pdp10-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1074 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1075 pdp11)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1076 basic_machine=pdp11-dec
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1077 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1078 we32k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1079 basic_machine=we32k-att
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1080 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1081 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1082 basic_machine=sh-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1083 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1084 sh64)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1085 basic_machine=sh64-unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1086 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1087 sparc | sparcv8 | sparcv9 | sparcv9b)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1088 basic_machine=sparc-sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1089 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1090 cydra)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1091 basic_machine=cydra-cydrome
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1092 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1093 orion)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1094 basic_machine=orion-highlevel
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1095 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1096 orion105)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1097 basic_machine=clipper-highlevel
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1098 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1099 mac | mpw | mac-mpw)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1100 basic_machine=m68k-apple
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1101 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1102 pmac | pmac-mpw)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1103 basic_machine=powerpc-apple
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1104 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1105 *-unknown)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1106 # Make sure to match an already-canonicalized machine name.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1107 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1108 *)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1109 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1110 exit 1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1111 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1112 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1113
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1114 # Here we canonicalize certain aliases for manufacturers.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1115 case $basic_machine in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1116 *-digital*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1117 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1118 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1119 *-commodore*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1120 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1121 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1122 *)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1123 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1124 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1125
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1126 # Decode manufacturer-specific aliases for certain operating systems.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1127
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1128 if [ x"$os" != x"" ]
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1129 then
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1130 case $os in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1131 # First match some system type aliases
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1132 # that might get confused with valid system types.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1133 # -solaris* is a basic system type, with this one exception.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1134 -solaris1 | -solaris1.*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1135 os=`echo $os | sed -e 's|solaris1|sunos4|'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1136 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1137 -solaris)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1138 os=-solaris2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1139 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1140 -svr4*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1141 os=-sysv4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1142 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1143 -unixware*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1144 os=-sysv4.2uw
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1145 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1146 -gnu/linux*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1147 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1148 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1149 # First accept the basic system types.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1150 # The portable systems comes first.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1151 # Each alternative MUST END IN A *, to match a version number.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1152 # -sysv* is not here because it comes later, after sysvr4.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1153 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1154 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1155 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1156 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1157 | -aos* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1158 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1159 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1160 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1161 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1162 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1163 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1164 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1165 | -chorusos* | -chorusrdb* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1166 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1167 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1168 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1169 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1170 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1171 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1172 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1173 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1174 # Remember, each alternative MUST END IN *, to match a version number.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1175 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1176 -qnx*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1177 case $basic_machine in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1178 x86-* | i*86-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1179 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1180 *)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1181 os=-nto$os
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1182 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1183 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1184 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1185 -nto-qnx*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1186 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1187 -nto*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1188 os=`echo $os | sed -e 's|nto|nto-qnx|'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1189 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1190 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1191 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1192 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1193 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1194 -mac*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1195 os=`echo $os | sed -e 's|mac|macos|'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1196 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1197 -linux-dietlibc)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1198 os=-linux-dietlibc
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1199 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1200 -linux*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1201 os=`echo $os | sed -e 's|linux|linux-gnu|'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1202 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1203 -sunos5*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1204 os=`echo $os | sed -e 's|sunos5|solaris2|'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1205 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1206 -sunos6*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1207 os=`echo $os | sed -e 's|sunos6|solaris3|'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1208 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1209 -opened*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1210 os=-openedition
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1211 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1212 -os400*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1213 os=-os400
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1214 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1215 -wince*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1216 os=-wince
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1217 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1218 -osfrose*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1219 os=-osfrose
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1220 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1221 -osf*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1222 os=-osf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1223 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1224 -utek*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1225 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1226 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1227 -dynix*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1228 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1229 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1230 -acis*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1231 os=-aos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1232 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1233 -atheos*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1234 os=-atheos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1235 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1236 -syllable*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1237 os=-syllable
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1238 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1239 -386bsd)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1240 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1241 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1242 -ctix* | -uts*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1243 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1244 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1245 -nova*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1246 os=-rtmk-nova
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1247 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1248 -ns2 )
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1249 os=-nextstep2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1250 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1251 -nsk*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1252 os=-nsk
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1253 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1254 # Preserve the version number of sinix5.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1255 -sinix5.*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1256 os=`echo $os | sed -e 's|sinix|sysv|'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1257 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1258 -sinix*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1259 os=-sysv4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1260 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1261 -tpf*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1262 os=-tpf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1263 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1264 -triton*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1265 os=-sysv3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1266 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1267 -oss*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1268 os=-sysv3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1269 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1270 -svr4)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1271 os=-sysv4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1272 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1273 -svr3)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1274 os=-sysv3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1275 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1276 -sysvr4)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1277 os=-sysv4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1278 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1279 # This must come after -sysvr4.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1280 -sysv*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1281 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1282 -ose*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1283 os=-ose
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1284 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1285 -es1800*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1286 os=-ose
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1287 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1288 -xenix)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1289 os=-xenix
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1290 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1291 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1292 os=-mint
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1293 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1294 -aros*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1295 os=-aros
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1296 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1297 -kaos*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1298 os=-kaos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1299 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1300 -none)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1301 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1302 *)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1303 # Get rid of the `-' at the beginning of $os.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1304 os=`echo $os | sed 's/[^-]*-//'`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1305 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1306 exit 1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1307 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1308 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1309 else
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1310
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1311 # Here we handle the default operating systems that come with various machines.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1312 # The value should be what the vendor currently ships out the door with their
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1313 # machine or put another way, the most popular os provided with the machine.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1314
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1315 # Note that if you're going to try to match "-MANUFACTURER" here (say,
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1316 # "-sun"), then you have to tell the case statement up towards the top
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1317 # that MANUFACTURER isn't an operating system. Otherwise, code above
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1318 # will signal an error saying that MANUFACTURER isn't an operating
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1319 # system, and we'll never get to this point.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1320
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1321 case $basic_machine in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1322 *-acorn)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1323 os=-riscix1.2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1324 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1325 arm*-rebel)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1326 os=-linux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1327 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1328 arm*-semi)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1329 os=-aout
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1330 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1331 c4x-* | tic4x-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1332 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1333 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1334 # This must come before the *-dec entry.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1335 pdp10-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1336 os=-tops20
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1337 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1338 pdp11-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1339 os=-none
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1340 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1341 *-dec | vax-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1342 os=-ultrix4.2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1343 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1344 m68*-apollo)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1345 os=-domain
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1346 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1347 i386-sun)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1348 os=-sunos4.0.2
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1349 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1350 m68000-sun)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1351 os=-sunos3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1352 # This also exists in the configure program, but was not the
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1353 # default.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1354 # os=-sunos4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1355 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1356 m68*-cisco)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1357 os=-aout
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1358 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1359 mips*-cisco)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1360 os=-elf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1361 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1362 mips*-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1363 os=-elf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1364 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1365 or32-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1366 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1367 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1368 *-tti) # must be before sparc entry or we get the wrong os.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1369 os=-sysv3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1370 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1371 sparc-* | *-sun)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1372 os=-sunos4.1.1
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1373 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1374 *-be)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1375 os=-beos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1376 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1377 *-ibm)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1378 os=-aix
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1379 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1380 *-knuth)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1381 os=-mmixware
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1382 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1383 *-wec)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1384 os=-proelf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1385 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1386 *-winbond)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1387 os=-proelf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1388 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1389 *-oki)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1390 os=-proelf
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1391 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1392 *-hp)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1393 os=-hpux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1394 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1395 *-hitachi)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1396 os=-hiux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1397 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1398 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1399 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1400 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1401 *-cbm)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1402 os=-amigaos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1403 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1404 *-dg)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1405 os=-dgux
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1406 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1407 *-dolphin)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1408 os=-sysv3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1409 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1410 m68k-ccur)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1411 os=-rtu
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1412 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1413 m88k-omron*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1414 os=-luna
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1415 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1416 *-next )
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1417 os=-nextstep
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1418 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1419 *-sequent)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1420 os=-ptx
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1421 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1422 *-crds)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1423 os=-unos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1424 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1425 *-ns)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1426 os=-genix
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1427 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1428 i370-*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1429 os=-mvs
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1430 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1431 *-next)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1432 os=-nextstep3
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1433 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1434 *-gould)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1435 os=-sysv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1436 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1437 *-highlevel)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1438 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1439 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1440 *-encore)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1441 os=-bsd
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1442 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1443 *-sgi)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1444 os=-irix
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1445 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1446 *-siemens)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1447 os=-sysv4
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1448 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1449 *-masscomp)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1450 os=-rtu
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1451 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1452 f30[01]-fujitsu | f700-fujitsu)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1453 os=-uxpv
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1454 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1455 *-rom68k)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1456 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1457 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1458 *-*bug)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1459 os=-coff
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1460 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1461 *-apple)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1462 os=-macos
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1463 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1464 *-atari*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1465 os=-mint
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1466 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1467 *)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1468 os=-none
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1469 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1470 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1471 fi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1472
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1473 # Here we handle the case where we know the os, and the CPU type, but not the
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1474 # manufacturer. We pick the logical manufacturer.
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1475 vendor=unknown
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1476 case $basic_machine in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1477 *-unknown)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1478 case $os in
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1479 -riscix*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1480 vendor=acorn
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1481 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1482 -sunos*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1483 vendor=sun
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1484 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1485 -aix*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1486 vendor=ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1487 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1488 -beos*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1489 vendor=be
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1490 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1491 -hpux*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1492 vendor=hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1493 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1494 -mpeix*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1495 vendor=hp
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1496 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1497 -hiux*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1498 vendor=hitachi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1499 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1500 -unos*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1501 vendor=crds
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1502 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1503 -dgux*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1504 vendor=dg
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1505 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1506 -luna*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1507 vendor=omron
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1508 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1509 -genix*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1510 vendor=ns
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1511 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1512 -mvs* | -opened*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1513 vendor=ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1514 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1515 -os400*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1516 vendor=ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1517 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1518 -ptx*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1519 vendor=sequent
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1520 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1521 -tpf*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1522 vendor=ibm
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1523 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1524 -vxsim* | -vxworks* | -windiss*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1525 vendor=wrs
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1526 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1527 -aux*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1528 vendor=apple
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1529 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1530 -hms*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1531 vendor=hitachi
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1532 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1533 -mpw* | -macos*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1534 vendor=apple
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1535 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1536 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1537 vendor=atari
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1538 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1539 -vos*)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1540 vendor=stratus
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1541 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1542 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1543 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1544 ;;
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1545 esac
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1546
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1547 echo $basic_machine$os
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1548 exit 0
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1549
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1550 # Local variables:
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1551 # eval: (add-hook 'write-file-hooks 'time-stamp)
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1552 # time-stamp-start: "timestamp='"
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1553 # time-stamp-format: "%:y-%02m-%02d"
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1554 # time-stamp-end: "'"
ec7e344e0dfb switch to automake/autoconf
carl
parents:
diff changeset
1555 # End: