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