annotate config.sub @ 64:a01e7a40045c r19-16-pre7

Import from CVS: tag r19-16-pre7
author cvs
date Mon, 13 Aug 2007 08:59:30 +0200
parents 376386a54a3c
children 57709be46d1b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 #! /bin/sh
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 # Configuration validation subroutine script, version 1.1.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 # Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 # This file is (in principle) common to ALL GNU software.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 # The presence of a machine in this file suggests that SOME GNU software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 # can handle that machine. It does not imply ALL GNU software can.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 # This file is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 # it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 # the Free Software Foundation; either version 2 of the License, or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 # (at your option) any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 # This program is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 # GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 # You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 # along with this program; if not, write to the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 # Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 # Boston, MA 02111-1307, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 # Synched up with: FSF 19.31.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 # As a special exception to the GNU General Public License, if you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 # distribute this file as part of a program that contains a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 # configuration script generated by Autoconf, you may include it under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 # the same distribution terms that you use for the rest of that program.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 # Configuration subroutine to validate and canonicalize a configuration type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 # Supply the specified configuration type as an argument.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 # If it is invalid, we print an error message on stderr and exit with code 1.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 # Otherwise, we print the canonical config type on stdout and succeed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 # This file is supposed to be the same for all GNU packages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 # and recognize all the CPU types, system types and aliases
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 # that are meaningful with *any* GNU software.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 # Each package is responsible for reporting which valid configurations
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 # it does not support. The user should be able to distinguish
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 # a failure to support a valid configuration from a meaningless
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 # configuration.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 # The goal of this file is to map all the various variations of a given
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 # machine specification into a single specification in the form:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 # It is wrong to echo any other type of specification.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 if [ x$1 = x ]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 echo Configuration name missing. 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 echo "or $0 ALIAS" 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 echo where ALIAS is a recognized configuration type. 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 # First pass through any local machine types.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 case $1 in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 *local*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 echo $1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 exit 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 # Separate what the user gave into CPU-COMPANY and OS (if any).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 if [ $basic_machine != $1 ]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 then os=`echo $1 | sed 's/.*-/-/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 else os=; fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 ### Let's recognize common machines as not being operating systems so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 ### that things like config.sub decstation-3100 work. We also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 ### recognize some manufacturers as not being operating systems, so we
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 ### can provide default operating systems below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 -sun*os*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 # Prevent following clause from handling this invalid input.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 -apple)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 os=
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 basic_machine=$1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 -hiux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 os=-hiuxwe2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 -sco5)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 os=sco3.2v5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 -sco4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 os=-sco3.2v4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 -sco3.2.[4-9]*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 -sco3.2v[4-9]*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 # Don't forget version if it is 3.2v4 or newer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 -sco*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 os=-sco3.2v2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 -isc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 os=-isc2.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 -clix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 basic_machine=clipper-intergraph
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 -isc*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 -lynx*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 os=-lynxos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 -ptx*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 -windowsnt*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 os=`echo $os | sed -e 's/windowsnt/winnt/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 -psos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 os=-psos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 # Decode aliases for certain CPU-COMPANY combinations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 # Recognize the basic CPU types without company name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 # Some are omitted here because they have special meanings below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 tahoe | i[3-9]86 | i860 | m68k | m68000 | m88k | ns32k | arm \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 | arme[lb] | pyramid \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 | alpha | we32k | mab | ns16k | clipper | i370 | sh \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 | powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 | pdp11 | mips64el | mips64orion | mips64orionel \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 | sparc | sparclet | sparclite | sparc64)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 basic_machine=$basic_machine-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 # Object if more than one company name word.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 *-*-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 # Recognize the basic CPU types with company name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 vax-* | tahoe-* | i[3-9]86-* | i860-* | m68k-* | m68000-* | m88k-* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 | mips64el-* | mips64orion-* | mips64orionel-* | mab-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 # Recognize names of some NetBSD ports.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 amiga-* | hp300-* | mac68k-* | sun3-* | pmax-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 # Recognize the various machine names and aliases which stand
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 # for a CPU type and a company and sometimes even an OS.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 basic_machine=m68000-att
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 3b*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 basic_machine=we32k-att
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 alliant | fx80)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 basic_machine=fx80-alliant
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 altos | altos3068)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 basic_machine=m68k-altos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 am29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 basic_machine=a29k-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 amdahl)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 basic_machine=580-amdahl
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 amiga | amiga-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 basic_machine=m68k-cbm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 amigados)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 basic_machine=m68k-cbm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 os=-amigados
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 amigaunix | amix)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 basic_machine=m68k-cbm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 apollo68)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 basic_machine=m68k-apollo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 aux)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 basic_machine=m68k-apple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 os=-aux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 aux)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 basic_machine=m68k-apple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 os=-aux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 balance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 basic_machine=ns32k-sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 os=-dynix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 convex-c1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 basic_machine=c1-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 convex-c2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 basic_machine=c2-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 convex-c32)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 basic_machine=c32-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 convex-c34)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 basic_machine=c34-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 convex-c38)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 basic_machine=c38-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 cray | ymp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 basic_machine=ymp-cray
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 cray2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 basic_machine=cray2-cray
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 [ctj]90-cray)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 basic_machine=c90-cray
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 crds | unos)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 basic_machine=m68k-crds
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 da30 | da30-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 basic_machine=m68k-da30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 basic_machine=mips-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 delta | 3300 | motorola-3300 | motorola-delta \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 | 3300-motorola | delta-motorola)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 basic_machine=m68k-motorola
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 delta88)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 basic_machine=m88k-motorola
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 dpx20 | dpx20-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 basic_machine=rs6000-bull
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 os=-bosx
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 dpx2* | dpx2*-bull)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 basic_machine=m68k-bull
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 ebmon29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 basic_machine=a29k-amd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 os=-ebmon
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 elxsi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 basic_machine=elxsi-elxsi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 encore | umax | mmax)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 basic_machine=ns32k-encore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 fx2800)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 basic_machine=i860-alliant
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 genix)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 basic_machine=ns32k-ns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 gmicro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 basic_machine=tron-gmicro
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 h3050r* | hiux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 basic_machine=hppa1.1-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 os=-hiuxwe2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 h8300hms)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 basic_machine=h8300-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 os=-hms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 harris)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 basic_machine=m88k-harris
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 hp300-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 hp300bsd)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 hp300hpux)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 os=-hpux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 hp9k2[0-9][0-9] | hp9k31[0-9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 basic_machine=m68000-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 hp9k3[2-9][0-9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 basic_machine=hppa1.1-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 hp9k8[0-9][0-9] | hp8[0-9][0-9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 basic_machine=hppa1.0-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 i370-ibm* | ibm*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 basic_machine=i370-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 os=-mvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 # I'm not sure what "Sysv32" means. Should this be sysv3.2?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 i[3-9]86v32)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 os=-sysv32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 i[3-9]86v4*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 i[3-9]86v)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 i[3-9]86sol2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 os=-solaris2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 iris | iris4d)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 basic_machine=mips-sgi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 -irix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 os=-irix4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 isi68 | isi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 basic_machine=m68k-isi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 m88k-omron*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 basic_machine=m88k-omron
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 magnum | m3230)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 basic_machine=mips-mips
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 merlin)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 basic_machine=ns32k-utek
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 miniframe)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 basic_machine=m68000-convergent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 mips3*-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 mips3*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 ncr3000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 basic_machine=i486-ncr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 news | news700 | news800 | news900)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 basic_machine=m68k-sony
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 os=-newsos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 news1000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 basic_machine=m68030-sony
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 os=-newsos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398 news-3600 | risc-news)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 basic_machine=mips-sony
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 os=-newsos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 next | m*-next )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 basic_machine=m68k-next
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 -nextstep* )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 -ns2*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408 os=-nextstep2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 os=-nextstep3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 nh3000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 basic_machine=m68k-harris
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 os=-cxux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 nh[45]000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 basic_machine=m88k-harris
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 os=-cxux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 nindy960)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 basic_machine=i960-intel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 os=-nindy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 np1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 basic_machine=np1-gould
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 pa-hitachi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 basic_machine=hppa1.1-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 os=-hiuxwe2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 paragon)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 basic_machine=i860-intel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436 os=-osf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 pbd)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 basic_machine=sparc-tti
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 pbb)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 basic_machine=m68k-tti
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 pc532 | pc532-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 -netbsd*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 basic_machine=pc532-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 basic_machine=ns32k-pc532
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 pentium | p5)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 basic_machine=i586-intel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457 pentiumpro | p6)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 basic_machine=i686-intel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 pentium-* | p5-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 pentiumpro-* | p6-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 k5)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 # We don't have specific support for AMD's K5 yet, so just call it a Pentium
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468 basic_machine=i586-amd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 nexen)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 # We don't have specific support for Nexgen yet, so just call it a Pentium
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 basic_machine=i586-nexgen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 pn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 basic_machine=pn-gould
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 power) basic_machine=rs6000-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 ppc) basic_machine=powerpc-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 ppcle | powerpclittle | ppc-le | powerpc-little)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 basic_machine=powerpcle-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 ppcle-* | powerpclittle-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 ps2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 basic_machine=i386-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 rm[46]00)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 basic_machine=mips-siemens
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 rtpc | rtpc-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 basic_machine=romp-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 sequent)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 basic_machine=i386-sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 sh)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 basic_machine=sh-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503 os=-hms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 sps7)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 basic_machine=m68k-bull
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 os=-sysv2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 spur)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 basic_machine=spur-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 sun2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 basic_machine=m68000-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 sun2os3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 basic_machine=m68000-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 sun2os4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 basic_machine=m68000-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 sun3os3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 basic_machine=m68k-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 sun3os4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 basic_machine=m68k-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 sun4os3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 sun4os4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 sun4sol2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 os=-solaris2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 sun3 | sun3-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 basic_machine=m68k-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 sun4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 sun386 | sun386i | roadrunner)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 basic_machine=i386-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 symmetry)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 basic_machine=i386-sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 os=-dynix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 tower | tower-32)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 basic_machine=m68k-ncr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 udi29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 basic_machine=a29k-amd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 os=-udi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 ultra3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 basic_machine=a29k-nyu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 os=-sym1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 vaxv)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 basic_machine=vax-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 vms)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 basic_machine=vax-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 os=-vms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 vxworks960)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 basic_machine=i960-wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 os=-vxworks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 vxworks68)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 basic_machine=m68k-wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 os=-vxworks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 vxworks29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 basic_machine=a29k-wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 os=-vxworks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 xmp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 basic_machine=xmp-cray
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 xps | xps100)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 basic_machine=xps100-honeywell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 none)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 basic_machine=none-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 os=-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 # Here we handle the default manufacturer of certain CPU types. It is in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 # some cases the only manufacturer, in others, it is the most popular.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 mips)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602 basic_machine=mips-mips
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 romp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 basic_machine=romp-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 rs6000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 basic_machine=rs6000-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 vax)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 basic_machine=vax-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613 pdp11)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 basic_machine=pdp11-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 we32k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 basic_machine=we32k-att
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619 sparc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 cydra)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623 basic_machine=cydra-cydrome
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625 orion)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626 basic_machine=orion-highlevel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 orion105)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 basic_machine=clipper-highlevel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 # Here we canonicalize certain aliases for manufacturers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 *-digital*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 *-commodore*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 # Decode manufacturer-specific aliases for certain operating systems.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651 if [ x"$os" != x"" ]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 # -solaris* is a basic system type, with this one exception.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655 -solaris1 | -solaris1.*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 os=`echo $os | sed -e 's|solaris1|sunos4|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 -solaris)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 os=-solaris2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 -unixware* | svr4*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664 -gnu/linux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665 os=`echo $os | sed -e 's|gnu/linux|linux|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 # First accept the basic system types.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 # The portable systems comes first.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 # Each alternative MUST END IN A *, to match a version number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 # -sysv* is not here because it comes later, after sysvr4.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[345]* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674 | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676 | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677 | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681 | -cygwin32* | -pe* | -psos* | -moss* )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 # Remember, each alternative MUST END IN *, to match a version number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 -sunos5*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685 os=`echo $os | sed -e 's|sunos5|solaris2|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
687 -sunos6*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
688 os=`echo $os | sed -e 's|sunos6|solaris3|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690 -osfrose*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 os=-osfrose
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 -osf*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694 os=-osf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 -utek*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 -dynix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 -acis*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 os=-aos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705 -ctix* | -uts*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 -ns2 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 os=-nextstep2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 # Preserve the version number of sinix5.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712 -sinix5.*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 os=`echo $os | sed -e 's|sinix|sysv|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715 -sinix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 -triton*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 -oss*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 -svr4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727 -svr3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 -sysvr4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 # This must come after -sysvr4.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 -sysv*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736 -xenix)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 os=-xenix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 -none)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742 # Get rid of the `-' at the beginning of $os.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743 os=`echo $os | sed 's/[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750 # Here we handle the default operating systems that come with various machines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 # The value should be what the vendor currently ships out the door with their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 # machine or put another way, the most popular os provided with the machine.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 # Note that if you're going to try to match "-MANUFACTURER" here (say,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755 # "-sun"), then you have to tell the case statement up towards the top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 # that MANUFACTURER isn't an operating system. Otherwise, code above
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757 # will signal an error saying that MANUFACTURER isn't an operating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 # system, and we'll never get to this point.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761 *-acorn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762 os=-riscix1.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 arm*-semi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 os=-aout
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 pdp11-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 os=-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770 *-dec | vax-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 os=-ultrix4.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 m68*-apollo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774 os=-domain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 i386-sun)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 os=-sunos4.0.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 m68000-sun)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 # This also exists in the configure program, but was not the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 # default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 # os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785 *-tti) # must be before sparc entry or we get the wrong os.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 sparc-* | *-sun)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789 os=-sunos4.1.1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791 *-ibm)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 os=-aix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794 *-hp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795 os=-hpux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797 *-hitachi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798 os=-hiux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
799 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
800 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
801 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
802 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803 *-cbm)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
804 os=-amigados
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806 *-dg)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 os=-dgux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809 *-dolphin)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
812 m68k-ccur)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
813 os=-rtu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
814 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
815 m88k-omron*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
816 os=-luna
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
817 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
818 *-next )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
819 os=-nextstep
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
820 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
821 *-sequent)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
822 os=-ptx
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
823 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
824 *-crds)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 os=-unos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827 *-ns)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828 os=-genix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830 i370-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 os=-mvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
832 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833 *-next)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834 os=-nextstep3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
836 *-gould)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
837 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
838 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839 *-highlevel)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
841 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842 *-encore)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845 *-sgi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 os=-irix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
848 *-siemens)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 *-masscomp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852 os=-rtu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
853 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 os=-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
856 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
857 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858 fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
859
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
860 # Here we handle the case where we know the os, and the CPU type, but not the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
861 # manufacturer. We pick the logical manufacturer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
862 vendor=unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
864 *-unknown)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866 -riscix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
867 vendor=acorn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
868 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
869 -sunos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870 vendor=sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872 -lynxos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
873 vendor=lynx
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
874 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875 -aix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
876 vendor=ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
878 -hpux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
879 vendor=hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881 -hiux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882 vendor=hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
884 -unos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 vendor=crds
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
886 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
887 -dgux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
888 vendor=dg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
889 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
890 -luna*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
891 vendor=omron
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
892 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
893 -genix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894 vendor=ns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
895 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896 -mvs*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
897 vendor=ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
898 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
899 -ptx*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
900 vendor=sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
901 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
902 -vxworks*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
903 vendor=wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
904 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
905 -aux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
906 vendor=apple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
907 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
908 -aux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
909 vendor=apple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
910 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
911 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
912 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
913 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
914
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
915 echo $basic_machine$os