ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/config.sub
(Generate patch)

Comparing rxvt-unicode/config.sub (file contents):
Revision 1.4 by sf-exg, Tue Apr 12 08:00:07 2011 UTC vs.
Revision 1.8 by sf-exg, Fri May 23 22:30:35 2014 UTC

1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# 2011 Free Software Foundation, Inc. 3# Copyright 1992-2014 Free Software Foundation, Inc.
6 4
7timestamp='2011-03-23' 5timestamp='2014-05-01'
8 6
9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software
11# can handle that machine. It does not imply ALL GNU software can.
12#
13# This file is free software; you can redistribute it and/or modify 7# This file is free software; you can redistribute it and/or modify it
14# it under the terms of the GNU General Public License as published by 8# under the terms of the GNU General Public License as published by
15# the Free Software Foundation; either version 2 of the License, or 9# the Free Software Foundation; either version 3 of the License, or
16# (at your option) any later version. 10# (at your option) any later version.
17# 11#
18# This program is distributed in the hope that it will be useful, 12# This program is distributed in the hope that it will be useful, but
19# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21# GNU General Public License for more details. 15# General Public License for more details.
22# 16#
23# You should have received a copy of the GNU General Public License 17# You should have received a copy of the GNU General Public License
24# along with this program; if not, write to the Free Software 18# along with this program; if not, see <http://www.gnu.org/licenses/>.
25# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26# 02110-1301, USA.
27# 19#
28# As a special exception to the GNU General Public License, if you 20# As a special exception to the GNU General Public License, if you
29# distribute this file as part of a program that contains a 21# distribute this file as part of a program that contains a
30# configuration script generated by Autoconf, you may include it under 22# configuration script generated by Autoconf, you may include it under
31# the same distribution terms that you use for the rest of that program. 23# the same distribution terms that you use for the rest of that
24# program. This Exception is an additional permission under section 7
25# of the GNU General Public License, version 3 ("GPLv3").
32 26
33 27
34# Please send patches to <config-patches@gnu.org>. Submit a context 28# Please send patches with a ChangeLog entry to config-patches@gnu.org.
35# diff and a properly formatted GNU ChangeLog entry.
36# 29#
37# Configuration subroutine to validate and canonicalize a configuration type. 30# Configuration subroutine to validate and canonicalize a configuration type.
38# Supply the specified configuration type as an argument. 31# Supply the specified configuration type as an argument.
39# If it is invalid, we print an error message on stderr and exit with code 1. 32# If it is invalid, we print an error message on stderr and exit with code 1.
40# Otherwise, we print the canonical config type on stdout and succeed. 33# Otherwise, we print the canonical config type on stdout and succeed.
73Report bugs and patches to <config-patches@gnu.org>." 66Report bugs and patches to <config-patches@gnu.org>."
74 67
75version="\ 68version="\
76GNU config.sub ($timestamp) 69GNU config.sub ($timestamp)
77 70
78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 71Copyright 1992-2014 Free Software Foundation, Inc.
792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
80Software Foundation, Inc.
81 72
82This is free software; see the source for copying conditions. There is NO 73This is free software; see the source for copying conditions. There is NO
83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 74warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
84 75
85help=" 76help="
123# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 114# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
124# Here we must recognize all the valid KERNEL-OS combinations. 115# Here we must recognize all the valid KERNEL-OS combinations.
125maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 116maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126case $maybe_os in 117case $maybe_os in
127 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 118 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
128 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 119 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
129 knetbsd*-gnu* | netbsd*-gnu* | \ 120 knetbsd*-gnu* | netbsd*-gnu* | \
130 kopensolaris*-gnu* | \ 121 kopensolaris*-gnu* | \
131 storm-chaos* | os2-emx* | rtmk-nova*) 122 storm-chaos* | os2-emx* | rtmk-nova*)
132 os=-$maybe_os 123 os=-$maybe_os
133 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125 ;;
126 android-linux)
127 os=-linux-android
128 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
134 ;; 129 ;;
135 *) 130 *)
136 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 131 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
137 if [ $basic_machine != $1 ] 132 if [ $basic_machine != $1 ]
138 then os=`echo $1 | sed 's/.*-/-/'` 133 then os=`echo $1 | sed 's/.*-/-/'`
152 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 147 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
153 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 148 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
154 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
155 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
156 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
157 -apple | -axis | -knuth | -cray | -microblaze) 152 -apple | -axis | -knuth | -cray | -microblaze*)
158 os= 153 os=
159 basic_machine=$1 154 basic_machine=$1
160 ;; 155 ;;
161 -bluegene*) 156 -bluegene*)
162 os=-cnk 157 os=-cnk
220 -clix*) 215 -clix*)
221 basic_machine=clipper-intergraph 216 basic_machine=clipper-intergraph
222 ;; 217 ;;
223 -isc*) 218 -isc*)
224 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 219 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
220 ;;
221 -lynx*178)
222 os=-lynxos178
223 ;;
224 -lynx*5)
225 os=-lynxos5
225 ;; 226 ;;
226 -lynx*) 227 -lynx*)
227 os=-lynxos 228 os=-lynxos
228 ;; 229 ;;
229 -ptx*) 230 -ptx*)
245case $basic_machine in 246case $basic_machine in
246 # Recognize the basic CPU types without company name. 247 # Recognize the basic CPU types without company name.
247 # Some are omitted here because they have special meanings below. 248 # Some are omitted here because they have special meanings below.
248 1750a | 580 \ 249 1750a | 580 \
249 | a29k \ 250 | a29k \
251 | aarch64 | aarch64_be \
250 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 252 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 253 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
252 | am33_2.0 \ 254 | am33_2.0 \
255 | arc | arceb \
253 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ 256 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
257 | avr | avr32 \
258 | be32 | be64 \
254 | bfin \ 259 | bfin \
255 | c4x | clipper \ 260 | c4x | c8051 | clipper \
256 | d10v | d30v | dlx | dsp16xx \ 261 | d10v | d30v | dlx | dsp16xx \
262 | epiphany \
257 | fido | fr30 | frv \ 263 | fido | fr30 | frv \
258 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 264 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
265 | hexagon \
259 | i370 | i860 | i960 | ia64 \ 266 | i370 | i860 | i960 | ia64 \
260 | ip2k | iq2000 \ 267 | ip2k | iq2000 \
268 | k1om \
269 | le32 | le64 \
261 | lm32 \ 270 | lm32 \
262 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 271 | m32c | m32r | m32rle | m68000 | m68k | m88k \
263 | maxq | mb | microblaze | mcore | mep | metag \ 272 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
264 | mips | mipsbe | mipseb | mipsel | mipsle \ 273 | mips | mipsbe | mipseb | mipsel | mipsle \
265 | mips16 \ 274 | mips16 \
266 | mips64 | mips64el \ 275 | mips64 | mips64el \
267 | mips64octeon | mips64octeonel \ 276 | mips64octeon | mips64octeonel \
268 | mips64orion | mips64orionel \ 277 | mips64orion | mips64orionel \
272 | mips64vr4300 | mips64vr4300el \ 281 | mips64vr4300 | mips64vr4300el \
273 | mips64vr5000 | mips64vr5000el \ 282 | mips64vr5000 | mips64vr5000el \
274 | mips64vr5900 | mips64vr5900el \ 283 | mips64vr5900 | mips64vr5900el \
275 | mipsisa32 | mipsisa32el \ 284 | mipsisa32 | mipsisa32el \
276 | mipsisa32r2 | mipsisa32r2el \ 285 | mipsisa32r2 | mipsisa32r2el \
286 | mipsisa32r6 | mipsisa32r6el \
277 | mipsisa64 | mipsisa64el \ 287 | mipsisa64 | mipsisa64el \
278 | mipsisa64r2 | mipsisa64r2el \ 288 | mipsisa64r2 | mipsisa64r2el \
289 | mipsisa64r6 | mipsisa64r6el \
279 | mipsisa64sb1 | mipsisa64sb1el \ 290 | mipsisa64sb1 | mipsisa64sb1el \
280 | mipsisa64sr71k | mipsisa64sr71kel \ 291 | mipsisa64sr71k | mipsisa64sr71kel \
292 | mipsr5900 | mipsr5900el \
281 | mipstx39 | mipstx39el \ 293 | mipstx39 | mipstx39el \
282 | mn10200 | mn10300 \ 294 | mn10200 | mn10300 \
283 | moxie \ 295 | moxie \
284 | mt \ 296 | mt \
285 | msp430 \ 297 | msp430 \
286 | nds32 | nds32le | nds32be \ 298 | nds32 | nds32le | nds32be \
287 | nios | nios2 \ 299 | nios | nios2 | nios2eb | nios2el \
288 | ns16k | ns32k \ 300 | ns16k | ns32k \
289 | open8 \ 301 | open8 | or1k | or1knd | or32 \
290 | or32 \
291 | pdp10 | pdp11 | pj | pjl \ 302 | pdp10 | pdp11 | pj | pjl \
292 | powerpc | powerpc64 | powerpc64le | powerpcle \ 303 | powerpc | powerpc64 | powerpc64le | powerpcle \
293 | pyramid \ 304 | pyramid \
294 | rx \ 305 | rl78 | rx \
295 | score \ 306 | score \
296 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 307 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
297 | sh64 | sh64le \ 308 | sh64 | sh64le \
298 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 309 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
299 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 310 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
300 | spu \ 311 | spu \
301 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ 312 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
302 | ubicom32 \ 313 | ubicom32 \
303 | v850 | v850e \ 314 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
304 | we32k \ 315 | we32k \
305 | x86 | xc16x | xstormy16 | xtensa \ 316 | x86 | xc16x | xstormy16 | xtensa \
306 | z8k | z80) 317 | z8k | z80)
307 basic_machine=$basic_machine-unknown 318 basic_machine=$basic_machine-unknown
308 ;; 319 ;;
313 basic_machine=tic55x-unknown 324 basic_machine=tic55x-unknown
314 ;; 325 ;;
315 c6x) 326 c6x)
316 basic_machine=tic6x-unknown 327 basic_machine=tic6x-unknown
317 ;; 328 ;;
318 m6811 | m68hc11 | m6812 | m68hc12 | picochip) 329 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
319 # Motorola 68HC11/12.
320 basic_machine=$basic_machine-unknown 330 basic_machine=$basic_machine-unknown
321 os=-none 331 os=-none
322 ;; 332 ;;
323 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 333 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
324 ;; 334 ;;
327 ;; 337 ;;
328 338
329 strongarm | thumb | xscale) 339 strongarm | thumb | xscale)
330 basic_machine=arm-unknown 340 basic_machine=arm-unknown
331 ;; 341 ;;
332 342 xgate)
343 basic_machine=$basic_machine-unknown
344 os=-none
345 ;;
333 xscaleeb) 346 xscaleeb)
334 basic_machine=armeb-unknown 347 basic_machine=armeb-unknown
335 ;; 348 ;;
336 349
337 xscaleel) 350 xscaleel)
350 exit 1 363 exit 1
351 ;; 364 ;;
352 # Recognize the basic CPU types with company name. 365 # Recognize the basic CPU types with company name.
353 580-* \ 366 580-* \
354 | a29k-* \ 367 | a29k-* \
368 | aarch64-* | aarch64_be-* \
355 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 369 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
356 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 370 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
357 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 371 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
358 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 372 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
359 | avr-* | avr32-* \ 373 | avr-* | avr32-* \
374 | be32-* | be64-* \
360 | bfin-* | bs2000-* \ 375 | bfin-* | bs2000-* \
361 | c[123]* | c30-* | [cjt]90-* | c4x-* \ 376 | c[123]* | c30-* | [cjt]90-* | c4x-* \
362 | clipper-* | craynv-* | cydra-* \ 377 | c8051-* | clipper-* | craynv-* | cydra-* \
363 | d10v-* | d30v-* | dlx-* \ 378 | d10v-* | d30v-* | dlx-* \
364 | elxsi-* \ 379 | elxsi-* \
365 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 380 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
366 | h8300-* | h8500-* \ 381 | h8300-* | h8500-* \
367 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 382 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
383 | hexagon-* \
368 | i*86-* | i860-* | i960-* | ia64-* \ 384 | i*86-* | i860-* | i960-* | ia64-* \
369 | ip2k-* | iq2000-* \ 385 | ip2k-* | iq2000-* \
386 | k1om-* \
387 | le32-* | le64-* \
370 | lm32-* \ 388 | lm32-* \
371 | m32c-* | m32r-* | m32rle-* \ 389 | m32c-* | m32r-* | m32rle-* \
372 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 390 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
373 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ 391 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
392 | microblaze-* | microblazeel-* \
374 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 393 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
375 | mips16-* \ 394 | mips16-* \
376 | mips64-* | mips64el-* \ 395 | mips64-* | mips64el-* \
377 | mips64octeon-* | mips64octeonel-* \ 396 | mips64octeon-* | mips64octeonel-* \
378 | mips64orion-* | mips64orionel-* \ 397 | mips64orion-* | mips64orionel-* \
382 | mips64vr4300-* | mips64vr4300el-* \ 401 | mips64vr4300-* | mips64vr4300el-* \
383 | mips64vr5000-* | mips64vr5000el-* \ 402 | mips64vr5000-* | mips64vr5000el-* \
384 | mips64vr5900-* | mips64vr5900el-* \ 403 | mips64vr5900-* | mips64vr5900el-* \
385 | mipsisa32-* | mipsisa32el-* \ 404 | mipsisa32-* | mipsisa32el-* \
386 | mipsisa32r2-* | mipsisa32r2el-* \ 405 | mipsisa32r2-* | mipsisa32r2el-* \
406 | mipsisa32r6-* | mipsisa32r6el-* \
387 | mipsisa64-* | mipsisa64el-* \ 407 | mipsisa64-* | mipsisa64el-* \
388 | mipsisa64r2-* | mipsisa64r2el-* \ 408 | mipsisa64r2-* | mipsisa64r2el-* \
409 | mipsisa64r6-* | mipsisa64r6el-* \
389 | mipsisa64sb1-* | mipsisa64sb1el-* \ 410 | mipsisa64sb1-* | mipsisa64sb1el-* \
390 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 411 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
412 | mipsr5900-* | mipsr5900el-* \
391 | mipstx39-* | mipstx39el-* \ 413 | mipstx39-* | mipstx39el-* \
392 | mmix-* \ 414 | mmix-* \
393 | mt-* \ 415 | mt-* \
394 | msp430-* \ 416 | msp430-* \
395 | nds32-* | nds32le-* | nds32be-* \ 417 | nds32-* | nds32le-* | nds32be-* \
396 | nios-* | nios2-* \ 418 | nios-* | nios2-* | nios2eb-* | nios2el-* \
397 | none-* | np1-* | ns16k-* | ns32k-* \ 419 | none-* | np1-* | ns16k-* | ns32k-* \
398 | open8-* \ 420 | open8-* \
421 | or1k*-* \
399 | orion-* \ 422 | orion-* \
400 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 423 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
401 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ 424 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
402 | pyramid-* \ 425 | pyramid-* \
403 | romp-* | rs6000-* | rx-* \ 426 | rl78-* | romp-* | rs6000-* | rx-* \
404 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 427 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
405 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 428 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
406 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 429 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
407 | sparclite-* \ 430 | sparclite-* \
408 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ 431 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
409 | tahoe-* \ 432 | tahoe-* \
410 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 433 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
411 | tile-* | tilegx-* \ 434 | tile*-* \
412 | tron-* \ 435 | tron-* \
413 | ubicom32-* \ 436 | ubicom32-* \
414 | v850-* | v850e-* | vax-* \ 437 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
438 | vax-* \
415 | we32k-* \ 439 | we32k-* \
416 | x86-* | x86_64-* | xc16x-* | xps100-* \ 440 | x86-* | x86_64-* | xc16x-* | xps100-* \
417 | xstormy16-* | xtensa*-* \ 441 | xstormy16-* | xtensa*-* \
418 | ymp-* \ 442 | ymp-* \
419 | z8k-* | z80-*) 443 | z8k-* | z80-*)
709 os=-proelf 733 os=-proelf
710 ;; 734 ;;
711 i370-ibm* | ibm*) 735 i370-ibm* | ibm*)
712 basic_machine=i370-ibm 736 basic_machine=i370-ibm
713 ;; 737 ;;
714# I'm not sure what "Sysv32" means. Should this be sysv3.2?
715 i*86v32) 738 i*86v32)
716 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 739 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
717 os=-sysv32 740 os=-sysv32
718 ;; 741 ;;
719 i*86v4*) 742 i*86v4*)
767 ;; 790 ;;
768 merlin) 791 merlin)
769 basic_machine=ns32k-utek 792 basic_machine=ns32k-utek
770 os=-sysv 793 os=-sysv
771 ;; 794 ;;
772 microblaze) 795 microblaze*)
773 basic_machine=microblaze-xilinx 796 basic_machine=microblaze-xilinx
774 ;; 797 ;;
798 mingw64)
799 basic_machine=x86_64-pc
800 os=-mingw64
801 ;;
775 mingw32) 802 mingw32)
776 basic_machine=i386-pc 803 basic_machine=i686-pc
777 os=-mingw32 804 os=-mingw32
778 ;; 805 ;;
779 mingw32ce) 806 mingw32ce)
780 basic_machine=arm-unknown 807 basic_machine=arm-unknown
781 os=-mingw32ce 808 os=-mingw32ce
806 os=-msdos 833 os=-msdos
807 ;; 834 ;;
808 ms1-*) 835 ms1-*)
809 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 836 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
810 ;; 837 ;;
838 msys)
839 basic_machine=i686-pc
840 os=-msys
841 ;;
811 mvs) 842 mvs)
812 basic_machine=i370-ibm 843 basic_machine=i370-ibm
813 os=-mvs 844 os=-mvs
845 ;;
846 nacl)
847 basic_machine=le32-unknown
848 os=-nacl
814 ;; 849 ;;
815 ncr3000) 850 ncr3000)
816 basic_machine=i486-ncr 851 basic_machine=i486-ncr
817 os=-sysv4 852 os=-sysv4
818 ;; 853 ;;
990 ;; 1025 ;;
991 pw32) 1026 pw32)
992 basic_machine=i586-unknown 1027 basic_machine=i586-unknown
993 os=-pw32 1028 os=-pw32
994 ;; 1029 ;;
1030 rdos | rdos64)
1031 basic_machine=x86_64-pc
1032 os=-rdos
1033 ;;
995 rdos) 1034 rdos32)
996 basic_machine=i386-pc 1035 basic_machine=i386-pc
997 os=-rdos 1036 os=-rdos
998 ;; 1037 ;;
999 rom68k) 1038 rom68k)
1000 basic_machine=m68k-rom68k 1039 basic_machine=m68k-rom68k
1118 ;; 1157 ;;
1119 t90) 1158 t90)
1120 basic_machine=t90-cray 1159 basic_machine=t90-cray
1121 os=-unicos 1160 os=-unicos
1122 ;; 1161 ;;
1123 # This must be matched before tile*.
1124 tilegx*)
1125 basic_machine=tilegx-unknown
1126 os=-linux-gnu
1127 ;;
1128 tile*) 1162 tile*)
1129 basic_machine=tile-unknown 1163 basic_machine=$basic_machine-unknown
1130 os=-linux-gnu 1164 os=-linux-gnu
1131 ;; 1165 ;;
1132 tx39) 1166 tx39)
1133 basic_machine=mipstx39-unknown 1167 basic_machine=mipstx39-unknown
1134 ;; 1168 ;;
1322 # Each alternative MUST END IN A *, to match a version number. 1356 # Each alternative MUST END IN A *, to match a version number.
1323 # -sysv* is not here because it comes later, after sysvr4. 1357 # -sysv* is not here because it comes later, after sysvr4.
1324 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1358 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1325 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1359 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1326 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ 1360 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1327 | -sym* | -kopensolaris* \ 1361 | -sym* | -kopensolaris* | -plan9* \
1328 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1362 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1329 | -aos* | -aros* \ 1363 | -aos* | -aros* \
1330 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1364 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1331 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1365 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1332 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1366 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1333 | -openbsd* | -solidbsd* \ 1367 | -bitrig* | -openbsd* | -solidbsd* \
1334 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1368 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1335 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1369 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1336 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1370 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1337 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1371 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1338 | -chorusos* | -chorusrdb* | -cegcc* \ 1372 | -chorusos* | -chorusrdb* | -cegcc* \
1339 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1373 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1340 | -mingw32* | -linux-gnu* | -linux-android* \ 1374 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1341 | -linux-newlib* | -linux-uclibc* \ 1375 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1342 | -uxpv* | -beos* | -mpeix* | -udk* \ 1376 | -uxpv* | -beos* | -mpeix* | -udk* \
1343 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1377 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1344 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1378 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1345 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1379 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1346 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1380 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1347 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1381 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1348 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1382 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1349 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) 1383 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
1350 # Remember, each alternative MUST END IN *, to match a version number. 1384 # Remember, each alternative MUST END IN *, to match a version number.
1351 ;; 1385 ;;
1352 -qnx*) 1386 -qnx*)
1353 case $basic_machine in 1387 case $basic_machine in
1354 x86-* | i*86-*) 1388 x86-* | i*86-*)
1468 os=-mint 1502 os=-mint
1469 ;; 1503 ;;
1470 -aros*) 1504 -aros*)
1471 os=-aros 1505 os=-aros
1472 ;; 1506 ;;
1473 -kaos*)
1474 os=-kaos
1475 ;;
1476 -zvmoe) 1507 -zvmoe)
1477 os=-zvmoe 1508 os=-zvmoe
1478 ;; 1509 ;;
1479 -dicos*) 1510 -dicos*)
1480 os=-dicos 1511 os=-dicos
1519 os=-aout 1550 os=-aout
1520 ;; 1551 ;;
1521 c4x-* | tic4x-*) 1552 c4x-* | tic4x-*)
1522 os=-coff 1553 os=-coff
1523 ;; 1554 ;;
1555 c8051-*)
1556 os=-elf
1557 ;;
1558 hexagon-*)
1559 os=-elf
1560 ;;
1524 tic54x-*) 1561 tic54x-*)
1525 os=-coff 1562 os=-coff
1526 ;; 1563 ;;
1527 tic55x-*) 1564 tic55x-*)
1528 os=-coff 1565 os=-coff
1546 i386-sun) 1583 i386-sun)
1547 os=-sunos4.0.2 1584 os=-sunos4.0.2
1548 ;; 1585 ;;
1549 m68000-sun) 1586 m68000-sun)
1550 os=-sunos3 1587 os=-sunos3
1551 # This also exists in the configure program, but was not the
1552 # default.
1553 # os=-sunos4
1554 ;; 1588 ;;
1555 m68*-cisco) 1589 m68*-cisco)
1556 os=-aout 1590 os=-aout
1557 ;; 1591 ;;
1558 mep-*) 1592 mep-*)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines