- Timestamp:
- 2013-01-21T23:38:47+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/config.sub
r18019 r26773 2 2 # Configuration validation subroutine script. 3 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4 # 2000, 2001, 2002 Free Software Foundation, Inc. 5 6 timestamp='2002-09-05' 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 5 # 2011 Free Software Foundation, Inc. 6 7 timestamp='2011-11-11' 7 8 8 9 # This file is (in principle) common to ALL GNU software. … … 22 23 # You should have received a copy of the GNU General Public License 23 24 # along with this program; if not, write to the Free Software 24 # Foundation, Inc., 5 9 Temple Place - Suite 330,25 # Boston, MA 02111-1307, USA.26 25 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 26 # 02110-1301, USA. 27 # 27 28 # As a special exception to the GNU General Public License, if you 28 29 # distribute this file as part of a program that contains a … … 30 31 # the same distribution terms that you use for the rest of that program. 31 32 33 32 34 # Please send patches to <[email protected]>. Submit a context 33 # diff and a properly formatted ChangeLog entry.35 # diff and a properly formatted GNU ChangeLog entry. 34 36 # 35 37 # Configuration subroutine to validate and canonicalize a configuration type. … … 37 39 # If it is invalid, we print an error message on stderr and exit with code 1. 38 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 39 44 40 45 # This file is supposed to be the same for all GNU packages … … 71 76 GNU config.sub ($timestamp) 72 77 73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 74 Free Software Foundation, Inc. 78 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 79 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free 80 Software Foundation, Inc. 75 81 76 82 This is free software; see the source for copying conditions. There is NO … … 84 90 case $1 in 85 91 --time-stamp | --time* | -t ) 86 echo "$timestamp" ; exit 0;;92 echo "$timestamp" ; exit ;; 87 93 --version | -v ) 88 echo "$version" ; exit 0;;94 echo "$version" ; exit ;; 89 95 --help | --h* | -h ) 90 echo "$usage"; exit 0;;96 echo "$usage"; exit ;; 91 97 -- ) # Stop option processing 92 98 shift; break ;; … … 100 106 # First pass through any local machine types. 101 107 echo $1 102 exit 0;;108 exit ;; 103 109 104 110 * ) … … 119 125 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 120 126 case $maybe_os in 121 nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) 127 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 128 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 129 knetbsd*-gnu* | netbsd*-gnu* | \ 130 kopensolaris*-gnu* | \ 131 storm-chaos* | os2-emx* | rtmk-nova*) 122 132 os=-$maybe_os 123 133 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` … … 145 155 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 146 156 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 147 -apple | -axis )157 -apple | -axis | -knuth | -cray | -microblaze) 148 158 os= 149 159 basic_machine=$1 160 ;; 161 -bluegene*) 162 os=-cnk 150 163 ;; 151 164 -sim | -cisco | -oki | -wec | -winbond) … … 163 176 basic_machine=$1 164 177 ;; 165 166 178 -chorusrdb) 179 os=-chorusrdb 167 180 basic_machine=$1 168 181 ;; 169 182 -hiux*) 170 183 os=-hiuxwe2 184 ;; 185 -sco6) 186 os=-sco5v6 187 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 171 188 ;; 172 189 -sco5) … … 183 200 ;; 184 201 -sco3.2v[4-9]*) 202 # Don't forget version if it is 3.2v4 or newer. 203 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 204 ;; 205 -sco5v6*) 185 206 # Don't forget version if it is 3.2v4 or newer. 186 207 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` … … 229 250 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 230 251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 231 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ 232 | clipper \ 252 | am33_2.0 \ 253 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ 254 | be32 | be64 \ 255 | bfin \ 256 | c4x | clipper \ 233 257 | d10v | d30v | dlx | dsp16xx \ 234 | fr30 | frv \ 258 | epiphany \ 259 | fido | fr30 | frv \ 235 260 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 261 | hexagon \ 236 262 | i370 | i860 | i960 | ia64 \ 237 | ip2k \ 238 | m32r | m68000 | m68k | m88k | mcore \ 263 | ip2k | iq2000 \ 264 | le32 | le64 \ 265 | lm32 \ 266 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 267 | maxq | mb | microblaze | mcore | mep | metag \ 239 268 | mips | mipsbe | mipseb | mipsel | mipsle \ 240 269 | mips16 \ 241 270 | mips64 | mips64el \ 271 | mips64octeon | mips64octeonel \ 272 | mips64orion | mips64orionel \ 273 | mips64r5900 | mips64r5900el \ 242 274 | mips64vr | mips64vrel \ 243 | mips64orion | mips64orionel \244 275 | mips64vr4100 | mips64vr4100el \ 245 276 | mips64vr4300 | mips64vr4300el \ 246 277 | mips64vr5000 | mips64vr5000el \ 278 | mips64vr5900 | mips64vr5900el \ 247 279 | mipsisa32 | mipsisa32el \ 280 | mipsisa32r2 | mipsisa32r2el \ 248 281 | mipsisa64 | mipsisa64el \ 282 | mipsisa64r2 | mipsisa64r2el \ 249 283 | mipsisa64sb1 | mipsisa64sb1el \ 250 284 | mipsisa64sr71k | mipsisa64sr71kel \ 251 285 | mipstx39 | mipstx39el \ 252 286 | mn10200 | mn10300 \ 287 | moxie \ 288 | mt \ 289 | msp430 \ 290 | nds32 | nds32le | nds32be \ 291 | nios | nios2 \ 253 292 | ns16k | ns32k \ 254 | openrisc | or32 \ 293 | open8 \ 294 | or32 \ 255 295 | pdp10 | pdp11 | pj | pjl \ 256 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe\296 | powerpc | powerpc64 | powerpc64le | powerpcle \ 257 297 | pyramid \ 258 | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 298 | rl78 | rx \ 299 | score \ 300 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 259 301 | sh64 | sh64le \ 260 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ 261 | strongarm \ 262 | tahoe | thumb | tic80 | tron \ 263 | v850 | v850e \ 302 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 303 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 304 | spu \ 305 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ 306 | ubicom32 \ 307 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ 264 308 | we32k \ 265 | x86 | x scale| xstormy16 | xtensa \266 | z8k )309 | x86 | xc16x | xstormy16 | xtensa \ 310 | z8k | z80) 267 311 basic_machine=$basic_machine-unknown 268 312 ;; 269 m6811 | m68hc11 | m6812 | m68hc12) 313 c54x) 314 basic_machine=tic54x-unknown 315 ;; 316 c55x) 317 basic_machine=tic55x-unknown 318 ;; 319 c6x) 320 basic_machine=tic6x-unknown 321 ;; 322 m6811 | m68hc11 | m6812 | m68hc12 | picochip) 270 323 # Motorola 68HC11/12. 271 324 basic_machine=$basic_machine-unknown … … 273 326 ;; 274 327 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 328 ;; 329 ms1) 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 275 343 ;; 276 344 … … 293 361 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 294 362 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 295 | avr-* \ 296 | bs2000-* \ 297 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ 298 | clipper-* | cydra-* \ 363 | avr-* | avr32-* \ 364 | be32-* | be64-* \ 365 | bfin-* | bs2000-* \ 366 | c[123]* | c30-* | [cjt]90-* | c4x-* \ 367 | clipper-* | craynv-* | cydra-* \ 299 368 | d10v-* | d30v-* | dlx-* \ 300 369 | elxsi-* \ 301 | f30[01]-* | f700-* | f r30-* | frv-* | fx80-* \370 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 302 371 | h8300-* | h8500-* \ 303 372 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 373 | hexagon-* \ 304 374 | i*86-* | i860-* | i960-* | ia64-* \ 305 | ip2k-* \ 306 | m32r-* \ 375 | ip2k-* | iq2000-* \ 376 | le32-* | le64-* \ 377 | lm32-* \ 378 | m32c-* | m32r-* | m32rle-* \ 307 379 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 308 | m88110-* | m88k-* | m core-* \380 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ 309 381 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 310 382 | mips16-* \ 311 383 | mips64-* | mips64el-* \ 384 | mips64octeon-* | mips64octeonel-* \ 385 | mips64orion-* | mips64orionel-* \ 386 | mips64r5900-* | mips64r5900el-* \ 312 387 | mips64vr-* | mips64vrel-* \ 313 | mips64orion-* | mips64orionel-* \314 388 | mips64vr4100-* | mips64vr4100el-* \ 315 389 | mips64vr4300-* | mips64vr4300el-* \ 316 390 | mips64vr5000-* | mips64vr5000el-* \ 391 | mips64vr5900-* | mips64vr5900el-* \ 317 392 | mipsisa32-* | mipsisa32el-* \ 393 | mipsisa32r2-* | mipsisa32r2el-* \ 318 394 | mipsisa64-* | mipsisa64el-* \ 395 | mipsisa64r2-* | mipsisa64r2el-* \ 319 396 | mipsisa64sb1-* | mipsisa64sb1el-* \ 320 397 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 321 | mipstx39 | mipstx39el \ 398 | mipstx39-* | mipstx39el-* \ 399 | mmix-* \ 400 | mt-* \ 401 | msp430-* \ 402 | nds32-* | nds32le-* | nds32be-* \ 403 | nios-* | nios2-* \ 322 404 | none-* | np1-* | ns16k-* | ns32k-* \ 405 | open8-* \ 323 406 | orion-* \ 324 407 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 325 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-*\408 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ 326 409 | pyramid-* \ 327 | r omp-* | rs6000-* \328 | sh-* | sh[1234]-* | sh 3e-* | sh[34]eb-* | shbe-* \410 | rl78-* | romp-* | rs6000-* | rx-* \ 411 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 329 412 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 330 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ 331 | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 332 | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \ 333 | v850-* | v850e-* | vax-* \ 413 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 414 | sparclite-* \ 415 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ 416 | tahoe-* \ 417 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 418 | tile*-* \ 419 | tron-* \ 420 | ubicom32-* \ 421 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ 422 | vax-* \ 334 423 | we32k-* \ 335 | x86-* | x86_64-* | x ps100-* | xscale-* | xstormy16-* \336 | x tensa-* \424 | x86-* | x86_64-* | xc16x-* | xps100-* \ 425 | xstormy16-* | xtensa*-* \ 337 426 | ymp-* \ 338 | z8k-*) 427 | z8k-* | z80-*) 428 ;; 429 # Recognize the basic CPU types without company name, with glob match. 430 xtensa*) 431 basic_machine=$basic_machine-unknown 339 432 ;; 340 433 # Recognize the various machine names and aliases which stand … … 354 447 os=-udi 355 448 ;; 449 abacus) 450 basic_machine=abacus-unknown 451 ;; 356 452 adobe68k) 357 453 basic_machine=m68010-adobe … … 368 464 os=-bsd 369 465 ;; 466 amd64) 467 basic_machine=x86_64-pc 468 ;; 469 amd64-*) 470 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` 471 ;; 370 472 amdahl) 371 473 basic_machine=580-amdahl … … 391 493 os=-bsd 392 494 ;; 495 aros) 496 basic_machine=i386-pc 497 os=-aros 498 ;; 393 499 aux) 394 500 basic_machine=m68k-apple … … 399 505 os=-dynix 400 506 ;; 507 blackfin) 508 basic_machine=bfin-unknown 509 os=-linux 510 ;; 511 blackfin-*) 512 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` 513 os=-linux 514 ;; 515 bluegene*) 516 basic_machine=powerpc-ibm 517 os=-cnk 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 ;; 401 528 c90) 402 529 basic_machine=c90-cray 403 530 os=-unicos 404 531 ;; 532 cegcc) 533 basic_machine=arm-unknown 534 os=-cegcc 535 ;; 405 536 convex-c1) 406 537 basic_machine=c1-convex … … 427 558 os=-unicos 428 559 ;; 560 craynv) 561 basic_machine=craynv-cray 562 os=-unicosmp 563 ;; 564 cr16 | cr16-*) 565 basic_machine=cr16-unknown 566 os=-elf 567 ;; 429 568 crds | unos) 430 569 basic_machine=m68k-crds 431 570 ;; 571 crisv32 | crisv32-* | etraxfs*) 572 basic_machine=crisv32-axis 573 ;; 432 574 cris | cris-* | etrax*) 433 575 basic_machine=cris-axis 576 ;; 577 crx) 578 basic_machine=crx-unknown 579 os=-elf 434 580 ;; 435 581 da30 | da30-*) … … 454 600 basic_machine=m88k-motorola 455 601 os=-sysv3 602 ;; 603 dicos) 604 basic_machine=i686-pc 605 os=-dicos 606 ;; 607 djgpp) 608 basic_machine=i586-pc 609 os=-msdosdjgpp 456 610 ;; 457 611 dpx20 | dpx20-*) … … 605 759 os=-sysv 606 760 ;; 761 m68knommu) 762 basic_machine=m68k-unknown 763 os=-linux 764 ;; 765 m68knommu-*) 766 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` 767 os=-linux 768 ;; 607 769 m88k-omron*) 608 770 basic_machine=m88k-omron … … 616 778 os=-sysv 617 779 ;; 780 microblaze) 781 basic_machine=microblaze-xilinx 782 ;; 618 783 mingw32) 619 784 basic_machine=i386-pc 620 785 os=-mingw32 621 786 ;; 787 mingw32ce) 788 basic_machine=arm-unknown 789 os=-mingw32ce 790 ;; 622 791 miniframe) 623 792 basic_machine=m68000-convergent … … 633 802 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 634 803 ;; 635 mmix*)636 basic_machine=mmix-knuth637 os=-mmixware638 ;;639 804 monitor) 640 805 basic_machine=m68k-rom68k … … 649 814 os=-msdos 650 815 ;; 816 ms1-*) 817 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 818 ;; 819 msys) 820 basic_machine=i386-pc 821 os=-msys 822 ;; 651 823 mvs) 652 824 basic_machine=i370-ibm 653 825 os=-mvs 826 ;; 827 nacl) 828 basic_machine=le32-unknown 829 os=-nacl 654 830 ;; 655 831 ncr3000) … … 717 893 basic_machine=np1-gould 718 894 ;; 895 neo-tandem) 896 basic_machine=neo-tandem 897 ;; 898 nse-tandem) 899 basic_machine=nse-tandem 900 ;; 719 901 nsr-tandem) 720 902 basic_machine=nsr-tandem … … 724 906 os=-proelf 725 907 ;; 726 o r32 | or32-*)908 openrisc | openrisc-*) 727 909 basic_machine=or32-unknown 728 os=-coff 910 ;; 911 os400) 912 basic_machine=powerpc-ibm 913 os=-os400 729 914 ;; 730 915 OSE68000 | ose68000) … … 744 929 os=-osf 745 930 ;; 931 parisc) 932 basic_machine=hppa-unknown 933 os=-linux 934 ;; 935 parisc-*) 936 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` 937 os=-linux 938 ;; 746 939 pbd) 747 940 basic_machine=sparc-tti … … 753 946 basic_machine=ns32k-pc532 754 947 ;; 948 pc98) 949 basic_machine=i386-pc 950 ;; 951 pc98-*) 952 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` 953 ;; 755 954 pentium | p5 | k5 | k6 | nexgen | viac3) 756 955 basic_machine=i586-pc … … 759 958 basic_machine=i686-pc 760 959 ;; 761 pentiumii | pentium2 )960 pentiumii | pentium2 | pentiumiii | pentium3) 762 961 basic_machine=i686-pc 962 ;; 963 pentium4) 964 basic_machine=i786-pc 763 965 ;; 764 966 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) … … 768 970 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 769 971 ;; 770 pentiumii-* | pentium2-* )972 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) 771 973 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 974 ;; 975 pentium4-*) 976 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` 772 977 ;; 773 978 pn) … … 776 981 power) basic_machine=power-ibm 777 982 ;; 778 ppc) basic_machine=powerpc-unknown 779 ;; 780 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 983 ppc | ppcbe) basic_machine=powerpc-unknown 984 ;; 985 ppc-* | ppcbe-*) 986 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 781 987 ;; 782 988 ppcle | powerpclittle | ppc-le | powerpc-little) … … 803 1009 os=-pw32 804 1010 ;; 1011 rdos) 1012 basic_machine=i386-pc 1013 os=-rdos 1014 ;; 805 1015 rom68k) 806 1016 basic_machine=m68k-rom68k … … 829 1039 basic_machine=mipsisa64sb1el-unknown 830 1040 ;; 1041 sde) 1042 basic_machine=mipsisa32-sde 1043 os=-elf 1044 ;; 1045 sei) 1046 basic_machine=mips-sei 1047 os=-seiux 1048 ;; 831 1049 sequent) 832 1050 basic_machine=i386-sequent … … 836 1054 os=-hms 837 1055 ;; 1056 sh5el) 1057 basic_machine=sh5le-unknown 1058 ;; 1059 sh64) 1060 basic_machine=sh64-unknown 1061 ;; 838 1062 sparclite-wrs | simso-wrs) 839 1063 basic_machine=sparclite-wrs … … 854 1078 os=-sysv4 855 1079 ;; 1080 strongarm-* | thumb-*) 1081 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` 1082 ;; 856 1083 sun2) 857 1084 basic_machine=m68000-sun … … 902 1129 os=-dynix 903 1130 ;; 904 t3d)905 basic_machine=alpha-cray906 os=-unicos907 ;;908 1131 t3e) 909 1132 basic_machine=alphaev5-cray … … 914 1137 os=-unicos 915 1138 ;; 916 tic4x | c4x*) 917 basic_machine=tic4x-unknown 918 os=-coff 919 ;; 920 tic54x | c54x*) 921 basic_machine=tic54x-unknown 922 os=-coff 1139 tile*) 1140 basic_machine=$basic_machine-unknown 1141 os=-linux-gnu 923 1142 ;; 924 1143 tx39) … … 935 1154 basic_machine=m68k-ncr 936 1155 ;; 1156 tpf) 1157 basic_machine=s390x-ibm 1158 os=-tpf 1159 ;; 937 1160 udi29k) 938 1161 basic_machine=a29k-amd … … 978 1201 os=-proelf 979 1202 ;; 980 windows32)981 basic_machine=i 386-pc982 os=- windows32-msvcrt1203 xbox) 1204 basic_machine=i686-pc 1205 os=-mingw32 983 1206 ;; 984 1207 xps | xps100) 985 1208 basic_machine=xps100-honeywell 1209 ;; 1210 xscale-* | xscalee[bl]-*) 1211 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` 986 1212 ;; 987 1213 ymp) … … 991 1217 z8k-*-coff) 992 1218 basic_machine=z8k-unknown 1219 os=-sim 1220 ;; 1221 z80-*-coff) 1222 basic_machine=z80-unknown 993 1223 os=-sim 994 1224 ;; … … 1012 1242 basic_machine=romp-ibm 1013 1243 ;; 1244 mmix) 1245 basic_machine=mmix-knuth 1246 ;; 1014 1247 rs6000) 1015 1248 basic_machine=rs6000-ibm … … 1028 1261 basic_machine=we32k-att 1029 1262 ;; 1030 sh 3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)1263 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) 1031 1264 basic_machine=sh-unknown 1032 1265 ;; 1033 sh64) 1034 basic_machine=sh64-unknown 1035 ;; 1036 sparc | sparcv9 | sparcv9b) 1266 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) 1037 1267 basic_machine=sparc-sun 1038 1268 ;; … … 1078 1308 then 1079 1309 case $os in 1080 1081 1310 # First match some system type aliases 1311 # that might get confused with valid system types. 1082 1312 # -solaris* is a basic system type, with this one exception. 1313 -auroraux) 1314 os=-auroraux 1315 ;; 1083 1316 -solaris1 | -solaris1.*) 1084 1317 os=`echo $os | sed -e 's|solaris1|sunos4|'` … … 1101 1334 # -sysv* is not here because it comes later, after sysvr4. 1102 1335 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1103 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ 1104 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1336 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1337 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ 1338 | -sym* | -kopensolaris* \ 1105 1339 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1106 | -aos* \1340 | -aos* | -aros* \ 1107 1341 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1108 1342 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1109 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ 1110 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1343 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1344 | -openbsd* | -solidbsd* \ 1345 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1346 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1111 1347 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1112 1348 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1113 | -chorusos* | -chorusrdb* \ 1114 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1115 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 1116 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ 1349 | -chorusos* | -chorusrdb* | -cegcc* \ 1350 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1351 | -mingw32* | -linux-gnu* | -linux-android* \ 1352 | -linux-newlib* | -linux-uclibc* \ 1353 | -uxpv* | -beos* | -mpeix* | -udk* \ 1354 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1117 1355 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1118 1356 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1119 1357 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1120 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*) 1358 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1359 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1360 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) 1121 1361 # Remember, each alternative MUST END IN *, to match a version number. 1122 1362 ;; … … 1130 1370 esac 1131 1371 ;; 1372 -nto-qnx*) 1373 ;; 1132 1374 -nto*) 1133 os= -nto-qnx1375 os=`echo $os | sed -e 's|nto|nto-qnx|'` 1134 1376 ;; 1135 1377 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 1136 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \1378 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ 1137 1379 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) 1138 1380 ;; … … 1140 1382 os=`echo $os | sed -e 's|mac|macos|'` 1141 1383 ;; 1384 -linux-dietlibc) 1385 os=-linux-dietlibc 1386 ;; 1142 1387 -linux*) 1143 1388 os=`echo $os | sed -e 's|linux|linux-gnu|'` … … 1152 1397 os=-openedition 1153 1398 ;; 1399 -os400*) 1400 os=-os400 1401 ;; 1154 1402 -wince*) 1155 1403 os=-wince … … 1172 1420 -atheos*) 1173 1421 os=-atheos 1422 ;; 1423 -syllable*) 1424 os=-syllable 1174 1425 ;; 1175 1426 -386bsd) … … 1195 1446 os=-sysv4 1196 1447 ;; 1448 -tpf*) 1449 os=-tpf 1450 ;; 1197 1451 -triton*) 1198 1452 os=-sysv3 … … 1224 1478 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1225 1479 os=-mint 1480 ;; 1481 -aros*) 1482 os=-aros 1483 ;; 1484 -kaos*) 1485 os=-kaos 1486 ;; 1487 -zvmoe) 1488 os=-zvmoe 1489 ;; 1490 -dicos*) 1491 os=-dicos 1492 ;; 1493 -nacl*) 1226 1494 ;; 1227 1495 -none) … … 1247 1515 1248 1516 case $basic_machine in 1517 score-*) 1518 os=-elf 1519 ;; 1520 spu-*) 1521 os=-elf 1522 ;; 1249 1523 *-acorn) 1250 1524 os=-riscix1.2 … … 1255 1529 arm*-semi) 1256 1530 os=-aout 1531 ;; 1532 c4x-* | tic4x-*) 1533 os=-coff 1534 ;; 1535 tic54x-*) 1536 os=-coff 1537 ;; 1538 tic55x-*) 1539 os=-coff 1540 ;; 1541 tic6x-*) 1542 os=-coff 1257 1543 ;; 1258 1544 # This must come before the *-dec entry. … … 1281 1567 os=-aout 1282 1568 ;; 1569 mep-*) 1570 os=-elf 1571 ;; 1283 1572 mips*-cisco) 1284 1573 os=-elf … … 1299 1588 os=-beos 1300 1589 ;; 1590 *-haiku) 1591 os=-haiku 1592 ;; 1301 1593 *-ibm) 1302 1594 os=-aix 1595 ;; 1596 *-knuth) 1597 os=-mmixware 1303 1598 ;; 1304 1599 *-wec) … … 1404 1699 vendor=sun 1405 1700 ;; 1406 - aix*)1701 -cnk*|-aix*) 1407 1702 vendor=ibm 1408 1703 ;; … … 1434 1729 vendor=ibm 1435 1730 ;; 1731 -os400*) 1732 vendor=ibm 1733 ;; 1436 1734 -ptx*) 1437 1735 vendor=sequent 1438 1736 ;; 1737 -tpf*) 1738 vendor=ibm 1739 ;; 1439 1740 -vxsim* | -vxworks* | -windiss*) 1440 1741 vendor=wrs … … 1461 1762 1462 1763 echo $basic_machine$os 1463 exit 01764 exit 1464 1765 1465 1766 # Local variables:
Note:
See TracChangeset
for help on using the changeset viewer.