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.3 by sf-exg, Sun Jan 31 11:34:28 2010 UTC vs.
Revision 1.7 by root, Thu May 22 18:54:32 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, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# Free Software Foundation, Inc. 5# 2011 Free Software Foundation, Inc.
6 6
7timestamp='2010-01-22' 7timestamp='2011-11-11'
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#
13# This file is free software; you can redistribute it and/or modify 13# This file is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License as published by 14# it under the terms of the GNU General Public License as published by
15# the Free Software Foundation; either version 2 of the License, or 15# the Free Software Foundation; either version 3 of the License, or
16# (at your option) any later version. 16# (at your option) any later version.
17# 17#
18# This program is distributed in the hope that it will be useful, 18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of 19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74 74
75version="\ 75version="\
76GNU config.sub ($timestamp) 76GNU config.sub ($timestamp)
77 77
78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free 792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
80Software Foundation, Inc. 80Software Foundation, Inc.
81 81
82This 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
83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
84 84
122 122
123# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 123# 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. 124# Here we must recognize all the valid KERNEL-OS combinations.
125maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 125maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126case $maybe_os in 126case $maybe_os in
127 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 127 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
128 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 128 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
129 knetbsd*-gnu* | netbsd*-gnu* | \
129 kopensolaris*-gnu* | \ 130 kopensolaris*-gnu* | \
130 storm-chaos* | os2-emx* | rtmk-nova*) 131 storm-chaos* | os2-emx* | rtmk-nova*)
131 os=-$maybe_os 132 os=-$maybe_os
132 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 133 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
133 ;; 134 ;;
155 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 156 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
156 -apple | -axis | -knuth | -cray | -microblaze) 157 -apple | -axis | -knuth | -cray | -microblaze)
157 os= 158 os=
158 basic_machine=$1 159 basic_machine=$1
159 ;; 160 ;;
160 -bluegene*) 161 -bluegene*)
161 os=-cnk 162 os=-cnk
162 ;; 163 ;;
163 -sim | -cisco | -oki | -wec | -winbond) 164 -sim | -cisco | -oki | -wec | -winbond)
164 os= 165 os=
165 basic_machine=$1 166 basic_machine=$1
166 ;; 167 ;;
172 ;; 173 ;;
173 -chorusos*) 174 -chorusos*)
174 os=-chorusos 175 os=-chorusos
175 basic_machine=$1 176 basic_machine=$1
176 ;; 177 ;;
177 -chorusrdb) 178 -chorusrdb)
178 os=-chorusrdb 179 os=-chorusrdb
179 basic_machine=$1 180 basic_machine=$1
180 ;; 181 ;;
181 -hiux*) 182 -hiux*)
182 os=-hiuxwe2 183 os=-hiuxwe2
183 ;; 184 ;;
184 -sco6) 185 -sco6)
185 os=-sco5v6 186 os=-sco5v6
248 | a29k \ 249 | a29k \
249 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 250 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
250 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
251 | am33_2.0 \ 252 | am33_2.0 \
252 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ 253 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
254 | be32 | be64 \
253 | bfin \ 255 | bfin \
254 | c4x | clipper \ 256 | c4x | clipper \
255 | d10v | d30v | dlx | dsp16xx \ 257 | d10v | d30v | dlx | dsp16xx \
258 | epiphany \
256 | fido | fr30 | frv \ 259 | fido | fr30 | frv \
257 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 260 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
261 | hexagon \
258 | i370 | i860 | i960 | ia64 \ 262 | i370 | i860 | i960 | ia64 \
259 | ip2k | iq2000 \ 263 | ip2k | iq2000 \
264 | le32 | le64 \
260 | lm32 \ 265 | lm32 \
261 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 266 | m32c | m32r | m32rle | m68000 | m68k | m88k \
262 | maxq | mb | microblaze | mcore | mep | metag \ 267 | maxq | mb | microblaze | mcore | mep | metag \
263 | mips | mipsbe | mipseb | mipsel | mipsle \ 268 | mips | mipsbe | mipseb | mipsel | mipsle \
264 | mips16 \ 269 | mips16 \
280 | mipstx39 | mipstx39el \ 285 | mipstx39 | mipstx39el \
281 | mn10200 | mn10300 \ 286 | mn10200 | mn10300 \
282 | moxie \ 287 | moxie \
283 | mt \ 288 | mt \
284 | msp430 \ 289 | msp430 \
290 | nds32 | nds32le | nds32be \
285 | nios | nios2 \ 291 | nios | nios2 \
286 | ns16k | ns32k \ 292 | ns16k | ns32k \
293 | open8 \
287 | or32 \ 294 | or32 \
288 | pdp10 | pdp11 | pj | pjl \ 295 | pdp10 | pdp11 | pj | pjl \
289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 296 | powerpc | powerpc64 | powerpc64le | powerpcle \
290 | pyramid \ 297 | pyramid \
291 | rx \ 298 | rl78 | rx \
292 | score \ 299 | score \
293 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 300 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
294 | sh64 | sh64le \ 301 | sh64 | sh64le \
295 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 302 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 303 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
297 | spu | strongarm \ 304 | spu \
298 | tahoe | thumb | tic4x | tic80 | tron \ 305 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
299 | ubicom32 \ 306 | ubicom32 \
300 | v850 | v850e \ 307 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
301 | we32k \ 308 | we32k \
302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 309 | x86 | xc16x | xstormy16 | xtensa \
303 | z8k | z80) 310 | z8k | z80)
304 basic_machine=$basic_machine-unknown 311 basic_machine=$basic_machine-unknown
312 ;;
313 c54x)
314 basic_machine=tic54x-unknown
315 ;;
316 c55x)
317 basic_machine=tic55x-unknown
318 ;;
319 c6x)
320 basic_machine=tic6x-unknown
305 ;; 321 ;;
306 m6811 | m68hc11 | m6812 | m68hc12 | picochip) 322 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
307 # Motorola 68HC11/12. 323 # Motorola 68HC11/12.
308 basic_machine=$basic_machine-unknown 324 basic_machine=$basic_machine-unknown
309 os=-none 325 os=-none
310 ;; 326 ;;
311 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 327 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
312 ;; 328 ;;
313 ms1) 329 ms1)
314 basic_machine=mt-unknown 330 basic_machine=mt-unknown
331 ;;
332
333 strongarm | thumb | xscale)
334 basic_machine=arm-unknown
335 ;;
336
337 xscaleeb)
338 basic_machine=armeb-unknown
339 ;;
340
341 xscaleel)
342 basic_machine=armel-unknown
315 ;; 343 ;;
316 344
317 # We use `pc' rather than `unknown' 345 # We use `pc' rather than `unknown'
318 # because (1) that's what they normally are, and 346 # because (1) that's what they normally are, and
319 # (2) the word "unknown" tends to confuse beginning users. 347 # (2) the word "unknown" tends to confuse beginning users.
331 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 359 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
332 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 360 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
333 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 361 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
334 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 362 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
335 | avr-* | avr32-* \ 363 | avr-* | avr32-* \
364 | be32-* | be64-* \
336 | bfin-* | bs2000-* \ 365 | bfin-* | bs2000-* \
337 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 366 | c[123]* | c30-* | [cjt]90-* | c4x-* \
338 | clipper-* | craynv-* | cydra-* \ 367 | clipper-* | craynv-* | cydra-* \
339 | d10v-* | d30v-* | dlx-* \ 368 | d10v-* | d30v-* | dlx-* \
340 | elxsi-* \ 369 | elxsi-* \
341 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 370 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
342 | h8300-* | h8500-* \ 371 | h8300-* | h8500-* \
343 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 372 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
373 | hexagon-* \
344 | i*86-* | i860-* | i960-* | ia64-* \ 374 | i*86-* | i860-* | i960-* | ia64-* \
345 | ip2k-* | iq2000-* \ 375 | ip2k-* | iq2000-* \
376 | le32-* | le64-* \
346 | lm32-* \ 377 | lm32-* \
347 | m32c-* | m32r-* | m32rle-* \ 378 | m32c-* | m32r-* | m32rle-* \
348 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 379 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
349 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ 380 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
350 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 381 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
366 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 397 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
367 | mipstx39-* | mipstx39el-* \ 398 | mipstx39-* | mipstx39el-* \
368 | mmix-* \ 399 | mmix-* \
369 | mt-* \ 400 | mt-* \
370 | msp430-* \ 401 | msp430-* \
402 | nds32-* | nds32le-* | nds32be-* \
371 | nios-* | nios2-* \ 403 | nios-* | nios2-* \
372 | none-* | np1-* | ns16k-* | ns32k-* \ 404 | none-* | np1-* | ns16k-* | ns32k-* \
405 | open8-* \
373 | orion-* \ 406 | orion-* \
374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 407 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 408 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
376 | pyramid-* \ 409 | pyramid-* \
377 | romp-* | rs6000-* | rx-* \ 410 | rl78-* | romp-* | rs6000-* | rx-* \
378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 411 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 412 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 413 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
381 | sparclite-* \ 414 | sparclite-* \
382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 415 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
383 | tahoe-* | thumb-* \ 416 | tahoe-* \
384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 417 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \ 418 | tile*-* \
386 | tron-* \ 419 | tron-* \
387 | ubicom32-* \ 420 | ubicom32-* \
388 | v850-* | v850e-* | vax-* \ 421 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
422 | vax-* \
389 | we32k-* \ 423 | we32k-* \
390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 424 | x86-* | x86_64-* | xc16x-* | xps100-* \
391 | xstormy16-* | xtensa*-* \ 425 | xstormy16-* | xtensa*-* \
392 | ymp-* \ 426 | ymp-* \
393 | z8k-* | z80-*) 427 | z8k-* | z80-*)
394 ;; 428 ;;
395 # Recognize the basic CPU types without company name, with glob match. 429 # Recognize the basic CPU types without company name, with glob match.
410 ;; 444 ;;
411 a29khif) 445 a29khif)
412 basic_machine=a29k-amd 446 basic_machine=a29k-amd
413 os=-udi 447 os=-udi
414 ;; 448 ;;
415 abacus) 449 abacus)
416 basic_machine=abacus-unknown 450 basic_machine=abacus-unknown
417 ;; 451 ;;
418 adobe68k) 452 adobe68k)
419 basic_machine=m68010-adobe 453 basic_machine=m68010-adobe
420 os=-scout 454 os=-scout
480 ;; 514 ;;
481 bluegene*) 515 bluegene*)
482 basic_machine=powerpc-ibm 516 basic_machine=powerpc-ibm
483 os=-cnk 517 os=-cnk
484 ;; 518 ;;
519 c54x-*)
520 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
521 ;;
522 c55x-*)
523 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
524 ;;
525 c6x-*)
526 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
527 ;;
485 c90) 528 c90)
486 basic_machine=c90-cray 529 basic_machine=c90-cray
487 os=-unicos 530 os=-unicos
488 ;; 531 ;;
489 cegcc) 532 cegcc)
490 basic_machine=arm-unknown 533 basic_machine=arm-unknown
491 os=-cegcc 534 os=-cegcc
492 ;; 535 ;;
493 convex-c1) 536 convex-c1)
494 basic_machine=c1-convex 537 basic_machine=c1-convex
516 ;; 559 ;;
517 craynv) 560 craynv)
518 basic_machine=craynv-cray 561 basic_machine=craynv-cray
519 os=-unicosmp 562 os=-unicosmp
520 ;; 563 ;;
521 cr16) 564 cr16 | cr16-*)
522 basic_machine=cr16-unknown 565 basic_machine=cr16-unknown
523 os=-elf 566 os=-elf
524 ;; 567 ;;
525 crds | unos) 568 crds | unos)
526 basic_machine=m68k-crds 569 basic_machine=m68k-crds
732 ;; 775 ;;
733 merlin) 776 merlin)
734 basic_machine=ns32k-utek 777 basic_machine=ns32k-utek
735 os=-sysv 778 os=-sysv
736 ;; 779 ;;
737 microblaze) 780 microblaze)
738 basic_machine=microblaze-xilinx 781 basic_machine=microblaze-xilinx
739 ;; 782 ;;
740 mingw32) 783 mingw32)
741 basic_machine=i386-pc 784 basic_machine=i386-pc
742 os=-mingw32 785 os=-mingw32
771 os=-msdos 814 os=-msdos
772 ;; 815 ;;
773 ms1-*) 816 ms1-*)
774 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 817 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
775 ;; 818 ;;
819 msys)
820 basic_machine=i386-pc
821 os=-msys
822 ;;
776 mvs) 823 mvs)
777 basic_machine=i370-ibm 824 basic_machine=i370-ibm
778 os=-mvs 825 os=-mvs
826 ;;
827 nacl)
828 basic_machine=le32-unknown
829 os=-nacl
779 ;; 830 ;;
780 ncr3000) 831 ncr3000)
781 basic_machine=i486-ncr 832 basic_machine=i486-ncr
782 os=-sysv4 833 os=-sysv4
783 ;; 834 ;;
839 os=-nonstopux 890 os=-nonstopux
840 ;; 891 ;;
841 np1) 892 np1)
842 basic_machine=np1-gould 893 basic_machine=np1-gould
843 ;; 894 ;;
895 neo-tandem)
896 basic_machine=neo-tandem
897 ;;
898 nse-tandem)
899 basic_machine=nse-tandem
900 ;;
844 nsr-tandem) 901 nsr-tandem)
845 basic_machine=nsr-tandem 902 basic_machine=nsr-tandem
846 ;; 903 ;;
847 op50n-* | op60c-*) 904 op50n-* | op60c-*)
848 basic_machine=hppa1.1-oki 905 basic_machine=hppa1.1-oki
921 pn) 978 pn)
922 basic_machine=pn-gould 979 basic_machine=pn-gould
923 ;; 980 ;;
924 power) basic_machine=power-ibm 981 power) basic_machine=power-ibm
925 ;; 982 ;;
926 ppc) basic_machine=powerpc-unknown 983 ppc | ppcbe) basic_machine=powerpc-unknown
927 ;; 984 ;;
985 ppc-* | ppcbe-*)
928 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 986 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
929 ;; 987 ;;
930 ppcle | powerpclittle | ppc-le | powerpc-little) 988 ppcle | powerpclittle | ppc-le | powerpc-little)
931 basic_machine=powerpcle-unknown 989 basic_machine=powerpcle-unknown
932 ;; 990 ;;
933 ppcle-* | powerpclittle-*) 991 ppcle-* | powerpclittle-*)
1017 ;; 1075 ;;
1018 stratus) 1076 stratus)
1019 basic_machine=i860-stratus 1077 basic_machine=i860-stratus
1020 os=-sysv4 1078 os=-sysv4
1021 ;; 1079 ;;
1080 strongarm-* | thumb-*)
1081 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1082 ;;
1022 sun2) 1083 sun2)
1023 basic_machine=m68000-sun 1084 basic_machine=m68000-sun
1024 ;; 1085 ;;
1025 sun2os3) 1086 sun2os3)
1026 basic_machine=m68000-sun 1087 basic_machine=m68000-sun
1073 ;; 1134 ;;
1074 t90) 1135 t90)
1075 basic_machine=t90-cray 1136 basic_machine=t90-cray
1076 os=-unicos 1137 os=-unicos
1077 ;; 1138 ;;
1078 tic54x | c54x*)
1079 basic_machine=tic54x-unknown
1080 os=-coff
1081 ;;
1082 tic55x | c55x*)
1083 basic_machine=tic55x-unknown
1084 os=-coff
1085 ;;
1086 tic6x | c6x*)
1087 basic_machine=tic6x-unknown
1088 os=-coff
1089 ;;
1090 # This must be matched before tile*.
1091 tilegx*)
1092 basic_machine=tilegx-unknown
1093 os=-linux-gnu
1094 ;;
1095 tile*) 1139 tile*)
1096 basic_machine=tile-unknown 1140 basic_machine=$basic_machine-unknown
1097 os=-linux-gnu 1141 os=-linux-gnu
1098 ;; 1142 ;;
1099 tx39) 1143 tx39)
1100 basic_machine=mipstx39-unknown 1144 basic_machine=mipstx39-unknown
1101 ;; 1145 ;;
1160 basic_machine=i686-pc 1204 basic_machine=i686-pc
1161 os=-mingw32 1205 os=-mingw32
1162 ;; 1206 ;;
1163 xps | xps100) 1207 xps | xps100)
1164 basic_machine=xps100-honeywell 1208 basic_machine=xps100-honeywell
1209 ;;
1210 xscale-* | xscalee[bl]-*)
1211 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1165 ;; 1212 ;;
1166 ymp) 1213 ymp)
1167 basic_machine=ymp-cray 1214 basic_machine=ymp-cray
1168 os=-unicos 1215 os=-unicos
1169 ;; 1216 ;;
1258# Decode manufacturer-specific aliases for certain operating systems. 1305# Decode manufacturer-specific aliases for certain operating systems.
1259 1306
1260if [ x"$os" != x"" ] 1307if [ x"$os" != x"" ]
1261then 1308then
1262case $os in 1309case $os in
1263 # First match some system type aliases 1310 # First match some system type aliases
1264 # that might get confused with valid system types. 1311 # that might get confused with valid system types.
1265 # -solaris* is a basic system type, with this one exception. 1312 # -solaris* is a basic system type, with this one exception.
1266 -auroraux) 1313 -auroraux)
1267 os=-auroraux 1314 os=-auroraux
1268 ;; 1315 ;;
1269 -solaris1 | -solaris1.*) 1316 -solaris1 | -solaris1.*)
1270 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1317 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1271 ;; 1318 ;;
1272 -solaris) 1319 -solaris)
1298 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1345 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1299 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1346 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1300 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1347 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1301 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1348 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1302 | -chorusos* | -chorusrdb* | -cegcc* \ 1349 | -chorusos* | -chorusrdb* | -cegcc* \
1303 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1350 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1304 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 1351 | -mingw32* | -linux-gnu* | -linux-android* \
1352 | -linux-newlib* | -linux-uclibc* \
1305 | -uxpv* | -beos* | -mpeix* | -udk* \ 1353 | -uxpv* | -beos* | -mpeix* | -udk* \
1306 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1354 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1307 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1355 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1308 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1356 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1309 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1357 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1346 os=`echo $os | sed -e 's|sunos6|solaris3|'` 1394 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1347 ;; 1395 ;;
1348 -opened*) 1396 -opened*)
1349 os=-openedition 1397 os=-openedition
1350 ;; 1398 ;;
1351 -os400*) 1399 -os400*)
1352 os=-os400 1400 os=-os400
1353 ;; 1401 ;;
1354 -wince*) 1402 -wince*)
1355 os=-wince 1403 os=-wince
1356 ;; 1404 ;;
1395 os=`echo $os | sed -e 's|sinix|sysv|'` 1443 os=`echo $os | sed -e 's|sinix|sysv|'`
1396 ;; 1444 ;;
1397 -sinix*) 1445 -sinix*)
1398 os=-sysv4 1446 os=-sysv4
1399 ;; 1447 ;;
1400 -tpf*) 1448 -tpf*)
1401 os=-tpf 1449 os=-tpf
1402 ;; 1450 ;;
1403 -triton*) 1451 -triton*)
1404 os=-sysv3 1452 os=-sysv3
1405 ;; 1453 ;;
1440 os=-zvmoe 1488 os=-zvmoe
1441 ;; 1489 ;;
1442 -dicos*) 1490 -dicos*)
1443 os=-dicos 1491 os=-dicos
1444 ;; 1492 ;;
1445 -nacl*) 1493 -nacl*)
1446 ;; 1494 ;;
1447 -none) 1495 -none)
1448 ;; 1496 ;;
1449 *) 1497 *)
1450 # Get rid of the `-' at the beginning of $os. 1498 # Get rid of the `-' at the beginning of $os.
1451 os=`echo $os | sed 's/[^-]*-//'` 1499 os=`echo $os | sed 's/[^-]*-//'`
1464# that MANUFACTURER isn't an operating system. Otherwise, code above 1512# that MANUFACTURER isn't an operating system. Otherwise, code above
1465# will signal an error saying that MANUFACTURER isn't an operating 1513# will signal an error saying that MANUFACTURER isn't an operating
1466# system, and we'll never get to this point. 1514# system, and we'll never get to this point.
1467 1515
1468case $basic_machine in 1516case $basic_machine in
1469 score-*) 1517 score-*)
1470 os=-elf 1518 os=-elf
1471 ;; 1519 ;;
1472 spu-*) 1520 spu-*)
1473 os=-elf 1521 os=-elf
1474 ;; 1522 ;;
1475 *-acorn) 1523 *-acorn)
1476 os=-riscix1.2 1524 os=-riscix1.2
1477 ;; 1525 ;;
1479 os=-linux 1527 os=-linux
1480 ;; 1528 ;;
1481 arm*-semi) 1529 arm*-semi)
1482 os=-aout 1530 os=-aout
1483 ;; 1531 ;;
1484 c4x-* | tic4x-*) 1532 c4x-* | tic4x-*)
1485 os=-coff 1533 os=-coff
1534 ;;
1535 tic54x-*)
1536 os=-coff
1537 ;;
1538 tic55x-*)
1539 os=-coff
1540 ;;
1541 tic6x-*)
1542 os=-coff
1486 ;; 1543 ;;
1487 # This must come before the *-dec entry. 1544 # This must come before the *-dec entry.
1488 pdp10-*) 1545 pdp10-*)
1489 os=-tops20 1546 os=-tops20
1490 ;; 1547 ;;
1507 # os=-sunos4 1564 # os=-sunos4
1508 ;; 1565 ;;
1509 m68*-cisco) 1566 m68*-cisco)
1510 os=-aout 1567 os=-aout
1511 ;; 1568 ;;
1512 mep-*) 1569 mep-*)
1513 os=-elf 1570 os=-elf
1514 ;; 1571 ;;
1515 mips*-cisco) 1572 mips*-cisco)
1516 os=-elf 1573 os=-elf
1517 ;; 1574 ;;
1534 os=-haiku 1591 os=-haiku
1535 ;; 1592 ;;
1536 *-ibm) 1593 *-ibm)
1537 os=-aix 1594 os=-aix
1538 ;; 1595 ;;
1539 *-knuth) 1596 *-knuth)
1540 os=-mmixware 1597 os=-mmixware
1541 ;; 1598 ;;
1542 *-wec) 1599 *-wec)
1543 os=-proelf 1600 os=-proelf
1544 ;; 1601 ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines