Changeset 7187 in orxonox.OLD for branches/shared_lib/config.sub
- Timestamp:
- Feb 22, 2006, 2:49:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/shared_lib/config.sub
r5750 r7187 1 1 #! /bin/sh 2 2 # Configuration validation subroutine script. 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4 # 2000, 2001, 2002, 2003, 2004, 2005Free Software Foundation, Inc.5 6 timestamp='200 5-02-10'3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 4 # Free Software Foundation, Inc. 5 6 timestamp='2001-06-08' 7 7 8 8 # This file is (in principle) common to ALL GNU software. … … 30 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>. Submit a context 33 # diff and a properly formatted ChangeLog entry. 32 # Please send patches to <config-patches@gnu.org>. 34 33 # 35 34 # Configuration subroutine to validate and canonicalize a configuration type. … … 71 70 GNU config.sub ($timestamp) 72 71 73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 , 2002, 2003, 2004, 200572 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 74 73 Free Software Foundation, Inc. 75 74 … … 119 118 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 120 119 case $maybe_os in 121 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ 122 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) 120 nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*) 123 121 os=-$maybe_os 124 122 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` … … 146 144 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 147 145 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 148 -apple | -axis | -knuth | -cray)146 -apple | -axis) 149 147 os= 150 148 basic_machine=$1 … … 226 224 # Recognize the basic CPU types without company name. 227 225 # Some are omitted here because they have special meanings below. 228 1750a | 580 \ 229 | a29k \ 230 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 231 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 232 | am33_2.0 \ 233 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ 234 | c4x | clipper \ 235 | d10v | d30v | dlx | dsp16xx \ 236 | fr30 | frv \ 237 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 238 | i370 | i860 | i960 | ia64 \ 239 | ip2k | iq2000 \ 240 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ 241 | mips | mipsbe | mipseb | mipsel | mipsle \ 242 | mips16 \ 243 | mips64 | mips64el \ 244 | mips64vr | mips64vrel \ 245 | mips64orion | mips64orionel \ 246 | mips64vr4100 | mips64vr4100el \ 247 | mips64vr4300 | mips64vr4300el \ 248 | mips64vr5000 | mips64vr5000el \ 249 | mipsisa32 | mipsisa32el \ 250 | mipsisa32r2 | mipsisa32r2el \ 251 | mipsisa64 | mipsisa64el \ 252 | mipsisa64r2 | mipsisa64r2el \ 253 | mipsisa64sb1 | mipsisa64sb1el \ 254 | mipsisa64sr71k | mipsisa64sr71kel \ 255 | mipstx39 | mipstx39el \ 256 | mn10200 | mn10300 \ 257 | msp430 \ 258 | ns16k | ns32k \ 259 | openrisc | or32 \ 260 | pdp10 | pdp11 | pj | pjl \ 261 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 262 | pyramid \ 263 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 264 | sh64 | sh64le \ 265 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ 266 | strongarm \ 267 | tahoe | thumb | tic4x | tic80 | tron \ 268 | v850 | v850e \ 269 | we32k \ 270 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ 271 | z8k) 226 tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \ 227 | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \ 228 | pyramid | mn10200 | mn10300 | tron | a29k \ 229 | 580 | i960 | h8300 \ 230 | x86 | ppcbe | mipsbe | mipsle | shbe | shle \ 231 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ 232 | hppa64 \ 233 | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ 234 | alphaev6[78] \ 235 | we32k | ns16k | clipper | i370 | sh | sh[34] \ 236 | powerpc | powerpcle \ 237 | 1750a | dsp16xx | pdp10 | pdp11 \ 238 | mips16 | mips64 | mipsel | mips64el \ 239 | mips64orion | mips64orionel | mipstx39 | mipstx39el \ 240 | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ 241 | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \ 242 | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \ 243 | v850 | c4x \ 244 | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \ 245 | pj | pjl | h8500 | z8k) 272 246 basic_machine=$basic_machine-unknown 273 247 ;; … … 292 266 ;; 293 267 # Recognize the basic CPU types with company name. 294 580-* \ 295 | a29k-* \ 296 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 297 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 298 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 299 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 300 | avr-* \ 301 | bs2000-* \ 302 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 303 | clipper-* | craynv-* | cydra-* \ 304 | d10v-* | d30v-* | dlx-* \ 305 | elxsi-* \ 306 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ 307 | h8300-* | h8500-* \ 308 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 309 | i*86-* | i860-* | i960-* | ia64-* \ 310 | ip2k-* | iq2000-* \ 311 | m32r-* | m32rle-* \ 312 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 313 | m88110-* | m88k-* | maxq-* | mcore-* \ 314 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 315 | mips16-* \ 316 | mips64-* | mips64el-* \ 317 | mips64vr-* | mips64vrel-* \ 318 | mips64orion-* | mips64orionel-* \ 319 | mips64vr4100-* | mips64vr4100el-* \ 320 | mips64vr4300-* | mips64vr4300el-* \ 321 | mips64vr5000-* | mips64vr5000el-* \ 322 | mipsisa32-* | mipsisa32el-* \ 323 | mipsisa32r2-* | mipsisa32r2el-* \ 324 | mipsisa64-* | mipsisa64el-* \ 325 | mipsisa64r2-* | mipsisa64r2el-* \ 326 | mipsisa64sb1-* | mipsisa64sb1el-* \ 327 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 328 | mipstx39-* | mipstx39el-* \ 329 | mmix-* \ 330 | msp430-* \ 331 | none-* | np1-* | ns16k-* | ns32k-* \ 332 | orion-* \ 333 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 334 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 335 | pyramid-* \ 336 | romp-* | rs6000-* \ 337 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ 338 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 339 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ 340 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 341 | tahoe-* | thumb-* \ 342 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 343 | tron-* \ 344 | v850-* | v850e-* | vax-* \ 345 | we32k-* \ 346 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ 347 | xstormy16-* | xtensa-* \ 348 | ymp-* \ 349 | z8k-*) 268 # FIXME: clean up the formatting here. 269 vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ 270 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ 271 | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ 272 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ 273 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ 274 | xmp-* | ymp-* \ 275 | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ 276 | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ 277 | hppa2.0n-* | hppa64-* \ 278 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ 279 | alphaev6[78]-* \ 280 | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ 281 | clipper-* | orion-* \ 282 | sparclite-* | pdp10-* | pdp11-* | sh-* | sh[34]-* | sh[34]eb-* \ 283 | powerpc-* | powerpcle-* | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \ 284 | mips16-* | mips64-* | mipsel-* \ 285 | mips64el-* | mips64orion-* | mips64orionel-* \ 286 | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ 287 | mipstx39-* | mipstx39el-* | mcore-* \ 288 | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \ 289 | [cjt]90-* \ 290 | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ 291 | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \ 292 | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*) 350 293 ;; 351 294 # Recognize the various machine names and aliases which stand … … 365 308 os=-udi 366 309 ;; 367 abacus)368 basic_machine=abacus-unknown369 ;;370 310 adobe68k) 371 311 basic_machine=m68010-adobe … … 382 322 os=-bsd 383 323 ;; 384 amd64)385 basic_machine=x86_64-pc386 ;;387 amd64-*)388 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`389 ;;390 324 amdahl) 391 325 basic_machine=580-amdahl … … 419 353 os=-dynix 420 354 ;; 421 c90)422 basic_machine=c90-cray423 os=-unicos424 ;;425 355 convex-c1) 426 356 basic_machine=c1-convex … … 443 373 os=-bsd 444 374 ;; 445 cray | j90)446 basic_machine= j90-cray375 cray | ymp) 376 basic_machine=ymp-cray 447 377 os=-unicos 448 378 ;; 449 cray nv)450 basic_machine=cray nv-cray451 os=-unicos mp452 ;; 453 cr16c)454 basic_machine= cr16c-unknown455 os=- elf379 cray2) 380 basic_machine=cray2-cray 381 os=-unicos 382 ;; 383 [cjt]90) 384 basic_machine=${basic_machine}-cray 385 os=-unicos 456 386 ;; 457 387 crds | unos) 458 388 basic_machine=m68k-crds 459 389 ;; 460 crisv32 | crisv32-* | etraxfs*)461 basic_machine=crisv32-axis462 ;;463 390 cris | cris-* | etrax*) 464 391 basic_machine=cris-axis 465 392 ;; 466 c rx)467 basic_machine= crx-unknown468 os=- elf393 cygwin*) 394 basic_machine=i586-pc 395 os=-cygwin 469 396 ;; 470 397 da30 | da30-*) … … 473 400 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) 474 401 basic_machine=mips-dec 475 ;;476 decsystem10* | dec10*)477 basic_machine=pdp10-dec478 os=-tops10479 ;;480 decsystem20* | dec20*)481 basic_machine=pdp10-dec482 os=-tops20483 402 ;; 484 403 delta | 3300 | motorola-3300 | motorola-delta \ … … 489 408 basic_machine=m88k-motorola 490 409 os=-sysv3 491 ;;492 djgpp)493 basic_machine=i586-pc494 os=-msdosdjgpp495 410 ;; 496 411 dpx20 | dpx20-*) … … 655 570 os=-sysv 656 571 ;; 657 mingw 32)658 basic_machine=i 386-pc659 os=-mingw 32572 mingw*) 573 basic_machine=i586-pc 574 os=-mingw 660 575 ;; 661 576 miniframe) … … 666 581 os=-mint 667 582 ;; 583 mipsel*-linux*) 584 basic_machine=mipsel-unknown 585 os=-linux-gnu 586 ;; 587 mips*-linux*) 588 basic_machine=mips-unknown 589 os=-linux-gnu 590 ;; 668 591 mips3*-*) 669 592 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` … … 671 594 mips3*) 672 595 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 596 ;; 597 mmix*) 598 basic_machine=mmix-knuth 599 os=-mmixware 673 600 ;; 674 601 monitor) … … 676 603 os=-coff 677 604 ;; 678 morphos)679 basic_machine=powerpc-unknown680 os=-morphos681 ;;682 605 msdos) 683 606 basic_machine=i386-pc 684 607 os=-msdos 608 ;; 609 msys) 610 basic_machine=i386-pc 611 os=-msys 685 612 ;; 686 613 mvs) … … 759 686 os=-proelf 760 687 ;; 761 or32 | or32-*)762 basic_machine=or32-unknown763 os=-coff764 ;;765 os400)766 basic_machine=powerpc-ibm767 os=-os400768 ;;769 688 OSE68000 | ose68000) 770 689 basic_machine=m68000-ericsson … … 775 694 os=-os68k 776 695 ;; 696 p4w) 697 basic_machine=i586-pc 698 os=-p4w 699 ;; 777 700 pa-hitachi) 778 701 basic_machine=hppa1.1-hitachi … … 789 712 basic_machine=m68k-tti 790 713 ;; 791 714 pc532 | pc532-*) 792 715 basic_machine=ns32k-pc532 793 716 ;; 794 pentium | p5 | k5 | k6 | nexgen | viac3)717 pentium | p5 | k5 | k6 | nexgen) 795 718 basic_machine=i586-pc 796 719 ;; 797 pentiumpro | p6 | 6x86 | athlon | athlon_*)720 pentiumpro | p6 | 6x86 | athlon) 798 721 basic_machine=i686-pc 799 722 ;; 800 pentiumii | pentium2 | pentiumiii | pentium3)723 pentiumii | pentium2) 801 724 basic_machine=i686-pc 802 725 ;; 803 pentium4) 804 basic_machine=i786-pc 805 ;; 806 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) 726 pentium-* | p5-* | k5-* | k6-* | nexgen-*) 807 727 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 808 728 ;; … … 810 730 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 811 731 ;; 812 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)732 pentiumii-* | pentium2-*) 813 733 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 814 ;;815 pentium4-*)816 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`817 734 ;; 818 735 pn) … … 822 739 ;; 823 740 ppc) basic_machine=powerpc-unknown 824 741 ;; 825 742 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 826 743 ;; 827 744 ppcle | powerpclittle | ppc-le | powerpc-little) 828 745 basic_machine=powerpcle-unknown 829 746 ;; 830 747 ppcle-* | powerpclittle-*) 831 748 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` 832 ;;833 ppc64) basic_machine=powerpc64-unknown834 ;;835 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`836 ;;837 ppc64le | powerpc64little | ppc64-le | powerpc64-little)838 basic_machine=powerpc64le-unknown839 ;;840 ppc64le-* | powerpc64little-*)841 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`842 749 ;; 843 750 ps2) … … 858 765 basic_machine=romp-ibm 859 766 ;; 860 s390 | s390-*)861 basic_machine=s390-ibm862 ;;863 s390x | s390x-*)864 basic_machine=s390x-ibm865 ;;866 767 sa29200) 867 768 basic_machine=a29k-amd 868 769 os=-udi 869 770 ;; 870 sb1)871 basic_machine=mipsisa64sb1-unknown872 ;;873 sb1el)874 basic_machine=mipsisa64sb1el-unknown875 ;;876 sei)877 basic_machine=mips-sei878 os=-seiux879 ;;880 771 sequent) 881 772 basic_machine=i386-sequent … … 885 776 os=-hms 886 777 ;; 887 sh64) 888 basic_machine=sh64-unknown 889 ;; 890 sparclite-wrs | simso-wrs) 778 sparclite-wrs) 891 779 basic_machine=sparclite-wrs 892 780 os=-vxworks … … 955 843 ;; 956 844 t3e) 957 basic_machine=alphaev5-cray 958 os=-unicos 959 ;; 960 t90) 961 basic_machine=t90-cray 845 basic_machine=t3e-cray 962 846 os=-unicos 963 847 ;; … … 966 850 os=-coff 967 851 ;; 968 tic55x | c55x*)969 basic_machine=tic55x-unknown970 os=-coff971 ;;972 tic6x | c6x*)973 basic_machine=tic6x-unknown974 os=-coff975 ;;976 852 tx39) 977 853 basic_machine=mipstx39-unknown … … 980 856 basic_machine=mipstx39el-unknown 981 857 ;; 982 toad1)983 basic_machine=pdp10-xkl984 os=-tops20985 ;;986 858 tower | tower-32) 987 859 basic_machine=m68k-ncr 988 ;;989 tpf)990 basic_machine=s390x-ibm991 os=-tpf992 860 ;; 993 861 udi29k) … … 1012 880 ;; 1013 881 vpp*|vx|vx-*) 1014 1015 882 basic_machine=f301-fujitsu 883 ;; 1016 884 vxworks960) 1017 885 basic_machine=i960-wrs … … 1034 902 os=-proelf 1035 903 ;; 1036 xbox) 1037 basic_machine=i686-pc 1038 os=-mingw32 1039 ;; 1040 xps | xps100) 904 windows32) 905 basic_machine=i386-pc 906 os=-windows32-msvcrt 907 ;; 908 xmp) 909 basic_machine=xmp-cray 910 os=-unicos 911 ;; 912 xps | xps100) 1041 913 basic_machine=xps100-honeywell 1042 ;;1043 ymp)1044 basic_machine=ymp-cray1045 os=-unicos1046 914 ;; 1047 915 z8k-*-coff) … … 1065 933 basic_machine=hppa1.1-oki 1066 934 ;; 935 mips) 936 if [ x$os = x-linux-gnu ]; then 937 basic_machine=mips-unknown 938 else 939 basic_machine=mips-mips 940 fi 941 ;; 1067 942 romp) 1068 943 basic_machine=romp-ibm 1069 ;;1070 mmix)1071 basic_machine=mmix-knuth1072 944 ;; 1073 945 rs6000) … … 1087 959 basic_machine=we32k-att 1088 960 ;; 1089 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)961 sh3 | sh4) 1090 962 basic_machine=sh-unknown 1091 963 ;; 1092 sh64) 1093 basic_machine=sh64-unknown 1094 ;; 1095 sparc | sparcv8 | sparcv9 | sparcv9b) 964 sparc | sparcv9 | sparcv9b) 1096 965 basic_machine=sparc-sun 1097 966 ;; 1098 967 cydra) 1099 968 basic_machine=cydra-cydrome 1100 969 ;; … … 1110 979 pmac | pmac-mpw) 1111 980 basic_machine=powerpc-apple 981 ;; 982 c4x*) 983 basic_machine=c4x-none 984 os=-coff 1112 985 ;; 1113 986 *-unknown) … … 1166 1039 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1167 1040 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1168 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ 1169 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1170 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1041 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ 1042 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1171 1043 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1172 1044 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1173 1045 | -chorusos* | -chorusrdb* \ 1174 | -cygwin* | - pe* | -psos* | -moss* | -proelf* | -rtems* \1175 | -mingw 32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \1176 | -interix* | -uwin* | - mks* | -rhapsody* | -darwin* | -opened* \1046 | -cygwin* | -msys* | -p4w* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1047 | -mingw* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 1048 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ 1177 1049 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1178 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1179 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1180 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1181 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) 1050 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*) 1182 1051 # Remember, each alternative MUST END IN *, to match a version number. 1183 1052 ;; … … 1191 1060 esac 1192 1061 ;; 1193 -nto-qnx*)1194 ;;1195 1062 -nto*) 1196 os= `echo $os | sed -e 's|nto|nto-qnx|'`1063 os=-nto-qnx 1197 1064 ;; 1198 1065 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ … … 1203 1070 os=`echo $os | sed -e 's|mac|macos|'` 1204 1071 ;; 1205 -linux-dietlibc)1206 os=-linux-dietlibc1207 ;;1208 1072 -linux*) 1209 1073 os=`echo $os | sed -e 's|linux|linux-gnu|'` … … 1218 1082 os=-openedition 1219 1083 ;; 1220 -os400*)1221 os=-os4001222 ;;1223 1084 -wince*) 1224 1085 os=-wince … … 1239 1100 os=-aos 1240 1101 ;; 1241 -atheos*)1242 os=-atheos1243 ;;1244 -syllable*)1245 os=-syllable1246 ;;1247 1102 -386bsd) 1248 1103 os=-bsd … … 1251 1106 os=-sysv 1252 1107 ;; 1253 -nova*)1254 os=-rtmk-nova1255 ;;1256 1108 -ns2 ) 1257 1109 os=-nextstep2 1258 1110 ;; 1259 1111 -nsk*) … … 1267 1119 os=-sysv4 1268 1120 ;; 1269 -tpf*)1270 os=-tpf1271 ;;1272 1121 -triton*) 1273 1122 os=-sysv3 … … 1297 1146 os=-xenix 1298 1147 ;; 1299 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1300 os=-mint 1301 ;; 1302 -aros*) 1303 os=-aros 1304 ;; 1305 -kaos*) 1306 os=-kaos 1307 ;; 1308 -zvmoe) 1309 os=-zvmoe 1148 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1149 os=-mint 1310 1150 ;; 1311 1151 -none) … … 1340 1180 os=-aout 1341 1181 ;; 1342 c4x-* | tic4x-*)1343 os=-coff1344 ;;1345 # This must come before the *-dec entry.1346 1182 pdp10-*) 1347 1183 os=-tops20 1348 1184 ;; 1349 1185 pdp11-*) 1350 1186 os=-none 1351 1187 ;; … … 1374 1210 os=-elf 1375 1211 ;; 1376 or32-*)1377 os=-coff1378 ;;1379 1212 *-tti) # must be before sparc entry or we get the wrong os. 1380 1213 os=-sysv3 … … 1389 1222 os=-aix 1390 1223 ;; 1391 *-knuth)1392 os=-mmixware1393 ;;1394 1224 *-wec) 1395 1225 os=-proelf … … 1443 1273 os=-nextstep3 1444 1274 ;; 1445 1275 *-gould) 1446 1276 os=-sysv 1447 1277 ;; 1448 1278 *-highlevel) 1449 1279 os=-bsd 1450 1280 ;; … … 1452 1282 os=-bsd 1453 1283 ;; 1454 1284 *-sgi) 1455 1285 os=-irix 1456 1286 ;; 1457 1287 *-siemens) 1458 1288 os=-sysv4 1459 1289 ;; … … 1524 1354 vendor=ibm 1525 1355 ;; 1526 -os400*)1527 vendor=ibm1528 ;;1529 1356 -ptx*) 1530 1357 vendor=sequent 1531 1358 ;; 1532 -tpf*) 1533 vendor=ibm 1534 ;; 1535 -vxsim* | -vxworks* | -windiss*) 1359 -vxsim* | -vxworks*) 1536 1360 vendor=wrs 1537 1361 ;; … … 1547 1371 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1548 1372 vendor=atari 1549 ;;1550 -vos*)1551 vendor=stratus1552 1373 ;; 1553 1374 esac
Note: See TracChangeset
for help on using the changeset viewer.