Mercurial > emacs
annotate config.sub @ 1997:4b2a76f0d640
* make-dist: Don't try to copy the COPYING notice into
external-lisp; we're not distributing that directory any more.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 02 Mar 1993 08:28:38 +0000 |
parents | eeb000068cc8 |
children | 755588575884 |
rev | line source |
---|---|
576 | 1 #!/bin/sh |
653
f3531d3d57c9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
652
diff
changeset
|
2 # Configuration validation subroutine script, version 1.1. |
645
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
3 # Copyright (C) 1991, 1992 Free Software Foundation, Inc. |
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
4 # This file is (in principle) common to ALL GNU software. |
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
5 # The presence of a machine in this file suggests that SOME GNU software |
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
6 # can handle that machine. It does not imply ALL GNU software can. |
576 | 7 |
8 #This file is free software; you can redistribute it and/or modify | |
9 #it under the terms of the GNU General Public License as published by | |
10 #the Free Software Foundation; either version 2 of the License, or | |
11 #(at your option) any later version. | |
12 | |
13 #This program is distributed in the hope that it will be useful, | |
14 #but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 #GNU General Public License for more details. | |
17 | |
18 #You should have received a copy of the GNU General Public License | |
19 #along with this program; if not, write to the Free Software | |
20 #Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
21 | |
22 | |
23 # Configuration subroutine to validate and canonicalize a configuration type. | |
24 # Supply the specified configuration type as an argument. | |
25 # If it is invalid, we print an error message on stderr and exit with code 1. | |
26 # Otherwise, we print the canonical config type on stdout and succeed. | |
27 | |
28 # This file is supposed to be the same for all GNU packages | |
29 # and recognize all the CPU types, system types and aliases | |
30 # that are meaningful with *any* GNU software. | |
31 # Each package is responsible for reporting which valid configurations | |
32 # it does not support. The user should be able to distinguish | |
33 # a failure to support a valid configuration from a meaningless | |
34 # configuration. | |
35 | |
36 # The goal of this file is to map all the various variations of a given | |
37 # machine specification into a single specification in the form: | |
38 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
39 # It is wrong to echo any other type of specification. |
576 | 40 |
41 # First pass through any local machine types. | |
42 case $1 in | |
43 *local*) | |
44 echo $1 | |
45 exit 0 | |
46 ;; | |
47 *) | |
48 ;; | |
49 esac | |
50 | |
51 # Separate what the user gave into CPU-COMPANY and OS (if any). | |
52 basic_machine=`echo $1 | sed 's/-[^-]*$//'` | |
53 if [ $basic_machine != $1 ] | |
54 then os=`echo $1 | sed 's/.*-/-/'` | |
55 else os=; fi | |
56 | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
57 ### Let's recognize common machines as not being operating systems so |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
58 ### that things like config.sub decstation-3100 work. We also |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
59 ### recognize some manufacturers as not being operating systems, so we |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
60 ### can provide default operating systems below. |
576 | 61 case $os in |
1961
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
62 -sun*os*) |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
63 # Prevent following clause from handling this invalid input. |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
64 ;; |
576 | 65 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ |
66 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | |
67 -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \ | |
674
d5c90f190057
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
654
diff
changeset
|
68 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | \ |
576 | 69 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
70 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp ) |
576 | 71 os= |
72 basic_machine=$1 | |
73 ;; | |
1545
9ff238dd8a35
Don't discard SCO version number if it's 3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
1415
diff
changeset
|
74 -sco3.2v[4-9]*) |
9ff238dd8a35
Don't discard SCO version number if it's 3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
1415
diff
changeset
|
75 # Don't forget version if it is 3.2v4 or newer. |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
76 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
1545
9ff238dd8a35
Don't discard SCO version number if it's 3.2v4.
Richard M. Stallman <rms@gnu.org>
parents:
1415
diff
changeset
|
77 ;; |
576 | 78 -sco*) |
646
e283d4164aca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
645
diff
changeset
|
79 os=-sco3.2v2 |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
80 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
576 | 81 ;; |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
82 -isc) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
83 os=-isc2.2 |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
84 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
85 ;; |
576 | 86 -isc*) |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
87 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` |
576 | 88 ;; |
89 esac | |
90 | |
91 # Decode aliases for certain CPU-COMPANY combinations. | |
92 case $basic_machine in | |
93 # Recognize the basic CPU types with without company name. | |
94 # Some are omitted here because they have special meanings below. | |
589
03fd51103bc3
*** empty log message ***
Michael Meissner <gnu@the-meissners.org>
parents:
576
diff
changeset
|
95 tahoe | i[34]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \ |
993 | 96 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \ |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
97 | alpha | we32k | ns16k | clipper ) |
576 | 98 basic_machine=$basic_machine-unknown |
99 ;; | |
1961
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
100 # Object if more than one company name word. |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
101 *-*-*) |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
102 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
103 exit 1 |
eeb000068cc8
Error if company name is more than one word.
Richard M. Stallman <rms@gnu.org>
parents:
1852
diff
changeset
|
104 ;; |
576 | 105 # Recognize the basic CPU types with with company name. |
607
e0ce539246b8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
589
diff
changeset
|
106 vax-* | tahoe-* | i[34]86-* | i860-* | m68k-* | m68000-* | m88k-* \ |
576 | 107 | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ |
108 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | |
109 | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
110 | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
111 | pn-* | np1-* | xps100-* | clipper-* | orion-* ) |
576 | 112 ;; |
113 # Recognize the various machine names and aliases which stand | |
114 # for a CPU type and a company and sometimes even an OS. | |
115 vaxv) | |
116 basic_machine=vax-dec | |
117 os=-sysv | |
118 ;; | |
119 vms) | |
120 basic_machine=vax-dec | |
121 os=-vms | |
122 ;; | |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
123 # I'm not sure what "Sysv32" means. Should this be sysv3.2? |
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
124 i[34]86v32) |
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
125 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` |
738
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
126 os=-sysv32 |
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
127 ;; |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
128 i[34]86v4*) |
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
129 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` |
576 | 130 os=-sysv4 |
131 ;; | |
1735
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
132 i[34]86v) |
5032e4faca19
($os alternatives for sco and isc): Preserve the specified os version if any.
Richard M. Stallman <rms@gnu.org>
parents:
1732
diff
changeset
|
133 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` |
738
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
134 os=-sysv |
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
135 ;; |
1840
b00ada422354
(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
Jim Wilson <wilson@gnu.org>
parents:
1735
diff
changeset
|
136 i[34]86sol2) |
b00ada422354
(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
Jim Wilson <wilson@gnu.org>
parents:
1735
diff
changeset
|
137 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` |
b00ada422354
(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
Jim Wilson <wilson@gnu.org>
parents:
1735
diff
changeset
|
138 os=-solaris2 |
b00ada422354
(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
Jim Wilson <wilson@gnu.org>
parents:
1735
diff
changeset
|
139 ;; |
576 | 140 spur) |
141 basic_machine=spur-unknown | |
142 ;; | |
143 alliant | fx80) | |
144 basic_machine=fx80-alliant | |
145 ;; | |
146 convex-c1) | |
147 basic_machine=c1-convex | |
148 os=-bsd | |
149 ;; | |
150 convex-c2) | |
151 basic_machine=c2-convex | |
152 os=-bsd | |
153 ;; | |
154 convex-c32) | |
155 basic_machine=c32-convex | |
156 os=-bsd | |
157 ;; | |
158 convex-c34) | |
159 basic_machine=c34-convex | |
160 os=-bsd | |
161 ;; | |
162 convex-c38) | |
163 basic_machine=c38-convex | |
164 os=-bsd | |
165 ;; | |
166 m88k-omron*) | |
167 basic_machine=m88k-omron | |
168 ;; | |
169 merlin) | |
170 basic_machine=ns32k-utek | |
171 os=-sysv | |
172 ;; | |
173 crds | unos) | |
174 basic_machine=m68k-crds | |
175 ;; | |
1415
1b82f79c4eb4
Add support for a new 64 bit CPU type. Elxsi.
Mike Stump <mrs@apple.com>
parents:
1270
diff
changeset
|
176 elxsi) |
1b82f79c4eb4
Add support for a new 64 bit CPU type. Elxsi.
Mike Stump <mrs@apple.com>
parents:
1270
diff
changeset
|
177 basic_machine=elxsi-elxsi |
1b82f79c4eb4
Add support for a new 64 bit CPU type. Elxsi.
Mike Stump <mrs@apple.com>
parents:
1270
diff
changeset
|
178 os=-bsd |
1b82f79c4eb4
Add support for a new 64 bit CPU type. Elxsi.
Mike Stump <mrs@apple.com>
parents:
1270
diff
changeset
|
179 ;; |
576 | 180 encore | umax | mmax) |
181 basic_machine=ns32k-encore | |
182 ;; | |
183 genix) | |
184 basic_machine=ns32k-ns | |
185 ;; | |
186 iris | iris4d) | |
187 basic_machine=mips-sgi | |
651
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
188 case $os in |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
189 -irix*) |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
190 ;; |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
191 *) |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
192 os=-irix4 |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
193 ;; |
144027c7abb2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
646
diff
changeset
|
194 esac |
576 | 195 ;; |
196 news | news700 | news800 | news900) | |
197 basic_machine=m68k-sony | |
198 os=-newsos | |
199 ;; | |
200 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) | |
201 basic_machine=m68000-att | |
202 ;; | |
629
e47f9ff356ea
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
613
diff
changeset
|
203 3b*) |
652
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
204 basic_machine=we32k-att |
629
e47f9ff356ea
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
613
diff
changeset
|
205 ;; |
576 | 206 delta | 3300 | motorola-3300 | motorola-delta \ |
207 | 3300-motorola | delta-motorola) | |
208 basic_machine=m68k-motorola | |
209 ;; | |
210 balance) | |
211 basic_machine=ns32k-sequent | |
212 os=-dynix | |
213 ;; | |
214 pc532) | |
215 basic_machine=ns32k-pc532 | |
216 ;; | |
217 symmetry) | |
218 basic_machine=i386-sequent | |
219 os=-dynix | |
220 ;; | |
221 sun2) | |
222 basic_machine=m68000-sun | |
223 ;; | |
224 sun2os3) | |
225 basic_machine=m68000-sun | |
226 os=-sunos3 | |
227 ;; | |
228 sun2os4) | |
229 basic_machine=m68000-sun | |
230 os=-sunos4 | |
231 ;; | |
232 sun3os3) | |
233 basic_machine=m68k-sun | |
234 os=-sunos3 | |
235 ;; | |
236 sun3os4) | |
237 basic_machine=m68k-sun | |
238 os=-sunos4 | |
239 ;; | |
240 sun4os3) | |
241 basic_machine=sparc-sun | |
242 os=-sunos3 | |
243 ;; | |
244 sun4os4) | |
245 basic_machine=sparc-sun | |
246 os=-sunos4 | |
247 ;; | |
248 sun3) | |
249 basic_machine=m68k-sun | |
250 ;; | |
251 sun4) | |
252 basic_machine=sparc-sun | |
253 ;; | |
254 pbd) | |
255 basic_machine=sparc-tti | |
256 ;; | |
257 pbb) | |
258 basic_machine=m68k-tti | |
259 ;; | |
260 sun386 | sun386i | roadrunner) | |
261 basic_machine=i386-sun | |
262 ;; | |
263 ps2) | |
264 basic_machine=i386-ibm | |
265 ;; | |
652
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
266 fx2800) |
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
267 basic_machine=i860-alliant |
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
268 ;; |
576 | 269 next) |
270 basic_machine=m68k-next | |
631
3c7da8664d12
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
629
diff
changeset
|
271 os=-bsd |
576 | 272 ;; |
273 amiga) | |
274 basic_machine=m68k-cbm | |
275 ;; | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
276 amigados) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
277 basic_machine=m68k-cbm |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
278 os=-amigados |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
279 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
280 amigaunix | amix) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
281 basic_machine=m68k-cbm |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
282 os=-sysv4 |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
283 ;; |
576 | 284 hp9k3[2-9][0-9]) |
285 basic_machine=m68k-hp | |
286 ;; | |
287 hp9k31[0-9] | hp9k2[0-9][0-9]) | |
288 basic_machine=m68000-hp | |
289 ;; | |
610
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
290 hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) |
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
291 basic_machine=hppa1.1-hp |
576 | 292 ;; |
610
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
293 hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
294 basic_machine=hppa1.0-hp |
607
e0ce539246b8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
589
diff
changeset
|
295 ;; |
576 | 296 isi68 | isi) |
297 basic_machine=m68k-isi | |
298 os=-sysv | |
299 ;; | |
300 apollo68) | |
301 basic_machine=m68k-apollo | |
302 os=-sysv | |
303 ;; | |
304 altos | altos3068) | |
305 basic_machine=m68k-altos | |
306 ;; | |
307 miniframe) | |
308 basic_machine=m68000-convergent | |
309 ;; | |
310 tower | tower-32) | |
311 basic_machine=m68k-ncr | |
312 ;; | |
313 news-3600 | risc-news) | |
314 basic_machine=mips-sony | |
315 os=-newsos | |
316 ;; | |
652
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
317 decstation | decstation-3100 | pmax | pmin | dec3100 | decstatn) |
576 | 318 basic_machine=mips-dec |
319 ;; | |
320 magnum | m3230) | |
321 basic_machine=mips-mips | |
322 os=-sysv | |
323 ;; | |
324 gmicro) | |
325 basic_machine=tron-gmicro | |
326 os=-sysv | |
327 ;; | |
328 rtpc | rtpc-*) | |
329 basic_machine=romp-ibm | |
330 ;; | |
331 am29k) | |
332 basic_machine=a29k-none | |
333 os=-bsd | |
334 ;; | |
335 amdahl) | |
336 basic_machine=580-amdahl | |
337 os=-sysv | |
338 ;; | |
339 cray | ymp) | |
340 basic_machine=ymp-cray | |
341 os=-unicos | |
342 ;; | |
343 cray2) | |
344 basic_machine=cray2-cray | |
345 os=-unicos | |
346 ;; | |
347 xmp) | |
348 basic_machine=xmp-cray | |
349 os=-unicos | |
350 ;; | |
351 delta88) | |
352 basic_machine=m88k-motorola | |
1852
93cf37057957
removed m88kbcs, changed delta88 and harris to
John Hassey <hassey@dg-rtp.dg.com>
parents:
1840
diff
changeset
|
353 os=-sysv3 |
576 | 354 ;; |
355 dpx2) | |
356 basic_machine=m68k-bull | |
357 os=-sysv | |
358 ;; | |
359 ebmon29k) | |
360 basic_machine=a29k-amd | |
361 os=-ebmon | |
362 ;; | |
363 h8300hds) | |
364 basic_machine=h8300-hitachi | |
365 os=-hds | |
366 ;; | |
367 harris) | |
368 basic_machine=m88k-harris | |
1852
93cf37057957
removed m88kbcs, changed delta88 and harris to
John Hassey <hassey@dg-rtp.dg.com>
parents:
1840
diff
changeset
|
369 os=-sysv3 |
576 | 370 ;; |
371 hp300bsd) | |
372 basic_machine=m68k-hp | |
373 os=-bsd | |
374 ;; | |
375 hp300hpux) | |
376 basic_machine=m68k-hp | |
377 os=-hpux | |
378 ;; | |
379 hp9k2[0-9][0-9] | hp9k31[0-9]) | |
380 basic_machine=m68000-hp | |
381 os=-hpux | |
382 ;; | |
383 hp9k3[2-9][0-9]) | |
384 basic_machine=m68k-hp | |
385 os=-hpux | |
386 ;; | |
387 ncr3000) | |
607
e0ce539246b8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
589
diff
changeset
|
388 basic_machine=i486-ncr |
576 | 389 os=-sysv4 |
390 ;; | |
391 news1000) | |
392 basic_machine=m68030-sony | |
393 os=-newsos | |
394 ;; | |
395 nindy960) | |
396 basic_machine=i960-intel | |
397 os=-nindy | |
398 ;; | |
399 pn) | |
400 basic_machine=pn-gould | |
401 ;; | |
402 np1) | |
403 basic_machine=np1-gould | |
404 ;; | |
405 ultra3) | |
406 basic_machine=a29k-nyu | |
407 os=-sym1 | |
408 ;; | |
409 vxworks960) | |
410 basic_machine=i960-wrs | |
411 os=-vxworks | |
412 ;; | |
413 vxworks68) | |
414 basic_machine=m68k-wrs | |
415 os=-vxworks | |
416 ;; | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
417 xps | xps100) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
418 basic_machine=xps100-honeywell |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
419 ;; |
576 | 420 none) |
421 basic_machine=none-none | |
422 os=-none | |
423 ;; | |
424 | |
425 # Here we handle the default manufacturer of certain CPU types. It is in | |
426 # some cases the only manufacturer, in others, it is the most popular. | |
427 mips) | |
428 basic_machine=mips-mips | |
429 ;; | |
430 romp) | |
431 basic_machine=romp-ibm | |
432 ;; | |
433 rs6000) | |
434 basic_machine=rs6000-ibm | |
435 ;; | |
436 vax) | |
437 basic_machine=vax-dec | |
438 ;; | |
652
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
439 we32k) |
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
440 basic_machine=we32k-att |
88a5b1ed98bb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
651
diff
changeset
|
441 ;; |
576 | 442 sparc) |
443 basic_machine=sparc-sun | |
444 ;; | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
445 cydra) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
446 basic_machine=cydra-cydrome |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
447 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
448 orion) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
449 basic_machine=orion-highlevel |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
450 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
451 orion105) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
452 basic_machine=clipper-highlevel |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
453 ;; |
576 | 454 *) |
455 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
456 exit 1 | |
457 ;; | |
458 esac | |
459 | |
460 # Here we canonicalize certain aliases for manufacturers. | |
461 case $basic_machine in | |
462 *-digital*) | |
463 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
464 ;; | |
465 *-commodore*) | |
466 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
467 ;; | |
468 *) | |
469 ;; | |
470 esac | |
471 | |
472 # Decode manufacturer-specific aliases for certain operating systems. | |
473 | |
474 if [ "$os" ] | |
475 then | |
476 case $os in | |
1732
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
477 # -solaris* is a basic system type, with this one exception. |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
478 -solaris1 | -solaris1.*) |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
479 os=`echo $os | sed -e 's|solaris1|sunos4|'` |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
480 ;; |
576 | 481 # First accept the basic system types. |
482 # The portable systems comes first. | |
483 # Each alternative must end in a *, to match a version number. | |
484 -bsd* | -sysv* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | |
1732
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
485 | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]* | -hpux* \ |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
486 | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
610
5f2f551fc367
*** empty log message ***
Torbjorn Granlund <tege@swox.com>
parents:
607
diff
changeset
|
487 | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \ |
1852
93cf37057957
removed m88kbcs, changed delta88 and harris to
John Hassey <hassey@dg-rtp.dg.com>
parents:
1840
diff
changeset
|
488 | -nindy* | -vxworks* | -ebmon* | -hds* \ |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
489 | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* ) |
576 | 490 ;; |
1732
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
491 -sunos5*) |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
492 os=`echo $os | sed -e 's|sunos5|solaris2|'` |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
493 ;; |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
494 -sunos6*) |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
495 os=`echo $os | sed -e 's|sunos6|solaris3|'` |
2dd86a54c11b
Translate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman <rms@gnu.org>
parents:
1726
diff
changeset
|
496 ;; |
576 | 497 -osfrose*) |
674
d5c90f190057
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
654
diff
changeset
|
498 os=-osfrose |
576 | 499 ;; |
500 -osf*) | |
674
d5c90f190057
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
654
diff
changeset
|
501 os=-osf |
576 | 502 ;; |
742 | 503 -utek*) |
504 os=-bsd | |
505 ;; | |
576 | 506 -dynix*) |
507 os=-bsd | |
508 ;; | |
509 -acis*) | |
510 os=-aos | |
511 ;; | |
512 -ctix* | -uts*) | |
513 os=-sysv | |
514 ;; | |
515 -triton*) | |
516 os=-sysv3 | |
517 ;; | |
518 -oss*) | |
519 os=-sysv3 | |
520 ;; | |
521 -svr4) | |
522 os=-sysv4 | |
523 ;; | |
524 -svr3) | |
525 os=-sysv3 | |
526 ;; | |
1627
1c2f6bc3d8fe
* config.sub: Added Xenix operating system.
Jim Blandy <jimb@redhat.com>
parents:
1545
diff
changeset
|
527 -xenix) |
1c2f6bc3d8fe
* config.sub: Added Xenix operating system.
Jim Blandy <jimb@redhat.com>
parents:
1545
diff
changeset
|
528 os=-xenix |
1c2f6bc3d8fe
* config.sub: Added Xenix operating system.
Jim Blandy <jimb@redhat.com>
parents:
1545
diff
changeset
|
529 ;; |
645
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
530 -none) |
57295fc40ac3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
631
diff
changeset
|
531 ;; |
576 | 532 *) |
533 # Get rid of the `-' at the beginning of $os. | |
534 os=`echo $1 | sed 's/[^-]*-//'` | |
535 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 | |
536 exit 1 | |
537 ;; | |
538 esac | |
539 else | |
540 | |
541 # Here we handle the default operating systems that come with various machines. | |
542 # The value should be what the vendor currently ships out the door with their | |
543 # machine or put another way, the most popular os provided with the machine. | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
544 |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
545 # Note that if you're going to try to match "-MANUFACTURER" here (say, |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
546 # "-sun"), then you have to tell the case statement up towards the top |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
547 # that MANUFACTURER isn't an operating system. Otherwise, code above |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
548 # will signal an error saying that MANUFACTURER isn't an operating |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
549 # system, and we'll never get to this point. |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
550 |
576 | 551 case $basic_machine in |
552 *-dec | vax-*) | |
654
6d56ce1261a7
*** empty log message ***
Michael Meissner <gnu@the-meissners.org>
parents:
653
diff
changeset
|
553 os=-ultrix4.2 |
576 | 554 ;; |
555 i386-sun) | |
654
6d56ce1261a7
*** empty log message ***
Michael Meissner <gnu@the-meissners.org>
parents:
653
diff
changeset
|
556 os=-sunos4.0.2 |
576 | 557 ;; |
558 m68000-sun) | |
559 os=-sunos3 | |
560 # This also exists in the configure program, but was not the | |
561 # default. | |
562 # os=-sunos4 | |
563 ;; | |
564 *-tti) # must be before sparc entry or we get the wrong os. | |
565 os=-sysv3 | |
566 ;; | |
567 sparc-* | *-sun) | |
654
6d56ce1261a7
*** empty log message ***
Michael Meissner <gnu@the-meissners.org>
parents:
653
diff
changeset
|
568 os=-sunos4.1.1 |
576 | 569 ;; |
570 *-ibm) | |
571 os=-aix | |
572 ;; | |
573 *-hp) | |
574 os=-hpux | |
575 ;; | |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
576 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) |
576 | 577 os=-sysv |
578 ;; | |
579 *-cbm) | |
580 os=-amigados | |
581 ;; | |
582 *-dg) | |
583 os=-dgux | |
584 ;; | |
585 *-dolphin) | |
586 os=-sysv3 | |
587 ;; | |
588 m88k-omron*) | |
589 os=-luna | |
590 ;; | |
1726
e44b2de1b698
Default to bsd for *-sequent.
Richard M. Stallman <rms@gnu.org>
parents:
1631
diff
changeset
|
591 *-sequent) |
e44b2de1b698
Default to bsd for *-sequent.
Richard M. Stallman <rms@gnu.org>
parents:
1631
diff
changeset
|
592 os=-bsd |
e44b2de1b698
Default to bsd for *-sequent.
Richard M. Stallman <rms@gnu.org>
parents:
1631
diff
changeset
|
593 ;; |
576 | 594 *-crds) |
595 os=-unos | |
596 ;; | |
597 *-ns) | |
598 os=-genix | |
599 ;; | |
738
81cd2a003397
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
674
diff
changeset
|
600 i[34]86-*) |
646
e283d4164aca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
645
diff
changeset
|
601 os=-sco3.2v2 |
576 | 602 ;; |
1631
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
603 *-gould) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
604 os=-sysv |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
605 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
606 *-highlevel) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
607 os=-bsd |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
608 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
609 *-encore) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
610 os=-bsd |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
611 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
612 *-sgi) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
613 os=-irix |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
614 ;; |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
615 *-masscomp) |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
616 os=-rtu |
9c52fcf232bf
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy <jimb@redhat.com>
parents:
1627
diff
changeset
|
617 ;; |
576 | 618 *) |
619 os=-none | |
620 ;; | |
621 esac | |
622 fi | |
623 | |
624 # Here we handle the case where we know the os, and the CPU type, but not the | |
625 # manufacturer. We pick the logical manufacturer. | |
626 vendor=unknown | |
627 case $basic_machine in | |
628 *-unknown) | |
629 case $os in | |
630 -sunos*) | |
631 vendor=sun | |
632 ;; | |
633 -aix*) | |
634 vendor=ibm | |
635 ;; | |
636 -hpux*) | |
637 vendor=hp | |
638 ;; | |
639 -unos*) | |
640 vendor=crds | |
641 ;; | |
642 -dgux*) | |
643 vendor=dg | |
644 ;; | |
645 -luna*) | |
646 vendor=omron | |
647 ;; | |
648 -genix*) | |
649 vendor=ns | |
650 ;; | |
651 esac | |
652 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
653 ;; | |
654 esac | |
655 | |
656 echo $basic_machine$os |