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.2 by ayin, Fri Jul 27 09:37:08 2007 UTC vs.
Revision 1.3 by sf-exg, Sun Jan 31 11:34:28 2010 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, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2007-06-28' 7timestamp='2010-01-22'
8 8
9# This file is (in principle) common to ALL GNU software. 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 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. 11# can handle that machine. It does not imply ALL GNU software can.
12# 12#
30# configuration script generated by Autoconf, you may include it under 30# configuration script generated by Autoconf, you may include it under
31# the same distribution terms that you use for the rest of that program. 31# the same distribution terms that you use for the rest of that program.
32 32
33 33
34# Please send patches to <config-patches@gnu.org>. Submit a context 34# Please send patches to <config-patches@gnu.org>. Submit a context
35# diff and a properly formatted ChangeLog entry. 35# diff and a properly formatted GNU ChangeLog entry.
36# 36#
37# Configuration subroutine to validate and canonicalize a configuration type. 37# Configuration subroutine to validate and canonicalize a configuration type.
38# Supply the specified configuration type as an argument. 38# 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. 39# 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. 40# Otherwise, we print the canonical config type on stdout and succeed.
41
42# You can get the latest version of this script from:
43# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
41 44
42# This file is supposed to be the same for all GNU packages 45# This file is supposed to be the same for all GNU packages
43# and recognize all the CPU types, system types and aliases 46# and recognize all the CPU types, system types and aliases
44# that are meaningful with *any* GNU software. 47# that are meaningful with *any* GNU software.
45# Each package is responsible for reporting which valid configurations 48# Each package is responsible for reporting which valid configurations
70Report bugs and patches to <config-patches@gnu.org>." 73Report bugs and patches to <config-patches@gnu.org>."
71 74
72version="\ 75version="\
73GNU config.sub ($timestamp) 76GNU config.sub ($timestamp)
74 77
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
76Free Software Foundation, Inc. 80Software Foundation, Inc.
77 81
78This is free software; see the source for copying conditions. There is NO 82This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
80 84
81help=" 85help="
120# Here we must recognize all the valid KERNEL-OS combinations. 124# Here we must recognize all the valid KERNEL-OS combinations.
121maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 125maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122case $maybe_os in 126case $maybe_os in
123 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 127 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 128 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
129 kopensolaris*-gnu* | \
125 storm-chaos* | os2-emx* | rtmk-nova*) 130 storm-chaos* | os2-emx* | rtmk-nova*)
126 os=-$maybe_os 131 os=-$maybe_os
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 132 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
128 ;; 133 ;;
129 *) 134 *)
146 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 151 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 152 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 153 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 154 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 155 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151 -apple | -axis | -knuth | -cray) 156 -apple | -axis | -knuth | -cray | -microblaze)
152 os= 157 os=
153 basic_machine=$1 158 basic_machine=$1
159 ;;
160 -bluegene*)
161 os=-cnk
154 ;; 162 ;;
155 -sim | -cisco | -oki | -wec | -winbond) 163 -sim | -cisco | -oki | -wec | -winbond)
156 os= 164 os=
157 basic_machine=$1 165 basic_machine=$1
158 ;; 166 ;;
247 | d10v | d30v | dlx | dsp16xx \ 255 | d10v | d30v | dlx | dsp16xx \
248 | fido | fr30 | frv \ 256 | fido | fr30 | frv \
249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 257 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250 | i370 | i860 | i960 | ia64 \ 258 | i370 | i860 | i960 | ia64 \
251 | ip2k | iq2000 \ 259 | ip2k | iq2000 \
260 | lm32 \
252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 261 | m32c | m32r | m32rle | m68000 | m68k | m88k \
253 | maxq | mb | microblaze | mcore | mep \ 262 | maxq | mb | microblaze | mcore | mep | metag \
254 | mips | mipsbe | mipseb | mipsel | mipsle \ 263 | mips | mipsbe | mipseb | mipsel | mipsle \
255 | mips16 \ 264 | mips16 \
256 | mips64 | mips64el \ 265 | mips64 | mips64el \
266 | mips64octeon | mips64octeonel \
267 | mips64orion | mips64orionel \
268 | mips64r5900 | mips64r5900el \
257 | mips64vr | mips64vrel \ 269 | mips64vr | mips64vrel \
258 | mips64orion | mips64orionel \
259 | mips64vr4100 | mips64vr4100el \ 270 | mips64vr4100 | mips64vr4100el \
260 | mips64vr4300 | mips64vr4300el \ 271 | mips64vr4300 | mips64vr4300el \
261 | mips64vr5000 | mips64vr5000el \ 272 | mips64vr5000 | mips64vr5000el \
262 | mips64vr5900 | mips64vr5900el \ 273 | mips64vr5900 | mips64vr5900el \
263 | mipsisa32 | mipsisa32el \ 274 | mipsisa32 | mipsisa32el \
266 | mipsisa64r2 | mipsisa64r2el \ 277 | mipsisa64r2 | mipsisa64r2el \
267 | mipsisa64sb1 | mipsisa64sb1el \ 278 | mipsisa64sb1 | mipsisa64sb1el \
268 | mipsisa64sr71k | mipsisa64sr71kel \ 279 | mipsisa64sr71k | mipsisa64sr71kel \
269 | mipstx39 | mipstx39el \ 280 | mipstx39 | mipstx39el \
270 | mn10200 | mn10300 \ 281 | mn10200 | mn10300 \
282 | moxie \
271 | mt \ 283 | mt \
272 | msp430 \ 284 | msp430 \
273 | nios | nios2 \ 285 | nios | nios2 \
274 | ns16k | ns32k \ 286 | ns16k | ns32k \
275 | or32 \ 287 | or32 \
276 | pdp10 | pdp11 | pj | pjl \ 288 | pdp10 | pdp11 | pj | pjl \
277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278 | pyramid \ 290 | pyramid \
291 | rx \
279 | score \ 292 | score \
280 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 293 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281 | sh64 | sh64le \ 294 | sh64 | sh64le \
282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 295 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284 | spu | strongarm \ 297 | spu | strongarm \
285 | tahoe | thumb | tic4x | tic80 | tron \ 298 | tahoe | thumb | tic4x | tic80 | tron \
299 | ubicom32 \
286 | v850 | v850e \ 300 | v850 | v850e \
287 | we32k \ 301 | we32k \
288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289 | z8k) 303 | z8k | z80)
290 basic_machine=$basic_machine-unknown 304 basic_machine=$basic_machine-unknown
291 ;; 305 ;;
292 m6811 | m68hc11 | m6812 | m68hc12) 306 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
293 # Motorola 68HC11/12. 307 # Motorola 68HC11/12.
294 basic_machine=$basic_machine-unknown 308 basic_machine=$basic_machine-unknown
295 os=-none 309 os=-none
296 ;; 310 ;;
297 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 311 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
327 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 341 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
328 | h8300-* | h8500-* \ 342 | h8300-* | h8500-* \
329 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 343 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330 | i*86-* | i860-* | i960-* | ia64-* \ 344 | i*86-* | i860-* | i960-* | ia64-* \
331 | ip2k-* | iq2000-* \ 345 | ip2k-* | iq2000-* \
346 | lm32-* \
332 | m32c-* | m32r-* | m32rle-* \ 347 | m32c-* | m32r-* | m32rle-* \
333 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 348 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334 | m88110-* | m88k-* | maxq-* | mcore-* \ 349 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
335 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 350 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336 | mips16-* \ 351 | mips16-* \
337 | mips64-* | mips64el-* \ 352 | mips64-* | mips64el-* \
353 | mips64octeon-* | mips64octeonel-* \
354 | mips64orion-* | mips64orionel-* \
355 | mips64r5900-* | mips64r5900el-* \
338 | mips64vr-* | mips64vrel-* \ 356 | mips64vr-* | mips64vrel-* \
339 | mips64orion-* | mips64orionel-* \
340 | mips64vr4100-* | mips64vr4100el-* \ 357 | mips64vr4100-* | mips64vr4100el-* \
341 | mips64vr4300-* | mips64vr4300el-* \ 358 | mips64vr4300-* | mips64vr4300el-* \
342 | mips64vr5000-* | mips64vr5000el-* \ 359 | mips64vr5000-* | mips64vr5000el-* \
343 | mips64vr5900-* | mips64vr5900el-* \ 360 | mips64vr5900-* | mips64vr5900el-* \
344 | mipsisa32-* | mipsisa32el-* \ 361 | mipsisa32-* | mipsisa32el-* \
355 | none-* | np1-* | ns16k-* | ns32k-* \ 372 | none-* | np1-* | ns16k-* | ns32k-* \
356 | orion-* \ 373 | orion-* \
357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359 | pyramid-* \ 376 | pyramid-* \
360 | romp-* | rs6000-* \ 377 | romp-* | rs6000-* | rx-* \
361 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364 | sparclite-* \ 381 | sparclite-* \
365 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366 | tahoe-* | thumb-* \ 383 | tahoe-* | thumb-* \
367 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \
368 | tron-* \ 386 | tron-* \
387 | ubicom32-* \
369 | v850-* | v850e-* | vax-* \ 388 | v850-* | v850e-* | vax-* \
370 | we32k-* \ 389 | we32k-* \
371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372 | xstormy16-* | xtensa-* \ 391 | xstormy16-* | xtensa*-* \
373 | ymp-* \ 392 | ymp-* \
374 | z8k-*) 393 | z8k-* | z80-*)
394 ;;
395 # Recognize the basic CPU types without company name, with glob match.
396 xtensa*)
397 basic_machine=$basic_machine-unknown
375 ;; 398 ;;
376 # Recognize the various machine names and aliases which stand 399 # Recognize the various machine names and aliases which stand
377 # for a CPU type and a company and sometimes even an OS. 400 # for a CPU type and a company and sometimes even an OS.
378 386bsd) 401 386bsd)
379 basic_machine=i386-unknown 402 basic_machine=i386-unknown
433 ;; 456 ;;
434 apollo68bsd) 457 apollo68bsd)
435 basic_machine=m68k-apollo 458 basic_machine=m68k-apollo
436 os=-bsd 459 os=-bsd
437 ;; 460 ;;
461 aros)
462 basic_machine=i386-pc
463 os=-aros
464 ;;
438 aux) 465 aux)
439 basic_machine=m68k-apple 466 basic_machine=m68k-apple
440 os=-aux 467 os=-aux
441 ;; 468 ;;
442 balance) 469 balance)
443 basic_machine=ns32k-sequent 470 basic_machine=ns32k-sequent
444 os=-dynix 471 os=-dynix
445 ;; 472 ;;
473 blackfin)
474 basic_machine=bfin-unknown
475 os=-linux
476 ;;
477 blackfin-*)
478 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
479 os=-linux
480 ;;
481 bluegene*)
482 basic_machine=powerpc-ibm
483 os=-cnk
484 ;;
446 c90) 485 c90)
447 basic_machine=c90-cray 486 basic_machine=c90-cray
448 os=-unicos 487 os=-unicos
449 ;; 488 ;;
489 cegcc)
490 basic_machine=arm-unknown
491 os=-cegcc
492 ;;
450 convex-c1) 493 convex-c1)
451 basic_machine=c1-convex 494 basic_machine=c1-convex
452 os=-bsd 495 os=-bsd
453 ;; 496 ;;
454 convex-c2) 497 convex-c2)
511 basic_machine=m68k-motorola 554 basic_machine=m68k-motorola
512 ;; 555 ;;
513 delta88) 556 delta88)
514 basic_machine=m88k-motorola 557 basic_machine=m88k-motorola
515 os=-sysv3 558 os=-sysv3
559 ;;
560 dicos)
561 basic_machine=i686-pc
562 os=-dicos
516 ;; 563 ;;
517 djgpp) 564 djgpp)
518 basic_machine=i586-pc 565 basic_machine=i586-pc
519 os=-msdosdjgpp 566 os=-msdosdjgpp
520 ;; 567 ;;
666 ;; 713 ;;
667 isi68 | isi) 714 isi68 | isi)
668 basic_machine=m68k-isi 715 basic_machine=m68k-isi
669 os=-sysv 716 os=-sysv
670 ;; 717 ;;
718 m68knommu)
719 basic_machine=m68k-unknown
720 os=-linux
721 ;;
722 m68knommu-*)
723 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
724 os=-linux
725 ;;
671 m88k-omron*) 726 m88k-omron*)
672 basic_machine=m88k-omron 727 basic_machine=m88k-omron
673 ;; 728 ;;
674 magnum | m3230) 729 magnum | m3230)
675 basic_machine=mips-mips 730 basic_machine=mips-mips
676 os=-sysv 731 os=-sysv
677 ;; 732 ;;
678 merlin) 733 merlin)
679 basic_machine=ns32k-utek 734 basic_machine=ns32k-utek
680 os=-sysv 735 os=-sysv
736 ;;
737 microblaze)
738 basic_machine=microblaze-xilinx
681 ;; 739 ;;
682 mingw32) 740 mingw32)
683 basic_machine=i386-pc 741 basic_machine=i386-pc
684 os=-mingw32 742 os=-mingw32
685 ;; 743 ;;
811 ;; 869 ;;
812 paragon) 870 paragon)
813 basic_machine=i860-intel 871 basic_machine=i860-intel
814 os=-osf 872 os=-osf
815 ;; 873 ;;
874 parisc)
875 basic_machine=hppa-unknown
876 os=-linux
877 ;;
878 parisc-*)
879 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
880 os=-linux
881 ;;
816 pbd) 882 pbd)
817 basic_machine=sparc-tti 883 basic_machine=sparc-tti
818 ;; 884 ;;
819 pbb) 885 pbb)
820 basic_machine=m68k-tti 886 basic_machine=m68k-tti
1019 ;; 1085 ;;
1020 tic6x | c6x*) 1086 tic6x | c6x*)
1021 basic_machine=tic6x-unknown 1087 basic_machine=tic6x-unknown
1022 os=-coff 1088 os=-coff
1023 ;; 1089 ;;
1090 # This must be matched before tile*.
1091 tilegx*)
1092 basic_machine=tilegx-unknown
1093 os=-linux-gnu
1094 ;;
1095 tile*)
1096 basic_machine=tile-unknown
1097 os=-linux-gnu
1098 ;;
1024 tx39) 1099 tx39)
1025 basic_machine=mipstx39-unknown 1100 basic_machine=mipstx39-unknown
1026 ;; 1101 ;;
1027 tx39el) 1102 tx39el)
1028 basic_machine=mipstx39el-unknown 1103 basic_machine=mipstx39el-unknown
1092 basic_machine=ymp-cray 1167 basic_machine=ymp-cray
1093 os=-unicos 1168 os=-unicos
1094 ;; 1169 ;;
1095 z8k-*-coff) 1170 z8k-*-coff)
1096 basic_machine=z8k-unknown 1171 basic_machine=z8k-unknown
1172 os=-sim
1173 ;;
1174 z80-*-coff)
1175 basic_machine=z80-unknown
1097 os=-sim 1176 os=-sim
1098 ;; 1177 ;;
1099 none) 1178 none)
1100 basic_machine=none-none 1179 basic_machine=none-none
1101 os=-none 1180 os=-none
1132 basic_machine=pdp11-dec 1211 basic_machine=pdp11-dec
1133 ;; 1212 ;;
1134 we32k) 1213 we32k)
1135 basic_machine=we32k-att 1214 basic_machine=we32k-att
1136 ;; 1215 ;;
1137 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) 1216 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1138 basic_machine=sh-unknown 1217 basic_machine=sh-unknown
1139 ;; 1218 ;;
1140 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) 1219 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1141 basic_machine=sparc-sun 1220 basic_machine=sparc-sun
1142 ;; 1221 ;;
1182then 1261then
1183case $os in 1262case $os in
1184 # First match some system type aliases 1263 # First match some system type aliases
1185 # that might get confused with valid system types. 1264 # that might get confused with valid system types.
1186 # -solaris* is a basic system type, with this one exception. 1265 # -solaris* is a basic system type, with this one exception.
1266 -auroraux)
1267 os=-auroraux
1268 ;;
1187 -solaris1 | -solaris1.*) 1269 -solaris1 | -solaris1.*)
1188 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1270 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1189 ;; 1271 ;;
1190 -solaris) 1272 -solaris)
1191 os=-solaris2 1273 os=-solaris2
1202 # First accept the basic system types. 1284 # First accept the basic system types.
1203 # The portable systems comes first. 1285 # The portable systems comes first.
1204 # Each alternative MUST END IN A *, to match a version number. 1286 # Each alternative MUST END IN A *, to match a version number.
1205 # -sysv* is not here because it comes later, after sysvr4. 1287 # -sysv* is not here because it comes later, after sysvr4.
1206 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1288 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1207 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ 1289 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1208 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1290 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1291 | -sym* | -kopensolaris* \
1209 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1292 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1210 | -aos* \ 1293 | -aos* | -aros* \
1211 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1294 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1212 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1295 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1213 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1296 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1214 | -openbsd* | -solidbsd* \ 1297 | -openbsd* | -solidbsd* \
1215 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1298 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1216 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1299 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1217 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1300 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1218 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1301 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1219 | -chorusos* | -chorusrdb* \ 1302 | -chorusos* | -chorusrdb* | -cegcc* \
1220 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1303 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1221 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 1304 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1222 | -uxpv* | -beos* | -mpeix* | -udk* \ 1305 | -uxpv* | -beos* | -mpeix* | -udk* \
1223 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1306 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1224 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1307 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1225 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1308 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1226 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1309 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1227 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1310 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1228 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1311 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1229 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1312 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1230 # Remember, each alternative MUST END IN *, to match a version number. 1313 # Remember, each alternative MUST END IN *, to match a version number.
1231 ;; 1314 ;;
1232 -qnx*) 1315 -qnx*)
1233 case $basic_machine in 1316 case $basic_machine in
1234 x86-* | i*86-*) 1317 x86-* | i*86-*)
1354 os=-kaos 1437 os=-kaos
1355 ;; 1438 ;;
1356 -zvmoe) 1439 -zvmoe)
1357 os=-zvmoe 1440 os=-zvmoe
1358 ;; 1441 ;;
1442 -dicos*)
1443 os=-dicos
1444 ;;
1445 -nacl*)
1446 ;;
1359 -none) 1447 -none)
1360 ;; 1448 ;;
1361 *) 1449 *)
1362 # Get rid of the `-' at the beginning of $os. 1450 # Get rid of the `-' at the beginning of $os.
1363 os=`echo $os | sed 's/[^-]*-//'` 1451 os=`echo $os | sed 's/[^-]*-//'`
1551 vendor=acorn 1639 vendor=acorn
1552 ;; 1640 ;;
1553 -sunos*) 1641 -sunos*)
1554 vendor=sun 1642 vendor=sun
1555 ;; 1643 ;;
1556 -aix*) 1644 -cnk*|-aix*)
1557 vendor=ibm 1645 vendor=ibm
1558 ;; 1646 ;;
1559 -beos*) 1647 -beos*)
1560 vendor=be 1648 vendor=be
1561 ;; 1649 ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines