Mercurial > hg > easyhg-kdiff3
comparison kdiff3/admin/config.sub @ 14:415083d043f3
KDiff3 version 0.9.70
author | joachim99 |
---|---|
date | Mon, 06 Oct 2003 19:19:11 +0000 |
parents | 53b8ecbce0cb |
children | 8febbfb1148c |
comparison
equal
deleted
inserted
replaced
13:266aeefa1b11 | 14:415083d043f3 |
---|---|
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, 2000, 2001 | 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 # Free Software Foundation, Inc. | 4 # 2000, 2001, 2002 Free Software Foundation, Inc. |
5 | 5 |
6 timestamp='2001-08-13' | 6 timestamp='2002-09-05' |
7 | 7 |
8 # This file is (in principle) common to ALL GNU software. | 8 # This file is (in principle) common to ALL GNU software. |
9 # The presence of a machine in this file suggests that SOME GNU software | 9 # The presence of a machine in this file suggests that SOME GNU software |
10 # can handle that machine. It does not imply ALL GNU software can. | 10 # can handle that machine. It does not imply ALL GNU software can. |
11 # | 11 # |
27 # As a special exception to the GNU General Public License, if you | 27 # As a special exception to the GNU General Public License, if you |
28 # distribute this file as part of a program that contains a | 28 # distribute this file as part of a program that contains a |
29 # configuration script generated by Autoconf, you may include it under | 29 # configuration script generated by Autoconf, you may include it under |
30 # the same distribution terms that you use for the rest of that program. | 30 # the same distribution terms that you use for the rest of that program. |
31 | 31 |
32 # Please send patches to <config-patches@gnu.org>. | 32 # Please send patches to <config-patches@gnu.org>. Submit a context |
33 # diff and a properly formatted ChangeLog entry. | |
33 # | 34 # |
34 # Configuration subroutine to validate and canonicalize a configuration type. | 35 # Configuration subroutine to validate and canonicalize a configuration type. |
35 # Supply the specified configuration type as an argument. | 36 # Supply the specified configuration type as an argument. |
36 # If it is invalid, we print an error message on stderr and exit with code 1. | 37 # If it is invalid, we print an error message on stderr and exit with code 1. |
37 # Otherwise, we print the canonical config type on stdout and succeed. | 38 # Otherwise, we print the canonical config type on stdout and succeed. |
115 | 116 |
116 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). | 117 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
117 # Here we must recognize all the valid KERNEL-OS combinations. | 118 # Here we must recognize all the valid KERNEL-OS combinations. |
118 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
119 case $maybe_os in | 120 case $maybe_os in |
120 nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*) | 121 nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) |
121 os=-$maybe_os | 122 os=-$maybe_os |
122 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
123 ;; | 124 ;; |
124 *) | 125 *) |
125 basic_machine=`echo $1 | sed 's/-[^-]*$//'` | 126 basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
224 # Recognize the basic CPU types without company name. | 225 # Recognize the basic CPU types without company name. |
225 # Some are omitted here because they have special meanings below. | 226 # Some are omitted here because they have special meanings below. |
226 1750a | 580 \ | 227 1750a | 580 \ |
227 | a29k \ | 228 | a29k \ |
228 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 229 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
230 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | |
229 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | 231 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ |
230 | c4x | clipper \ | 232 | clipper \ |
231 | d10v | d30v | dsp16xx \ | 233 | d10v | d30v | dlx | dsp16xx \ |
232 | fr30 \ | 234 | fr30 | frv \ |
233 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 235 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
234 | i370 | i860 | i960 | ia64 \ | 236 | i370 | i860 | i960 | ia64 \ |
237 | ip2k \ | |
235 | m32r | m68000 | m68k | m88k | mcore \ | 238 | m32r | m68000 | m68k | m88k | mcore \ |
236 | mips16 | mips64 | mips64el | mips64orion | mips64orionel \ | 239 | mips | mipsbe | mipseb | mipsel | mipsle \ |
237 | mips64vr4100 | mips64vr4100el | mips64vr4300 \ | 240 | mips16 \ |
238 | mips64vr4300el | mips64vr5000 | mips64vr5000el \ | 241 | mips64 | mips64el \ |
239 | mipsbe | mipsel | mipsle | mipstx39 | mipstx39el \ | 242 | mips64vr | mips64vrel \ |
243 | mips64orion | mips64orionel \ | |
244 | mips64vr4100 | mips64vr4100el \ | |
245 | mips64vr4300 | mips64vr4300el \ | |
246 | mips64vr5000 | mips64vr5000el \ | |
247 | mipsisa32 | mipsisa32el \ | |
248 | mipsisa64 | mipsisa64el \ | |
249 | mipsisa64sb1 | mipsisa64sb1el \ | |
250 | mipsisa64sr71k | mipsisa64sr71kel \ | |
251 | mipstx39 | mipstx39el \ | |
240 | mn10200 | mn10300 \ | 252 | mn10200 | mn10300 \ |
241 | ns16k | ns32k \ | 253 | ns16k | ns32k \ |
242 | openrisc \ | 254 | openrisc | or32 \ |
243 | pdp10 | pdp11 | pj | pjl \ | 255 | pdp10 | pdp11 | pj | pjl \ |
244 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 256 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
245 | pyramid \ | 257 | pyramid \ |
246 | s390 | s390x \ | 258 | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
247 | sh | sh[34] | sh[34]eb | shbe | shle \ | 259 | sh64 | sh64le \ |
248 | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \ | 260 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ |
249 | strongarm \ | 261 | strongarm \ |
250 | tahoe | thumb | tic80 | tron \ | 262 | tahoe | thumb | tic80 | tron \ |
251 | v850 \ | 263 | v850 | v850e \ |
252 | we32k \ | 264 | we32k \ |
253 | x86 | xscale \ | 265 | x86 | xscale | xstormy16 | xtensa \ |
254 | z8k) | 266 | z8k) |
255 basic_machine=$basic_machine-unknown | 267 basic_machine=$basic_machine-unknown |
256 ;; | 268 ;; |
257 m6811 | m68hc11 | m6812 | m68hc12) | 269 m6811 | m68hc11 | m6812 | m68hc12) |
258 # Motorola 68HC11/12. | 270 # Motorola 68HC11/12. |
275 ;; | 287 ;; |
276 # Recognize the basic CPU types with company name. | 288 # Recognize the basic CPU types with company name. |
277 580-* \ | 289 580-* \ |
278 | a29k-* \ | 290 | a29k-* \ |
279 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | 291 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
280 | alphapca5[67]-* | arc-* \ | 292 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
281 | arm-* | armbe-* | armle-* | armv*-* \ | 293 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
294 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | |
295 | avr-* \ | |
282 | bs2000-* \ | 296 | bs2000-* \ |
283 | c[123]* | c30-* | [cjt]90-* | c54x-* \ | 297 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ |
284 | clipper-* | cray2-* | cydra-* \ | 298 | clipper-* | cydra-* \ |
285 | d10v-* | d30v-* \ | 299 | d10v-* | d30v-* | dlx-* \ |
286 | elxsi-* \ | 300 | elxsi-* \ |
287 | f30[01]-* | f700-* | fr30-* | fx80-* \ | 301 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
288 | h8300-* | h8500-* \ | 302 | h8300-* | h8500-* \ |
289 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 303 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
290 | i*86-* | i860-* | i960-* | ia64-* \ | 304 | i*86-* | i860-* | i960-* | ia64-* \ |
305 | ip2k-* \ | |
291 | m32r-* \ | 306 | m32r-* \ |
292 | m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \ | 307 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
293 | m88110-* | m88k-* | mcore-* \ | 308 | m88110-* | m88k-* | mcore-* \ |
294 | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ | 309 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
295 | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ | 310 | mips16-* \ |
296 | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipsel-* \ | 311 | mips64-* | mips64el-* \ |
297 | mipsle-* | mipstx39-* | mipstx39el-* \ | 312 | mips64vr-* | mips64vrel-* \ |
313 | mips64orion-* | mips64orionel-* \ | |
314 | mips64vr4100-* | mips64vr4100el-* \ | |
315 | mips64vr4300-* | mips64vr4300el-* \ | |
316 | mips64vr5000-* | mips64vr5000el-* \ | |
317 | mipsisa32-* | mipsisa32el-* \ | |
318 | mipsisa64-* | mipsisa64el-* \ | |
319 | mipsisa64sb1-* | mipsisa64sb1el-* \ | |
320 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | |
321 | mipstx39 | mipstx39el \ | |
298 | none-* | np1-* | ns16k-* | ns32k-* \ | 322 | none-* | np1-* | ns16k-* | ns32k-* \ |
299 | orion-* \ | 323 | orion-* \ |
300 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 324 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
301 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 325 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
302 | pyramid-* \ | 326 | pyramid-* \ |
303 | romp-* | rs6000-* \ | 327 | romp-* | rs6000-* \ |
304 | s390-* | s390x-* \ | 328 | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ |
305 | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \ | 329 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
306 | sparc-* | sparc64-* | sparc86x-* | sparclite-* \ | 330 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ |
307 | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* \ | 331 | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
308 | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ | 332 | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \ |
309 | v850-* | vax-* \ | 333 | v850-* | v850e-* | vax-* \ |
310 | we32k-* \ | 334 | we32k-* \ |
311 | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \ | 335 | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ |
336 | xtensa-* \ | |
312 | ymp-* \ | 337 | ymp-* \ |
313 | z8k-*) | 338 | z8k-*) |
314 ;; | 339 ;; |
315 # Recognize the various machine names and aliases which stand | 340 # Recognize the various machine names and aliases which stand |
316 # for a CPU type and a company and sometimes even an OS. | 341 # for a CPU type and a company and sometimes even an OS. |
371 ;; | 396 ;; |
372 balance) | 397 balance) |
373 basic_machine=ns32k-sequent | 398 basic_machine=ns32k-sequent |
374 os=-dynix | 399 os=-dynix |
375 ;; | 400 ;; |
401 c90) | |
402 basic_machine=c90-cray | |
403 os=-unicos | |
404 ;; | |
376 convex-c1) | 405 convex-c1) |
377 basic_machine=c1-convex | 406 basic_machine=c1-convex |
378 os=-bsd | 407 os=-bsd |
379 ;; | 408 ;; |
380 convex-c2) | 409 convex-c2) |
391 ;; | 420 ;; |
392 convex-c38) | 421 convex-c38) |
393 basic_machine=c38-convex | 422 basic_machine=c38-convex |
394 os=-bsd | 423 os=-bsd |
395 ;; | 424 ;; |
396 cray | ymp) | 425 cray | j90) |
397 basic_machine=ymp-cray | 426 basic_machine=j90-cray |
398 os=-unicos | |
399 ;; | |
400 cray2) | |
401 basic_machine=cray2-cray | |
402 os=-unicos | |
403 ;; | |
404 [cjt]90) | |
405 basic_machine=${basic_machine}-cray | |
406 os=-unicos | 427 os=-unicos |
407 ;; | 428 ;; |
408 crds | unos) | 429 crds | unos) |
409 basic_machine=m68k-crds | 430 basic_machine=m68k-crds |
410 ;; | 431 ;; |
414 da30 | da30-*) | 435 da30 | da30-*) |
415 basic_machine=m68k-da30 | 436 basic_machine=m68k-da30 |
416 ;; | 437 ;; |
417 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) | 438 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) |
418 basic_machine=mips-dec | 439 basic_machine=mips-dec |
440 ;; | |
441 decsystem10* | dec10*) | |
442 basic_machine=pdp10-dec | |
443 os=-tops10 | |
444 ;; | |
445 decsystem20* | dec20*) | |
446 basic_machine=pdp10-dec | |
447 os=-tops20 | |
419 ;; | 448 ;; |
420 delta | 3300 | motorola-3300 | motorola-delta \ | 449 delta | 3300 | motorola-3300 | motorola-delta \ |
421 | 3300-motorola | delta-motorola) | 450 | 3300-motorola | delta-motorola) |
422 basic_machine=m68k-motorola | 451 basic_machine=m68k-motorola |
423 ;; | 452 ;; |
595 ;; | 624 ;; |
596 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) | 625 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
597 basic_machine=m68k-atari | 626 basic_machine=m68k-atari |
598 os=-mint | 627 os=-mint |
599 ;; | 628 ;; |
600 mipsel*-linux*) | |
601 basic_machine=mipsel-unknown | |
602 os=-linux-gnu | |
603 ;; | |
604 mips*-linux*) | |
605 basic_machine=mips-unknown | |
606 os=-linux-gnu | |
607 ;; | |
608 mips3*-*) | 629 mips3*-*) |
609 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | 630 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
610 ;; | 631 ;; |
611 mips3*) | 632 mips3*) |
612 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown | 633 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown |
616 os=-mmixware | 637 os=-mmixware |
617 ;; | 638 ;; |
618 monitor) | 639 monitor) |
619 basic_machine=m68k-rom68k | 640 basic_machine=m68k-rom68k |
620 os=-coff | 641 os=-coff |
642 ;; | |
643 morphos) | |
644 basic_machine=powerpc-unknown | |
645 os=-morphos | |
621 ;; | 646 ;; |
622 msdos) | 647 msdos) |
623 basic_machine=i386-pc | 648 basic_machine=i386-pc |
624 os=-msdos | 649 os=-msdos |
625 ;; | 650 ;; |
696 ;; | 721 ;; |
697 op50n-* | op60c-*) | 722 op50n-* | op60c-*) |
698 basic_machine=hppa1.1-oki | 723 basic_machine=hppa1.1-oki |
699 os=-proelf | 724 os=-proelf |
700 ;; | 725 ;; |
726 or32 | or32-*) | |
727 basic_machine=or32-unknown | |
728 os=-coff | |
729 ;; | |
701 OSE68000 | ose68000) | 730 OSE68000 | ose68000) |
702 basic_machine=m68000-ericsson | 731 basic_machine=m68000-ericsson |
703 os=-ose | 732 os=-ose |
704 ;; | 733 ;; |
705 os68k) | 734 os68k) |
718 basic_machine=sparc-tti | 747 basic_machine=sparc-tti |
719 ;; | 748 ;; |
720 pbb) | 749 pbb) |
721 basic_machine=m68k-tti | 750 basic_machine=m68k-tti |
722 ;; | 751 ;; |
723 pc532 | pc532-*) | 752 pc532 | pc532-*) |
724 basic_machine=ns32k-pc532 | 753 basic_machine=ns32k-pc532 |
725 ;; | 754 ;; |
726 pentium | p5 | k5 | k6 | nexgen) | 755 pentium | p5 | k5 | k6 | nexgen | viac3) |
727 basic_machine=i586-pc | 756 basic_machine=i586-pc |
728 ;; | 757 ;; |
729 pentiumpro | p6 | 6x86 | athlon) | 758 pentiumpro | p6 | 6x86 | athlon | athlon_*) |
730 basic_machine=i686-pc | 759 basic_machine=i686-pc |
731 ;; | 760 ;; |
732 pentiumii | pentium2) | 761 pentiumii | pentium2) |
733 basic_machine=i686-pc | 762 basic_machine=i686-pc |
734 ;; | 763 ;; |
735 pentium-* | p5-* | k5-* | k6-* | nexgen-*) | 764 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
736 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | 765 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
737 ;; | 766 ;; |
738 pentiumpro-* | p6-* | 6x86-* | athlon-*) | 767 pentiumpro-* | p6-* | 6x86-* | athlon-*) |
739 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | 768 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
740 ;; | 769 ;; |
745 basic_machine=pn-gould | 774 basic_machine=pn-gould |
746 ;; | 775 ;; |
747 power) basic_machine=power-ibm | 776 power) basic_machine=power-ibm |
748 ;; | 777 ;; |
749 ppc) basic_machine=powerpc-unknown | 778 ppc) basic_machine=powerpc-unknown |
750 ;; | 779 ;; |
751 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | 780 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
752 ;; | 781 ;; |
753 ppcle | powerpclittle | ppc-le | powerpc-little) | 782 ppcle | powerpclittle | ppc-le | powerpc-little) |
754 basic_machine=powerpcle-unknown | 783 basic_machine=powerpcle-unknown |
755 ;; | 784 ;; |
756 ppcle-* | powerpclittle-*) | 785 ppcle-* | powerpclittle-*) |
757 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | 786 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` |
758 ;; | 787 ;; |
759 ppc64) basic_machine=powerpc64-unknown | 788 ppc64) basic_machine=powerpc64-unknown |
760 ;; | 789 ;; |
761 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | 790 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` |
762 ;; | 791 ;; |
763 ppc64le | powerpc64little | ppc64-le | powerpc64-little) | 792 ppc64le | powerpc64little | ppc64-le | powerpc64-little) |
764 basic_machine=powerpc64le-unknown | 793 basic_machine=powerpc64le-unknown |
765 ;; | 794 ;; |
766 ppc64le-* | powerpc64little-*) | 795 ppc64le-* | powerpc64little-*) |
767 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | 796 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` |
768 ;; | 797 ;; |
769 ps2) | 798 ps2) |
770 basic_machine=i386-ibm | 799 basic_machine=i386-ibm |
781 basic_machine=mips-siemens | 810 basic_machine=mips-siemens |
782 ;; | 811 ;; |
783 rtpc | rtpc-*) | 812 rtpc | rtpc-*) |
784 basic_machine=romp-ibm | 813 basic_machine=romp-ibm |
785 ;; | 814 ;; |
815 s390 | s390-*) | |
816 basic_machine=s390-ibm | |
817 ;; | |
818 s390x | s390x-*) | |
819 basic_machine=s390x-ibm | |
820 ;; | |
786 sa29200) | 821 sa29200) |
787 basic_machine=a29k-amd | 822 basic_machine=a29k-amd |
788 os=-udi | 823 os=-udi |
789 ;; | 824 ;; |
825 sb1) | |
826 basic_machine=mipsisa64sb1-unknown | |
827 ;; | |
828 sb1el) | |
829 basic_machine=mipsisa64sb1el-unknown | |
830 ;; | |
790 sequent) | 831 sequent) |
791 basic_machine=i386-sequent | 832 basic_machine=i386-sequent |
792 ;; | 833 ;; |
793 sh) | 834 sh) |
794 basic_machine=sh-hitachi | 835 basic_machine=sh-hitachi |
795 os=-hms | 836 os=-hms |
796 ;; | 837 ;; |
797 sparclite-wrs) | 838 sparclite-wrs | simso-wrs) |
798 basic_machine=sparclite-wrs | 839 basic_machine=sparclite-wrs |
799 os=-vxworks | 840 os=-vxworks |
800 ;; | 841 ;; |
801 sps7) | 842 sps7) |
802 basic_machine=m68k-bull | 843 basic_machine=m68k-bull |
858 ;; | 899 ;; |
859 symmetry) | 900 symmetry) |
860 basic_machine=i386-sequent | 901 basic_machine=i386-sequent |
861 os=-dynix | 902 os=-dynix |
862 ;; | 903 ;; |
904 t3d) | |
905 basic_machine=alpha-cray | |
906 os=-unicos | |
907 ;; | |
863 t3e) | 908 t3e) |
864 basic_machine=t3e-cray | 909 basic_machine=alphaev5-cray |
865 os=-unicos | 910 os=-unicos |
911 ;; | |
912 t90) | |
913 basic_machine=t90-cray | |
914 os=-unicos | |
915 ;; | |
916 tic4x | c4x*) | |
917 basic_machine=tic4x-unknown | |
918 os=-coff | |
866 ;; | 919 ;; |
867 tic54x | c54x*) | 920 tic54x | c54x*) |
868 basic_machine=tic54x-unknown | 921 basic_machine=tic54x-unknown |
869 os=-coff | 922 os=-coff |
870 ;; | 923 ;; |
872 basic_machine=mipstx39-unknown | 925 basic_machine=mipstx39-unknown |
873 ;; | 926 ;; |
874 tx39el) | 927 tx39el) |
875 basic_machine=mipstx39el-unknown | 928 basic_machine=mipstx39el-unknown |
876 ;; | 929 ;; |
930 toad1) | |
931 basic_machine=pdp10-xkl | |
932 os=-tops20 | |
933 ;; | |
877 tower | tower-32) | 934 tower | tower-32) |
878 basic_machine=m68k-ncr | 935 basic_machine=m68k-ncr |
879 ;; | 936 ;; |
880 udi29k) | 937 udi29k) |
881 basic_machine=a29k-amd | 938 basic_machine=a29k-amd |
896 vms) | 953 vms) |
897 basic_machine=vax-dec | 954 basic_machine=vax-dec |
898 os=-vms | 955 os=-vms |
899 ;; | 956 ;; |
900 vpp*|vx|vx-*) | 957 vpp*|vx|vx-*) |
901 basic_machine=f301-fujitsu | 958 basic_machine=f301-fujitsu |
902 ;; | 959 ;; |
903 vxworks960) | 960 vxworks960) |
904 basic_machine=i960-wrs | 961 basic_machine=i960-wrs |
905 os=-vxworks | 962 os=-vxworks |
906 ;; | 963 ;; |
907 vxworks68) | 964 vxworks68) |
922 ;; | 979 ;; |
923 windows32) | 980 windows32) |
924 basic_machine=i386-pc | 981 basic_machine=i386-pc |
925 os=-windows32-msvcrt | 982 os=-windows32-msvcrt |
926 ;; | 983 ;; |
927 xmp) | 984 xps | xps100) |
928 basic_machine=xmp-cray | 985 basic_machine=xps100-honeywell |
986 ;; | |
987 ymp) | |
988 basic_machine=ymp-cray | |
929 os=-unicos | 989 os=-unicos |
930 ;; | |
931 xps | xps100) | |
932 basic_machine=xps100-honeywell | |
933 ;; | 990 ;; |
934 z8k-*-coff) | 991 z8k-*-coff) |
935 basic_machine=z8k-unknown | 992 basic_machine=z8k-unknown |
936 os=-sim | 993 os=-sim |
937 ;; | 994 ;; |
949 basic_machine=hppa1.1-oki | 1006 basic_machine=hppa1.1-oki |
950 ;; | 1007 ;; |
951 op60c) | 1008 op60c) |
952 basic_machine=hppa1.1-oki | 1009 basic_machine=hppa1.1-oki |
953 ;; | 1010 ;; |
954 mips) | |
955 if [ x$os = x-linux-gnu ]; then | |
956 basic_machine=mips-unknown | |
957 else | |
958 basic_machine=mips-mips | |
959 fi | |
960 ;; | |
961 romp) | 1011 romp) |
962 basic_machine=romp-ibm | 1012 basic_machine=romp-ibm |
963 ;; | 1013 ;; |
964 rs6000) | 1014 rs6000) |
965 basic_machine=rs6000-ibm | 1015 basic_machine=rs6000-ibm |
975 basic_machine=pdp11-dec | 1025 basic_machine=pdp11-dec |
976 ;; | 1026 ;; |
977 we32k) | 1027 we32k) |
978 basic_machine=we32k-att | 1028 basic_machine=we32k-att |
979 ;; | 1029 ;; |
980 sh3 | sh4 | sh3eb | sh4eb) | 1030 sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) |
981 basic_machine=sh-unknown | 1031 basic_machine=sh-unknown |
1032 ;; | |
1033 sh64) | |
1034 basic_machine=sh64-unknown | |
982 ;; | 1035 ;; |
983 sparc | sparcv9 | sparcv9b) | 1036 sparc | sparcv9 | sparcv9b) |
984 basic_machine=sparc-sun | 1037 basic_machine=sparc-sun |
985 ;; | 1038 ;; |
986 cydra) | 1039 cydra) |
987 basic_machine=cydra-cydrome | 1040 basic_machine=cydra-cydrome |
988 ;; | 1041 ;; |
989 orion) | 1042 orion) |
990 basic_machine=orion-highlevel | 1043 basic_machine=orion-highlevel |
991 ;; | 1044 ;; |
995 mac | mpw | mac-mpw) | 1048 mac | mpw | mac-mpw) |
996 basic_machine=m68k-apple | 1049 basic_machine=m68k-apple |
997 ;; | 1050 ;; |
998 pmac | pmac-mpw) | 1051 pmac | pmac-mpw) |
999 basic_machine=powerpc-apple | 1052 basic_machine=powerpc-apple |
1000 ;; | |
1001 c4x*) | |
1002 basic_machine=c4x-none | |
1003 os=-coff | |
1004 ;; | 1053 ;; |
1005 *-unknown) | 1054 *-unknown) |
1006 # Make sure to match an already-canonicalized machine name. | 1055 # Make sure to match an already-canonicalized machine name. |
1007 ;; | 1056 ;; |
1008 *) | 1057 *) |
1065 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1114 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1066 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | 1115 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ |
1067 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ | 1116 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ |
1068 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1117 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1069 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1118 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1070 | -os2* | -vos*) | 1119 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1120 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*) | |
1071 # Remember, each alternative MUST END IN *, to match a version number. | 1121 # Remember, each alternative MUST END IN *, to match a version number. |
1072 ;; | 1122 ;; |
1073 -qnx*) | 1123 -qnx*) |
1074 case $basic_machine in | 1124 case $basic_machine in |
1075 x86-* | i*86-*) | 1125 x86-* | i*86-*) |
1117 os=-bsd | 1167 os=-bsd |
1118 ;; | 1168 ;; |
1119 -acis*) | 1169 -acis*) |
1120 os=-aos | 1170 os=-aos |
1121 ;; | 1171 ;; |
1172 -atheos*) | |
1173 os=-atheos | |
1174 ;; | |
1122 -386bsd) | 1175 -386bsd) |
1123 os=-bsd | 1176 os=-bsd |
1124 ;; | 1177 ;; |
1125 -ctix* | -uts*) | 1178 -ctix* | -uts*) |
1126 os=-sysv | 1179 os=-sysv |
1127 ;; | 1180 ;; |
1181 -nova*) | |
1182 os=-rtmk-nova | |
1183 ;; | |
1128 -ns2 ) | 1184 -ns2 ) |
1129 os=-nextstep2 | 1185 os=-nextstep2 |
1130 ;; | 1186 ;; |
1131 -nsk*) | 1187 -nsk*) |
1132 os=-nsk | 1188 os=-nsk |
1133 ;; | 1189 ;; |
1134 # Preserve the version number of sinix5. | 1190 # Preserve the version number of sinix5. |
1163 os=-ose | 1219 os=-ose |
1164 ;; | 1220 ;; |
1165 -xenix) | 1221 -xenix) |
1166 os=-xenix | 1222 os=-xenix |
1167 ;; | 1223 ;; |
1168 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) | 1224 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1169 os=-mint | 1225 os=-mint |
1170 ;; | 1226 ;; |
1171 -none) | 1227 -none) |
1172 ;; | 1228 ;; |
1173 *) | 1229 *) |
1174 # Get rid of the `-' at the beginning of $os. | 1230 # Get rid of the `-' at the beginning of $os. |
1197 os=-linux | 1253 os=-linux |
1198 ;; | 1254 ;; |
1199 arm*-semi) | 1255 arm*-semi) |
1200 os=-aout | 1256 os=-aout |
1201 ;; | 1257 ;; |
1258 # This must come before the *-dec entry. | |
1202 pdp10-*) | 1259 pdp10-*) |
1203 os=-tops20 | 1260 os=-tops20 |
1204 ;; | 1261 ;; |
1205 pdp11-*) | 1262 pdp11-*) |
1206 os=-none | 1263 os=-none |
1207 ;; | 1264 ;; |
1208 *-dec | vax-*) | 1265 *-dec | vax-*) |
1209 os=-ultrix4.2 | 1266 os=-ultrix4.2 |
1210 ;; | 1267 ;; |
1227 os=-elf | 1284 os=-elf |
1228 ;; | 1285 ;; |
1229 mips*-*) | 1286 mips*-*) |
1230 os=-elf | 1287 os=-elf |
1231 ;; | 1288 ;; |
1289 or32-*) | |
1290 os=-coff | |
1291 ;; | |
1232 *-tti) # must be before sparc entry or we get the wrong os. | 1292 *-tti) # must be before sparc entry or we get the wrong os. |
1233 os=-sysv3 | 1293 os=-sysv3 |
1234 ;; | 1294 ;; |
1235 sparc-* | *-sun) | 1295 sparc-* | *-sun) |
1236 os=-sunos4.1.1 | 1296 os=-sunos4.1.1 |
1290 os=-mvs | 1350 os=-mvs |
1291 ;; | 1351 ;; |
1292 *-next) | 1352 *-next) |
1293 os=-nextstep3 | 1353 os=-nextstep3 |
1294 ;; | 1354 ;; |
1295 *-gould) | 1355 *-gould) |
1296 os=-sysv | 1356 os=-sysv |
1297 ;; | 1357 ;; |
1298 *-highlevel) | 1358 *-highlevel) |
1299 os=-bsd | 1359 os=-bsd |
1300 ;; | 1360 ;; |
1301 *-encore) | 1361 *-encore) |
1302 os=-bsd | 1362 os=-bsd |
1303 ;; | 1363 ;; |
1304 *-sgi) | 1364 *-sgi) |
1305 os=-irix | 1365 os=-irix |
1306 ;; | 1366 ;; |
1307 *-siemens) | 1367 *-siemens) |
1308 os=-sysv4 | 1368 os=-sysv4 |
1309 ;; | 1369 ;; |
1310 *-masscomp) | 1370 *-masscomp) |
1311 os=-rtu | 1371 os=-rtu |
1312 ;; | 1372 ;; |
1374 vendor=ibm | 1434 vendor=ibm |
1375 ;; | 1435 ;; |
1376 -ptx*) | 1436 -ptx*) |
1377 vendor=sequent | 1437 vendor=sequent |
1378 ;; | 1438 ;; |
1379 -vxsim* | -vxworks*) | 1439 -vxsim* | -vxworks* | -windiss*) |
1380 vendor=wrs | 1440 vendor=wrs |
1381 ;; | 1441 ;; |
1382 -aux*) | 1442 -aux*) |
1383 vendor=apple | 1443 vendor=apple |
1384 ;; | 1444 ;; |