annotate config.sub @ 400:a86b2b5e0111 r21-2-30

Import from CVS: tag r21-2-30
author cvs
date Mon, 13 Aug 2007 11:14:34 +0200
parents 74fd4e045ea6
children de805c49cfc1
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.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
3 # Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc.
0
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 # As a special exception to the GNU General Public License, if you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 # distribute this file as part of a program that contains a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 # configuration script generated by Autoconf, you may include it under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 # the same distribution terms that you use for the rest of that program.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 # Configuration subroutine to validate and canonicalize a configuration type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 # Supply the specified configuration type as an argument.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 # 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
31 # Otherwise, we print the canonical config type on stdout and succeed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 # This file is supposed to be the same for all GNU packages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 # and recognize all the CPU types, system types and aliases
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 # that are meaningful with *any* GNU software.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 # Each package is responsible for reporting which valid configurations
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 # it does not support. The user should be able to distinguish
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 # a failure to support a valid configuration from a meaningless
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 # configuration.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 # 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
42 # machine specification into a single specification in the form:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
44 # or in some cases, the newer four-part form:
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
45 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
0
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
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
67 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
68 # Here we must recognize all the valid KERNEL-OS combinations.
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
69 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
70 case $maybe_os in
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
71 linux-gnu*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
72 os=-$maybe_os
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
73 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
74 ;;
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
75 *)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
76 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
77 if [ $basic_machine != $1 ]
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
78 then os=`echo $1 | sed 's/.*-/-/'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
79 else os=; fi
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
80 ;;
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
81 esac
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 ### Let's recognize common machines as not being operating systems so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 ### that things like config.sub decstation-3100 work. We also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 ### recognize some manufacturers as not being operating systems, so we
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 ### can provide default operating systems below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 -sun*os*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 # Prevent following clause from handling this invalid input.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 -apple)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 os=
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 basic_machine=$1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
101 -sim | -cisco | -oki | -wec | -winbond)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
102 os=
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
103 basic_machine=$1
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
104 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
105 -scout)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
106 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
107 -wrs)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
108 os=-vxworks
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
109 basic_machine=$1
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
110 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 -hiux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 os=-hiuxwe2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 -sco5)
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
115 os=-sco3.2v5
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
116 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 -sco4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 os=-sco3.2v4
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
120 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 -sco3.2.[4-9]*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
124 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 -sco3.2v[4-9]*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 # Don't forget version if it is 3.2v4 or newer.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
128 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 -sco*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 os=-sco3.2v2
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
132 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
134 -udk*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
135 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
136 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 -isc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 os=-isc2.2
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
139 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 -clix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 basic_machine=clipper-intergraph
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 -isc*)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
145 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 -lynx*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 os=-lynxos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 -ptx*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 -windowsnt*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 os=`echo $os | sed -e 's/windowsnt/winnt/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 -psos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 os=-psos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
159 -mint | -mint[0-9]*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
160 basic_machine=m68k-atari
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
161 os=-mint
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
162 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 # Decode aliases for certain CPU-COMPANY combinations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 # Recognize the basic CPU types without company name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 # Some are omitted here because they have special meanings below.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
169 tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
170 | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
171 | 580 | i960 | h8300 \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
172 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
173 | alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
174 | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
175 | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
176 | mips64orion | mips64orionel | mipstx39 | mipstx39el \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
177 | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
178 | mips64vr5000 | miprs64vr5000el | mcore \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
179 | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
180 | thumb | d10v | fr30)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 basic_machine=$basic_machine-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
183 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
184 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
185
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
186 # We use `pc' rather than `unknown'
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
187 # because (1) that's what they normally are, and
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
188 # (2) the word "unknown" tends to confuse beginning users.
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
189 i[34567]86)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
190 basic_machine=$basic_machine-pc
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
191 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 # Object if more than one company name word.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 *-*-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 # Recognize the basic CPU types with company name.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
198 # FIXME: clean up the formatting here.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
199 vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
200 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
201 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
202 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
203 | xmp-* | ymp-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
204 | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
205 | alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67]-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
206 | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
207 | clipper-* | orion-* \
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
208 | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
209 | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
210 | mips64el-* | mips64orion-* | mips64orionel-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
211 | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
212 | mipstx39-* | mipstx39el-* | mcore-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
213 | f301-* | armv*-* | t3e-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
214 | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
215 | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 # Recognize the various machine names and aliases which stand
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 # for a CPU type and a company and sometimes even an OS.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
219 386bsd)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
220 basic_machine=i386-unknown
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
221 os=-bsd
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
222 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 basic_machine=m68000-att
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 3b*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 basic_machine=we32k-att
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
229 a29khif)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
230 basic_machine=a29k-amd
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
231 os=-udi
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
232 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
233 adobe68k)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
234 basic_machine=m68010-adobe
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
235 os=-scout
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
236 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 alliant | fx80)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 basic_machine=fx80-alliant
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 altos | altos3068)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 basic_machine=m68k-altos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 am29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 basic_machine=a29k-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 amdahl)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 basic_machine=580-amdahl
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 amiga | amiga-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 basic_machine=m68k-cbm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
254 amigaos | amigados)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 basic_machine=m68k-cbm
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
256 os=-amigaos
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 amigaunix | amix)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 basic_machine=m68k-cbm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 apollo68)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 basic_machine=m68k-apollo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
266 apollo68bsd)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
267 basic_machine=m68k-apollo
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
268 os=-bsd
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
269 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 aux)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 basic_machine=m68k-apple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 os=-aux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 balance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 basic_machine=ns32k-sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 os=-dynix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 convex-c1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 basic_machine=c1-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 convex-c2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 basic_machine=c2-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 convex-c32)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 basic_machine=c32-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 convex-c34)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 basic_machine=c34-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 convex-c38)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 basic_machine=c38-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 cray | ymp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 basic_machine=ymp-cray
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 cray2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 basic_machine=cray2-cray
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 [ctj]90-cray)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 basic_machine=c90-cray
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 crds | unos)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 basic_machine=m68k-crds
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 da30 | da30-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 basic_machine=m68k-da30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 basic_machine=mips-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 delta | 3300 | motorola-3300 | motorola-delta \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 | 3300-motorola | delta-motorola)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 basic_machine=m68k-motorola
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 delta88)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 basic_machine=m88k-motorola
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 dpx20 | dpx20-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 basic_machine=rs6000-bull
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 os=-bosx
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 dpx2* | dpx2*-bull)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 basic_machine=m68k-bull
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 ebmon29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 basic_machine=a29k-amd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 os=-ebmon
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 elxsi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 basic_machine=elxsi-elxsi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 encore | umax | mmax)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 basic_machine=ns32k-encore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
346 es1800 | OSE68k | ose68k | ose | OSE)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
347 basic_machine=m68k-ericsson
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
348 os=-ose
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
349 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 fx2800)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 basic_machine=i860-alliant
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 genix)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 basic_machine=ns32k-ns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 gmicro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 basic_machine=tron-gmicro
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 h3050r* | hiux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 basic_machine=hppa1.1-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 os=-hiuxwe2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 h8300hms)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 basic_machine=h8300-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 os=-hms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
368 h8300xray)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
369 basic_machine=h8300-hitachi
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
370 os=-xray
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
371 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
372 h8500hms)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
373 basic_machine=h8500-hitachi
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
374 os=-hms
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
375 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 harris)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 basic_machine=m88k-harris
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 hp300-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 hp300bsd)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 hp300hpux)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 os=-hpux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
391 hp3k9[0-9][0-9] | hp9[0-9][0-9])
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
392 basic_machine=hppa1.0-hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
393 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 hp9k2[0-9][0-9] | hp9k31[0-9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 basic_machine=m68000-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 hp9k3[2-9][0-9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
400 hp9k6[0-9][0-9] | hp6[0-9][0-9])
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
401 basic_machine=hppa1.0-hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
402 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
403 hp9k7[0-79][0-9] | hp7[0-79][0-9])
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
404 basic_machine=hppa1.1-hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
405 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
406 hp9k78[0-9] | hp78[0-9])
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
407 # FIXME: really hppa2.0-hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
408 basic_machine=hppa1.1-hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
409 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
410 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
411 # FIXME: really hppa2.0-hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
412 basic_machine=hppa1.1-hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
413 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
414 hp9k8[0-9][13679] | hp8[0-9][13679])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 basic_machine=hppa1.1-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 hp9k8[0-9][0-9] | hp8[0-9][0-9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 basic_machine=hppa1.0-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
420 hppa-next)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
421 os=-nextstep3
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
422 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
423 hppaosf)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
424 basic_machine=hppa1.1-hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
425 os=-osf
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
426 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
427 hppro)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
428 basic_machine=hppa1.1-hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
429 os=-proelf
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
430 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 i370-ibm* | ibm*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 basic_machine=i370-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 # I'm not sure what "Sysv32" means. Should this be sysv3.2?
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
435 i[34567]86v32)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
436 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 os=-sysv32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
439 i[34567]86v4*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
440 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
443 i[34567]86v)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
444 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
447 i[34567]86sol2)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
448 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 os=-solaris2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
451 i386mach)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
452 basic_machine=i386-mach
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
453 os=-mach
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
454 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
455 i386-vsta | vsta)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
456 basic_machine=i386-unknown
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
457 os=-vsta
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
458 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
459 i386-go32 | go32)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
460 basic_machine=i386-unknown
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
461 os=-go32
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
462 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
463 i386-mingw32 | mingw32)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
464 basic_machine=i386-unknown
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
465 os=-mingw32
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
466 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
467 i386-qnx | qnx)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
468 basic_machine=i386-qnx
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
469 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 iris | iris4d)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 basic_machine=mips-sgi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 -irix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476 os=-irix4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 isi68 | isi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 basic_machine=m68k-isi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 m88k-omron*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 basic_machine=m88k-omron
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 magnum | m3230)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 basic_machine=mips-mips
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 merlin)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 basic_machine=ns32k-utek
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 miniframe)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 basic_machine=m68000-convergent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
498 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
499 basic_machine=m68k-atari
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
500 os=-mint
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
501 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
502 mipsel*-linux*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
503 basic_machine=mipsel-unknown
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
504 os=-linux-gnu
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
505 ;;
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
506 mips*-linux*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
507 basic_machine=mips-unknown
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
508 os=-linux-gnu
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
509 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 mips3*-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 mips3*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
516 monitor)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
517 basic_machine=m68k-rom68k
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
518 os=-coff
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
519 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
520 msdos)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
521 basic_machine=i386-unknown
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
522 os=-msdos
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
523 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
524 mvs)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
525 basic_machine=i370-ibm
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
526 os=-mvs
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
527 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 ncr3000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 basic_machine=i486-ncr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
532 netbsd386)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
533 basic_machine=i386-unknown
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
534 os=-netbsd
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
535 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
536 netwinder)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
537 basic_machine=armv4l-rebel
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
538 os=-linux
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
539 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 news | news700 | news800 | news900)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 basic_machine=m68k-sony
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 os=-newsos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 news1000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 basic_machine=m68030-sony
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 os=-newsos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 news-3600 | risc-news)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 basic_machine=mips-sony
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 os=-newsos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
552 necv70)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
553 basic_machine=v70-nec
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
554 os=-sysv
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
555 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 next | m*-next )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 basic_machine=m68k-next
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 -nextstep* )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 -ns2*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 os=-nextstep2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 os=-nextstep3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 nh3000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 basic_machine=m68k-harris
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 os=-cxux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 nh[45]000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 basic_machine=m88k-harris
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 os=-cxux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 nindy960)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 basic_machine=i960-intel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 os=-nindy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
581 mon960)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
582 basic_machine=i960-intel
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
583 os=-mon960
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
584 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 np1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 basic_machine=np1-gould
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
588 op50n-* | op60c-*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
589 basic_machine=hppa1.1-oki
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
590 os=-proelf
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
591 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
592 OSE68000 | ose68000)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
593 basic_machine=m68000-ericsson
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
594 os=-ose
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
595 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
596 os68k)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
597 basic_machine=m68k-none
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
598 os=-os68k
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
599 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 pa-hitachi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 basic_machine=hppa1.1-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602 os=-hiuxwe2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 paragon)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 basic_machine=i860-intel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 os=-osf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 pbd)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 basic_machine=sparc-tti
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 pbb)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 basic_machine=m68k-tti
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 pc532 | pc532-*)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
615 basic_machine=ns32k-pc532
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
616 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
617 pentium | p5 | k5 | k6 | nexen)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
618 basic_machine=i586-pc
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
620 pentiumpro | p6 | 6x86)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
621 basic_machine=i686-pc
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
623 pentiumii | pentium2)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
624 basic_machine=i786-pc
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
626 pentium-* | p5-* | k5-* | k6-* | nexen-*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
629 pentiumpro-* | p6-* | 6x86-*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
632 pentiumii-* | pentium2-*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
633 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 pn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 basic_machine=pn-gould
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 power) basic_machine=rs6000-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 ppc) basic_machine=powerpc-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 ppcle | powerpclittle | ppc-le | powerpc-little)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 basic_machine=powerpcle-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 ppcle-* | powerpclittle-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650 ps2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651 basic_machine=i386-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
653 rom68k)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
654 basic_machine=m68k-rom68k
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
655 os=-coff
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
656 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 rm[46]00)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 basic_machine=mips-siemens
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 rtpc | rtpc-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 basic_machine=romp-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
663 sa29200)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
664 basic_machine=a29k-amd
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
665 os=-udi
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
666 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 sequent)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 basic_machine=i386-sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 sh)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 basic_machine=sh-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 os=-hms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
674 sparclite-wrs)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
675 basic_machine=sparclite-wrs
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
676 os=-vxworks
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
677 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 sps7)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 basic_machine=m68k-bull
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 os=-sysv2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 spur)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683 basic_machine=spur-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
685 st2000)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
686 basic_machine=m68k-tandem
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
687 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
688 stratus)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
689 basic_machine=i860-stratus
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
690 os=-sysv4
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
691 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 sun2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 basic_machine=m68000-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695 sun2os3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 basic_machine=m68000-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 sun2os4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700 basic_machine=m68000-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701 os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 sun3os3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 basic_machine=m68k-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 sun3os4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 basic_machine=m68k-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 sun4os3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715 sun4os4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717 os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 sun4sol2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 os=-solaris2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 sun3 | sun3-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 basic_machine=m68k-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 sun4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 sun386 | sun386i | roadrunner)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 basic_machine=i386-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732 symmetry)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 basic_machine=i386-sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 os=-dynix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
736 t3e)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
737 basic_machine=t3e-cray
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
738 os=-unicos
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
739 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
740 tx39)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
741 basic_machine=mipstx39-unknown
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
742 ;;
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
743 tx39el)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
744 basic_machine=mipstx39el-unknown
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
745 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746 tower | tower-32)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747 basic_machine=m68k-ncr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749 udi29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750 basic_machine=a29k-amd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 os=-udi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753 ultra3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 basic_machine=a29k-nyu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755 os=-sym1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
757 v810 | necv810)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
758 basic_machine=v810-nec
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
759 os=-none
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
760 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761 vaxv)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762 basic_machine=vax-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 vms)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766 basic_machine=vax-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 os=-vms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
769 vpp*|vx|vx-*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
770 basic_machine=f301-fujitsu
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
771 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772 vxworks960)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 basic_machine=i960-wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774 os=-vxworks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776 vxworks68)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 basic_machine=m68k-wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 os=-vxworks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780 vxworks29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 basic_machine=a29k-wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 os=-vxworks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
784 w65*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
785 basic_machine=w65-wdc
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
786 os=-none
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
787 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
788 w89k-*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
789 basic_machine=hppa1.1-winbond
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
790 os=-proelf
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
791 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 xmp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793 basic_machine=xmp-cray
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 xps | xps100)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797 basic_machine=xps100-honeywell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
799 z8k-*-coff)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
800 basic_machine=z8k-unknown
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
801 os=-sim
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
802 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803 none)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
804 basic_machine=none-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805 os=-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808 # Here we handle the default manufacturer of certain CPU types. It is in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809 # some cases the only manufacturer, in others, it is the most popular.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
810 w89k)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
811 basic_machine=hppa1.1-winbond
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
812 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
813 op50n)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
814 basic_machine=hppa1.1-oki
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
815 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
816 op60c)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
817 basic_machine=hppa1.1-oki
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
818 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
819 mips)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
820 if [ x$os = x-linux-gnu ]; then
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
821 basic_machine=mips-unknown
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
822 else
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
823 basic_machine=mips-mips
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
824 fi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826 romp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827 basic_machine=romp-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829 rs6000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830 basic_machine=rs6000-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
832 vax)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833 basic_machine=vax-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 pdp11)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
836 basic_machine=pdp11-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
837 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
838 we32k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839 basic_machine=we32k-att
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
841 sparc | sparcv9)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844 cydra)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845 basic_machine=cydra-cydrome
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 orion)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
848 basic_machine=orion-highlevel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850 orion105)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 basic_machine=clipper-highlevel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
853 mac | mpw | mac-mpw)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
854 basic_machine=m68k-apple
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
855 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
856 pmac | pmac-mpw)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
857 basic_machine=powerpc-apple
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
858 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
859 c4x*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
860 basic_machine=c4x-none
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
861 os=-coff
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
862 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
864 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
867 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
868
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
869 # Here we canonicalize certain aliases for manufacturers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871 *-digital*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
873 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
874 *-commodore*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
876 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
878 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
879 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881 # Decode manufacturer-specific aliases for certain operating systems.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 if [ x"$os" != x"" ]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
884 then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 case $os in
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
886 # First match some system type aliases
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
887 # that might get confused with valid system types.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
888 # -solaris* is a basic system type, with this one exception.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
889 -solaris1 | -solaris1.*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
890 os=`echo $os | sed -e 's|solaris1|sunos4|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
891 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
892 -solaris)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
893 os=-solaris2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
895 -svr4*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
897 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
898 -unixware*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
899 os=-sysv4.2uw
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
900 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
901 -gnu/linux*)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
902 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
903 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
904 # First accept the basic system types.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
905 # The portable systems comes first.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
906 # Each alternative MUST END IN A *, to match a version number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
907 # -sysv* is not here because it comes later, after sysvr4.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
908 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
909 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
910 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
911 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
912 | -aos* \
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
913 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
914 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
915 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
916 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
917 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
918 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
919 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
920 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
921 | -interix* | -uwin* | -rhapsody* | -opened* | -openstep* | -oskit*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
922 # Remember, each alternative MUST END IN *, to match a version number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
923 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
924 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
925 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
926 | -macos* | -mpw* | -magic* | -mon960* | -lnews*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
927 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
928 -mac*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
929 os=`echo $os | sed -e 's|mac|macos|'`
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
930 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
931 -linux*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
932 os=`echo $os | sed -e 's|linux|linux-gnu|'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
933 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
934 -sunos5*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
935 os=`echo $os | sed -e 's|sunos5|solaris2|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
936 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
937 -sunos6*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
938 os=`echo $os | sed -e 's|sunos6|solaris3|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
939 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
940 -opened*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
941 os=-openedition
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
942 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
943 -osfrose*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
944 os=-osfrose
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
945 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
946 -osf*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
947 os=-osf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
948 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
949 -utek*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
950 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
951 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
952 -dynix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
953 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
954 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
955 -acis*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
956 os=-aos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
957 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
958 -386bsd)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
959 os=-bsd
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
960 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
961 -ctix* | -uts*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
962 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
963 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
964 -ns2 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
965 os=-nextstep2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
966 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
967 # Preserve the version number of sinix5.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
968 -sinix5.*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
969 os=`echo $os | sed -e 's|sinix|sysv|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
970 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
971 -sinix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
972 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
973 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
974 -triton*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
975 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
976 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
977 -oss*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
978 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
979 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
980 -qnx)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
981 os=-qnx4
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
982 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
983 -svr4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
984 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
985 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
986 -svr3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
987 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
988 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
989 -sysvr4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
990 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
991 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
992 # This must come after -sysvr4.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
993 -sysv*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
994 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
995 -ose*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
996 os=-ose
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
997 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
998 -es1800*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
999 os=-ose
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1000 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1001 -xenix)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1002 os=-xenix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1003 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1004 -*mint | -*MiNT)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1005 os=-mint
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1006 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1007 -none)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1008 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1009 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1010 # Get rid of the `-' at the beginning of $os.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1011 os=`echo $os | sed 's/[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1012 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1013 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1014 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1015 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1016 else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1017
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1018 # Here we handle the default operating systems that come with various machines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1019 # 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
1020 # machine or put another way, the most popular os provided with the machine.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1021
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1022 # Note that if you're going to try to match "-MANUFACTURER" here (say,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1023 # "-sun"), then you have to tell the case statement up towards the top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1024 # that MANUFACTURER isn't an operating system. Otherwise, code above
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1025 # will signal an error saying that MANUFACTURER isn't an operating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1026 # system, and we'll never get to this point.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1027
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1028 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1029 *-acorn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1030 os=-riscix1.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1031 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1032 arm*-rebel)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1033 os=-linux
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1034 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1035 arm*-semi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1036 os=-aout
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1037 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1038 pdp11-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1039 os=-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1040 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1041 *-dec | vax-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1042 os=-ultrix4.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1043 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1044 m68*-apollo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1045 os=-domain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1046 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1047 i386-sun)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1048 os=-sunos4.0.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1049 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1050 m68000-sun)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1051 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1052 # This also exists in the configure program, but was not the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1053 # default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1054 # os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1055 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1056 m68*-cisco)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1057 os=-aout
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1058 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1059 mips*-cisco)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1060 os=-elf
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1061 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1062 mips*-*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1063 os=-elf
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1064 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1065 *-tti) # must be before sparc entry or we get the wrong os.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1066 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1067 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1068 sparc-* | *-sun)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1069 os=-sunos4.1.1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1070 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1071 *-be)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1072 os=-beos
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1073 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1074 *-ibm)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1075 os=-aix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1076 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1077 *-wec)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1078 os=-proelf
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1079 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1080 *-winbond)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1081 os=-proelf
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1082 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1083 *-oki)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1084 os=-proelf
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1085 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1086 *-hp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1087 os=-hpux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1088 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1089 *-hitachi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1090 os=-hiux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1091 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1092 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1093 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1094 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1095 *-cbm)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1096 os=-amigaos
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1097 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1098 *-dg)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1099 os=-dgux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1100 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1101 *-dolphin)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1102 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1103 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1104 m68k-ccur)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1105 os=-rtu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1106 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1107 m88k-omron*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1108 os=-luna
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1109 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1110 *-next )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1111 os=-nextstep
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1112 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1113 *-sequent)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1114 os=-ptx
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1115 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1116 *-crds)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1117 os=-unos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1118 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1119 *-ns)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1120 os=-genix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1121 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1122 i370-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1123 os=-mvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1124 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1125 *-next)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1126 os=-nextstep3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1127 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1128 *-gould)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1129 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1130 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1131 *-highlevel)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1132 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1133 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1134 *-encore)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1135 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1136 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1137 *-sgi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1138 os=-irix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1139 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1140 *-siemens)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1141 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1142 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1143 *-masscomp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1144 os=-rtu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1145 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1146 f301-fujitsu)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1147 os=-uxpv
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1148 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1149 *-rom68k)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1150 os=-coff
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1151 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1152 *-*bug)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1153 os=-coff
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1154 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1155 *-apple)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1156 os=-macos
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1157 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1158 *-atari*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1159 os=-mint
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1160 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1161 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1162 os=-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1163 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1164 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1165 fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1166
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1167 # 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
1168 # manufacturer. We pick the logical manufacturer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1169 vendor=unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1170 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1171 *-unknown)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1172 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1173 -riscix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1174 vendor=acorn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1175 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1176 -sunos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1177 vendor=sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1178 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1179 -aix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1180 vendor=ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1181 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1182 -beos*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1183 vendor=be
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1184 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1185 -hpux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1186 vendor=hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1187 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1188 -mpeix*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1189 vendor=hp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1190 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1191 -hiux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1192 vendor=hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1193 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1194 -unos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1195 vendor=crds
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1196 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1197 -dgux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1198 vendor=dg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1199 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1200 -luna*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1201 vendor=omron
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1202 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1203 -genix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1204 vendor=ns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1205 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1206 -mvs* | -opened*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1207 vendor=ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1208 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1209 -ptx*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1210 vendor=sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1211 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1212 -vxsim* | -vxworks*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1213 vendor=wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1214 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1215 -aux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1216 vendor=apple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1217 ;;
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1218 -hms*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1219 vendor=hitachi
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1220 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1221 -mpw* | -macos*)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1222 vendor=apple
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1223 ;;
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1224 -*mint | -*MiNT)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1225 vendor=atari
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 380
diff changeset
1226 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1227 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1228 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1229 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1230 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1231
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1232 echo $basic_machine$os