diff options
| author | Ben Elliston | 1999-05-17 11:43:47 +0000 |
|---|---|---|
| committer | Ben Elliston | 1999-05-17 11:43:47 +0000 |
| commit | e3d1469c2e11091f3d6603b1b5a7e993556b7fdf (patch) | |
| tree | 385550491634b6d5cb0046e35848aee71eb8d7cd | |
| parent | c3b4b83fad62ee1a98085d497e70aaea363bd65e (diff) | |
| download | emacs-e3d1469c2e11091f3d6603b1b5a7e993556b7fdf.tar.gz emacs-e3d1469c2e11091f3d6603b1b5a7e993556b7fdf.zip | |
Merge recent additions from autoconf source tree.
(synchronise with EGCS source tree, as well).
| -rwxr-xr-x | config.sub | 286 |
1 files changed, 254 insertions, 32 deletions
diff --git a/config.sub b/config.sub index 692de9b61de..2436b45347a 100755 --- a/config.sub +++ b/config.sub | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #! /bin/sh | 1 | #! /bin/sh |
| 2 | # Configuration validation subroutine script, version 1.1. | 2 | # Configuration validation subroutine script, version 1.1. |
| 3 | # Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc. | 3 | # Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc. |
| 4 | # This file is (in principle) common to ALL GNU software. | 4 | # This file is (in principle) common to ALL GNU software. |
| 5 | # The presence of a machine in this file suggests that SOME GNU software | 5 | # The presence of a machine in this file suggests that SOME GNU software |
| 6 | # can handle that machine. It does not imply ALL GNU software can. | 6 | # can handle that machine. It does not imply ALL GNU software can. |
| @@ -98,11 +98,21 @@ case $os in | |||
| 98 | os= | 98 | os= |
| 99 | basic_machine=$1 | 99 | basic_machine=$1 |
| 100 | ;; | 100 | ;; |
| 101 | -sim | -cisco | -oki | -wec | -winbond) | ||
| 102 | os= | ||
| 103 | basic_machine=$1 | ||
| 104 | ;; | ||
| 105 | -scout) | ||
| 106 | ;; | ||
| 107 | -wrs) | ||
| 108 | os=vxworks | ||
| 109 | basic_machine=$1 | ||
| 110 | ;; | ||
| 101 | -hiux*) | 111 | -hiux*) |
| 102 | os=-hiuxwe2 | 112 | os=-hiuxwe2 |
| 103 | ;; | 113 | ;; |
| 104 | -sco5) | 114 | -sco5) |
| 105 | os=sco3.2v5 | 115 | os=-sco3.2v5 |
| 106 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 116 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
| 107 | ;; | 117 | ;; |
| 108 | -sco4) | 118 | -sco4) |
| @@ -121,6 +131,9 @@ case $os in | |||
| 121 | os=-sco3.2v2 | 131 | os=-sco3.2v2 |
| 122 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 132 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
| 123 | ;; | 133 | ;; |
| 134 | -udk*) | ||
| 135 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | ||
| 136 | ;; | ||
| 124 | -isc) | 137 | -isc) |
| 125 | os=-isc2.2 | 138 | os=-isc2.2 |
| 126 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 139 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
| @@ -152,14 +165,20 @@ case $basic_machine in | |||
| 152 | tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ | 165 | tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ |
| 153 | | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ | 166 | | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ |
| 154 | | 580 | i960 | h8300 \ | 167 | | 580 | i960 | h8300 \ |
| 155 | | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w \ | 168 | | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ |
| 156 | | alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \ | 169 | | alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \ |
| 157 | | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ | 170 | | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ |
| 158 | | 1750a | dsp16xx | pdp11 | mips64 | mipsel | mips64el \ | 171 | | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ |
| 159 | | mips64orion | mips64orionel | mipstx39 | mipstx39el \ | 172 | | mips64orion | mips64orionel | mipstx39 | mipstx39el \ |
| 160 | | sparc | sparclet | sparclite | sparc64 | v850) | 173 | | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ |
| 174 | | mips64vr5000 | miprs64vr5000el \ | ||
| 175 | | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ | ||
| 176 | | thumb | d10v) | ||
| 161 | basic_machine=$basic_machine-unknown | 177 | basic_machine=$basic_machine-unknown |
| 162 | ;; | 178 | ;; |
| 179 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65) | ||
| 180 | ;; | ||
| 181 | |||
| 163 | # We use `pc' rather than `unknown' | 182 | # We use `pc' rather than `unknown' |
| 164 | # because (1) that's what they normally are, and | 183 | # because (1) that's what they normally are, and |
| 165 | # (2) the word "unknown" tends to confuse beginning users. | 184 | # (2) the word "unknown" tends to confuse beginning users. |
| @@ -175,26 +194,41 @@ case $basic_machine in | |||
| 175 | vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \ | 194 | vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \ |
| 176 | | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ | 195 | | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ |
| 177 | | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | 196 | | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ |
| 178 | | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \ | 197 | | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ |
| 179 | | xmp-* | ymp-* \ | 198 | | xmp-* | ymp-* \ |
| 180 | | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ | 199 | | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \ |
| 181 | | alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67] \ | 200 | | alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67]-* \ |
| 182 | | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ | 201 | | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ |
| 183 | | clipper-* | orion-* \ | 202 | | clipper-* | orion-* \ |
| 184 | | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ | 203 | | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ |
| 185 | | sparc64-* | mips64-* | mipsel-* \ | 204 | | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ |
| 186 | | mips64el-* | mips64orion-* | mips64orionel-* \ | 205 | | mips64el-* | mips64orion-* | mips64orionel-* \ |
| 206 | | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ | ||
| 187 | | mipstx39-* | mipstx39el-* \ | 207 | | mipstx39-* | mipstx39el-* \ |
| 188 | | f301-* | armv*-*) | 208 | | f301-* | armv*-* | t3e-* \ |
| 209 | | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ | ||
| 210 | | thumb-* | v850-* | d30v-* | tic30-* | c30-* ) | ||
| 189 | ;; | 211 | ;; |
| 190 | # Recognize the various machine names and aliases which stand | 212 | # Recognize the various machine names and aliases which stand |
| 191 | # for a CPU type and a company and sometimes even an OS. | 213 | # for a CPU type and a company and sometimes even an OS. |
| 214 | 386bsd) | ||
| 215 | basic_machine=i386-unknown | ||
| 216 | os=-bsd | ||
| 217 | ;; | ||
| 192 | 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) | 218 | 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
| 193 | basic_machine=m68000-att | 219 | basic_machine=m68000-att |
| 194 | ;; | 220 | ;; |
| 195 | 3b*) | 221 | 3b*) |
| 196 | basic_machine=we32k-att | 222 | basic_machine=we32k-att |
| 197 | ;; | 223 | ;; |
| 224 | a29khif) | ||
| 225 | basic_machine=a29k-amd | ||
| 226 | os=-udi | ||
| 227 | ;; | ||
| 228 | adobe68k) | ||
| 229 | basic_machine=m68010-adobe | ||
| 230 | os=-scout | ||
| 231 | ;; | ||
| 198 | alliant | fx80) | 232 | alliant | fx80) |
| 199 | basic_machine=fx80-alliant | 233 | basic_machine=fx80-alliant |
| 200 | ;; | 234 | ;; |
| @@ -224,6 +258,10 @@ case $basic_machine in | |||
| 224 | basic_machine=m68k-apollo | 258 | basic_machine=m68k-apollo |
| 225 | os=-sysv | 259 | os=-sysv |
| 226 | ;; | 260 | ;; |
| 261 | apollo68bsd) | ||
| 262 | basic_machine=m68k-apollo | ||
| 263 | os=-bsd | ||
| 264 | ;; | ||
| 227 | aux) | 265 | aux) |
| 228 | basic_machine=m68k-apple | 266 | basic_machine=m68k-apple |
| 229 | os=-aux | 267 | os=-aux |
| @@ -300,6 +338,10 @@ case $basic_machine in | |||
| 300 | encore | umax | mmax) | 338 | encore | umax | mmax) |
| 301 | basic_machine=ns32k-encore | 339 | basic_machine=ns32k-encore |
| 302 | ;; | 340 | ;; |
| 341 | es1800 | OSE68k | ose68k | ose | OSE) | ||
| 342 | basic_machine=m68k-ericsson | ||
| 343 | os=-ose | ||
| 344 | ;; | ||
| 303 | fx2800) | 345 | fx2800) |
| 304 | basic_machine=i860-alliant | 346 | basic_machine=i860-alliant |
| 305 | ;; | 347 | ;; |
| @@ -318,6 +360,14 @@ case $basic_machine in | |||
| 318 | basic_machine=h8300-hitachi | 360 | basic_machine=h8300-hitachi |
| 319 | os=-hms | 361 | os=-hms |
| 320 | ;; | 362 | ;; |
| 363 | h8300xray) | ||
| 364 | basic_machine=h8300-hitachi | ||
| 365 | os=-xray | ||
| 366 | ;; | ||
| 367 | h8500hms) | ||
| 368 | basic_machine=h8500-hitachi | ||
| 369 | os=-hms | ||
| 370 | ;; | ||
| 321 | harris) | 371 | harris) |
| 322 | basic_machine=m88k-harris | 372 | basic_machine=m88k-harris |
| 323 | os=-sysv3 | 373 | os=-sysv3 |
| @@ -333,13 +383,30 @@ case $basic_machine in | |||
| 333 | basic_machine=m68k-hp | 383 | basic_machine=m68k-hp |
| 334 | os=-hpux | 384 | os=-hpux |
| 335 | ;; | 385 | ;; |
| 386 | hp3k9[0-9][0-9] | hp9[0-9][0-9]) | ||
| 387 | basic_machine=hppa1.0-hp | ||
| 388 | ;; | ||
| 336 | hp9k2[0-9][0-9] | hp9k31[0-9]) | 389 | hp9k2[0-9][0-9] | hp9k31[0-9]) |
| 337 | basic_machine=m68000-hp | 390 | basic_machine=m68000-hp |
| 338 | ;; | 391 | ;; |
| 339 | hp9k3[2-9][0-9]) | 392 | hp9k3[2-9][0-9]) |
| 340 | basic_machine=m68k-hp | 393 | basic_machine=m68k-hp |
| 341 | ;; | 394 | ;; |
| 342 | hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) | 395 | hp9k6[0-9][0-9] | hp6[0-9][0-9]) |
| 396 | basic_machine=hppa1.0-hp | ||
| 397 | ;; | ||
| 398 | hp9k7[0-79][0-9] | hp7[0-79][0-9]) | ||
| 399 | basic_machine=hppa1.1-hp | ||
| 400 | ;; | ||
| 401 | hp9k78[0-9] | hp78[0-9]) | ||
| 402 | # FIXME: really hppa2.0-hp | ||
| 403 | basic_machine=hppa1.1-hp | ||
| 404 | ;; | ||
| 405 | hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) | ||
| 406 | # FIXME: really hppa2.0-hp | ||
| 407 | basic_machine=hppa1.1-hp | ||
| 408 | ;; | ||
| 409 | hp9k8[0-9][13679] | hp8[0-9][13679]) | ||
| 343 | basic_machine=hppa1.1-hp | 410 | basic_machine=hppa1.1-hp |
| 344 | ;; | 411 | ;; |
| 345 | hp9k8[0-9][0-9] | hp8[0-9][0-9]) | 412 | hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
| @@ -348,13 +415,13 @@ case $basic_machine in | |||
| 348 | hppa-next) | 415 | hppa-next) |
| 349 | os=-nextstep3 | 416 | os=-nextstep3 |
| 350 | ;; | 417 | ;; |
| 351 | hp3k9[0-9][0-9] | hp9[0-9][0-9]) | 418 | hppaosf) |
| 352 | basic_machine=hppa1.0-hp | 419 | basic_machine=hppa1.1-hp |
| 353 | os=-mpeix | 420 | os=-osf |
| 354 | ;; | 421 | ;; |
| 355 | hp3k9[0-9][0-9] | hp9[0-9][0-9]) | 422 | hppro) |
| 356 | basic_machine=hppa1.0-hp | 423 | basic_machine=hppa1.1-hp |
| 357 | os=-mpeix | 424 | os=-proelf |
| 358 | ;; | 425 | ;; |
| 359 | i370-ibm* | ibm*) | 426 | i370-ibm* | ibm*) |
| 360 | basic_machine=i370-ibm | 427 | basic_machine=i370-ibm |
| @@ -377,6 +444,22 @@ case $basic_machine in | |||
| 377 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | 444 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
| 378 | os=-solaris2 | 445 | os=-solaris2 |
| 379 | ;; | 446 | ;; |
| 447 | i386mach) | ||
| 448 | basic_machine=i386-mach | ||
| 449 | os=-mach | ||
| 450 | ;; | ||
| 451 | i386-vsta | vsta) | ||
| 452 | basic_machine=i386-unknown | ||
| 453 | os=-vsta | ||
| 454 | ;; | ||
| 455 | i386-go32 | go32) | ||
| 456 | basic_machine=i386-unknown | ||
| 457 | os=-go32 | ||
| 458 | ;; | ||
| 459 | i386-mingw32 | mingw32) | ||
| 460 | basic_machine=i386-unknown | ||
| 461 | os=-mingw32 | ||
| 462 | ;; | ||
| 380 | iris | iris4d) | 463 | iris | iris4d) |
| 381 | basic_machine=mips-sgi | 464 | basic_machine=mips-sgi |
| 382 | case $os in | 465 | case $os in |
| @@ -405,6 +488,10 @@ case $basic_machine in | |||
| 405 | miniframe) | 488 | miniframe) |
| 406 | basic_machine=m68000-convergent | 489 | basic_machine=m68000-convergent |
| 407 | ;; | 490 | ;; |
| 491 | *mint | *MiNT) | ||
| 492 | basic_machine=m68k-atari | ||
| 493 | os=-mint | ||
| 494 | ;; | ||
| 408 | mipsel*-linux*) | 495 | mipsel*-linux*) |
| 409 | basic_machine=mipsel-unknown | 496 | basic_machine=mipsel-unknown |
| 410 | os=-linux-gnu | 497 | os=-linux-gnu |
| @@ -419,10 +506,22 @@ case $basic_machine in | |||
| 419 | mips3*) | 506 | mips3*) |
| 420 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown | 507 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown |
| 421 | ;; | 508 | ;; |
| 509 | monitor) | ||
| 510 | basic_machine=m68k-rom68k | ||
| 511 | os=-coff | ||
| 512 | ;; | ||
| 513 | msdos) | ||
| 514 | basic_machine=i386-unknown | ||
| 515 | os=-msdos | ||
| 516 | ;; | ||
| 422 | ncr3000) | 517 | ncr3000) |
| 423 | basic_machine=i486-ncr | 518 | basic_machine=i486-ncr |
| 424 | os=-sysv4 | 519 | os=-sysv4 |
| 425 | ;; | 520 | ;; |
| 521 | netbsd386) | ||
| 522 | basic_machine=i386-unknown | ||
| 523 | os=-netbsd | ||
| 524 | ;; | ||
| 426 | netwinder) | 525 | netwinder) |
| 427 | basic_machine=armv4l-corel | 526 | basic_machine=armv4l-corel |
| 428 | os=-linux | 527 | os=-linux |
| @@ -439,6 +538,10 @@ case $basic_machine in | |||
| 439 | basic_machine=mips-sony | 538 | basic_machine=mips-sony |
| 440 | os=-newsos | 539 | os=-newsos |
| 441 | ;; | 540 | ;; |
| 541 | necv70) | ||
| 542 | basic_machine=v70-nec | ||
| 543 | os=-sysv | ||
| 544 | ;; | ||
| 442 | next | m*-next ) | 545 | next | m*-next ) |
| 443 | basic_machine=m68k-next | 546 | basic_machine=m68k-next |
| 444 | case $os in | 547 | case $os in |
| @@ -464,9 +567,25 @@ case $basic_machine in | |||
| 464 | basic_machine=i960-intel | 567 | basic_machine=i960-intel |
| 465 | os=-nindy | 568 | os=-nindy |
| 466 | ;; | 569 | ;; |
| 570 | mon960) | ||
| 571 | basic_machine=i960-intel | ||
| 572 | os=-mon960 | ||
| 573 | ;; | ||
| 467 | np1) | 574 | np1) |
| 468 | basic_machine=np1-gould | 575 | basic_machine=np1-gould |
| 469 | ;; | 576 | ;; |
| 577 | op50n-* | op60c-*) | ||
| 578 | basic_machine=hppa1.1-oki | ||
| 579 | os=-proelf | ||
| 580 | ;; | ||
| 581 | OSE68000 | ose68000) | ||
| 582 | basic_machine=m68000-ericsson | ||
| 583 | os=-ose | ||
| 584 | ;; | ||
| 585 | os68k) | ||
| 586 | basic_machine=m68k-none | ||
| 587 | os=-os68k | ||
| 588 | ;; | ||
| 470 | pa-hitachi) | 589 | pa-hitachi) |
| 471 | basic_machine=hppa1.1-hitachi | 590 | basic_machine=hppa1.1-hitachi |
| 472 | os=-hiuxwe2 | 591 | os=-hiuxwe2 |
| @@ -484,19 +603,19 @@ case $basic_machine in | |||
| 484 | pc532 | pc532-*) | 603 | pc532 | pc532-*) |
| 485 | basic_machine=ns32k-pc532 | 604 | basic_machine=ns32k-pc532 |
| 486 | ;; | 605 | ;; |
| 487 | pentium | p5 | k5 | nexen) | 606 | pentium | p5 | k5 | k6 | nexen) |
| 488 | basic_machine=i586-pc | 607 | basic_machine=i586-pc |
| 489 | ;; | 608 | ;; |
| 490 | pentiumpro | p6 | k6 | 6x86) | 609 | pentiumpro | p6 | 6x86) |
| 491 | basic_machine=i686-pc | 610 | basic_machine=i686-pc |
| 492 | ;; | 611 | ;; |
| 493 | pentiumii | pentium2) | 612 | pentiumii | pentium2) |
| 494 | basic_machine=i786-pc | 613 | basic_machine=i786-pc |
| 495 | ;; | 614 | ;; |
| 496 | pentium-* | p5-* | k5-* | nexen-*) | 615 | pentium-* | p5-* | k5-* | k6-* | nexen-*) |
| 497 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | 616 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 498 | ;; | 617 | ;; |
| 499 | pentiumpro-* | p6-* | k6-* | 6x86-*) | 618 | pentiumpro-* | p6-* | 6x86-*) |
| 500 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | 619 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 501 | ;; | 620 | ;; |
| 502 | pentiumii-* | pentium2-*) | 621 | pentiumii-* | pentium2-*) |
| @@ -520,12 +639,20 @@ case $basic_machine in | |||
| 520 | ps2) | 639 | ps2) |
| 521 | basic_machine=i386-ibm | 640 | basic_machine=i386-ibm |
| 522 | ;; | 641 | ;; |
| 642 | rom68k) | ||
| 643 | basic_machine=m68k-rom68k | ||
| 644 | os=-coff | ||
| 645 | ;; | ||
| 523 | rm[46]00) | 646 | rm[46]00) |
| 524 | basic_machine=mips-siemens | 647 | basic_machine=mips-siemens |
| 525 | ;; | 648 | ;; |
| 526 | rtpc | rtpc-*) | 649 | rtpc | rtpc-*) |
| 527 | basic_machine=romp-ibm | 650 | basic_machine=romp-ibm |
| 528 | ;; | 651 | ;; |
| 652 | sa29200) | ||
| 653 | basic_machine=a29k-amd | ||
| 654 | os=-udi | ||
| 655 | ;; | ||
| 529 | sequent) | 656 | sequent) |
| 530 | basic_machine=i386-sequent | 657 | basic_machine=i386-sequent |
| 531 | ;; | 658 | ;; |
| @@ -533,6 +660,10 @@ case $basic_machine in | |||
| 533 | basic_machine=sh-hitachi | 660 | basic_machine=sh-hitachi |
| 534 | os=-hms | 661 | os=-hms |
| 535 | ;; | 662 | ;; |
| 663 | sparclite-wrs) | ||
| 664 | basic_machine=sparclite-wrs | ||
| 665 | os=-vxworks | ||
| 666 | ;; | ||
| 536 | sps7) | 667 | sps7) |
| 537 | basic_machine=m68k-bull | 668 | basic_machine=m68k-bull |
| 538 | os=-sysv2 | 669 | os=-sysv2 |
| @@ -540,6 +671,13 @@ case $basic_machine in | |||
| 540 | spur) | 671 | spur) |
| 541 | basic_machine=spur-unknown | 672 | basic_machine=spur-unknown |
| 542 | ;; | 673 | ;; |
| 674 | st2000) | ||
| 675 | basic_machine=m68k-tandem | ||
| 676 | ;; | ||
| 677 | stratus) | ||
| 678 | basic_machine=i860-stratus | ||
| 679 | os=-sysv4 | ||
| 680 | ;; | ||
| 543 | sun2) | 681 | sun2) |
| 544 | basic_machine=m68000-sun | 682 | basic_machine=m68000-sun |
| 545 | ;; | 683 | ;; |
| @@ -584,6 +722,10 @@ case $basic_machine in | |||
| 584 | basic_machine=i386-sequent | 722 | basic_machine=i386-sequent |
| 585 | os=-dynix | 723 | os=-dynix |
| 586 | ;; | 724 | ;; |
| 725 | t3e) | ||
| 726 | basic_machine=t3e-cray | ||
| 727 | os=-unicos | ||
| 728 | ;; | ||
| 587 | tx39) | 729 | tx39) |
| 588 | basic_machine=mipstx39-unknown | 730 | basic_machine=mipstx39-unknown |
| 589 | ;; | 731 | ;; |
| @@ -601,6 +743,10 @@ case $basic_machine in | |||
| 601 | basic_machine=a29k-nyu | 743 | basic_machine=a29k-nyu |
| 602 | os=-sym1 | 744 | os=-sym1 |
| 603 | ;; | 745 | ;; |
| 746 | v810 | necv810) | ||
| 747 | basic_machine=v810-nec | ||
| 748 | os=-none | ||
| 749 | ;; | ||
| 604 | vaxv) | 750 | vaxv) |
| 605 | basic_machine=vax-dec | 751 | basic_machine=vax-dec |
| 606 | os=-sysv | 752 | os=-sysv |
| @@ -624,6 +770,14 @@ case $basic_machine in | |||
| 624 | basic_machine=a29k-wrs | 770 | basic_machine=a29k-wrs |
| 625 | os=-vxworks | 771 | os=-vxworks |
| 626 | ;; | 772 | ;; |
| 773 | w65*) | ||
| 774 | basic_machine=w65-wdc | ||
| 775 | os=-none | ||
| 776 | ;; | ||
| 777 | w89k-*) | ||
| 778 | basic_machine=hppa1.1-winbond | ||
| 779 | os=-proelf | ||
| 780 | ;; | ||
| 627 | xmp) | 781 | xmp) |
| 628 | basic_machine=xmp-cray | 782 | basic_machine=xmp-cray |
| 629 | os=-unicos | 783 | os=-unicos |
| @@ -631,9 +785,9 @@ case $basic_machine in | |||
| 631 | xps | xps100) | 785 | xps | xps100) |
| 632 | basic_machine=xps100-honeywell | 786 | basic_machine=xps100-honeywell |
| 633 | ;; | 787 | ;; |
| 634 | *mint | *MiNT) | 788 | z8k-*-coff) |
| 635 | basic_machine=m68k-atari | 789 | basic_machine=z8k-unknown |
| 636 | os=-mint | 790 | os=-sim |
| 637 | ;; | 791 | ;; |
| 638 | none) | 792 | none) |
| 639 | basic_machine=none-none | 793 | basic_machine=none-none |
| @@ -642,6 +796,15 @@ case $basic_machine in | |||
| 642 | 796 | ||
| 643 | # Here we handle the default manufacturer of certain CPU types. It is in | 797 | # Here we handle the default manufacturer of certain CPU types. It is in |
| 644 | # some cases the only manufacturer, in others, it is the most popular. | 798 | # some cases the only manufacturer, in others, it is the most popular. |
| 799 | w89k) | ||
| 800 | basic_machine=hppa1.1-winbond | ||
| 801 | ;; | ||
| 802 | op50n) | ||
| 803 | basic_machine=hppa1.1-oki | ||
| 804 | ;; | ||
| 805 | op60c) | ||
| 806 | basic_machine=hppa1.1-oki | ||
| 807 | ;; | ||
| 645 | mips) | 808 | mips) |
| 646 | if [ x$os = x-linux-gnu ]; then | 809 | if [ x$os = x-linux-gnu ]; then |
| 647 | basic_machine=mips-unknown | 810 | basic_machine=mips-unknown |
| @@ -664,7 +827,7 @@ case $basic_machine in | |||
| 664 | we32k) | 827 | we32k) |
| 665 | basic_machine=we32k-att | 828 | basic_machine=we32k-att |
| 666 | ;; | 829 | ;; |
| 667 | sparc) | 830 | sparc | sparcv9) |
| 668 | basic_machine=sparc-sun | 831 | basic_machine=sparc-sun |
| 669 | ;; | 832 | ;; |
| 670 | cydra) | 833 | cydra) |
| @@ -676,6 +839,16 @@ case $basic_machine in | |||
| 676 | orion105) | 839 | orion105) |
| 677 | basic_machine=clipper-highlevel | 840 | basic_machine=clipper-highlevel |
| 678 | ;; | 841 | ;; |
| 842 | mac | mpw | mac-mpw) | ||
| 843 | basic_machine=m68k-apple | ||
| 844 | ;; | ||
| 845 | pmac | pmac-mpw) | ||
| 846 | basic_machine=powerpc-apple | ||
| 847 | ;; | ||
| 848 | c4x*) | ||
| 849 | basic_machine=c4x-none | ||
| 850 | os=-coff | ||
| 851 | ;; | ||
| 679 | *) | 852 | *) |
| 680 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | 853 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 |
| 681 | exit 1 | 854 | exit 1 |
| @@ -729,14 +902,21 @@ case $os in | |||
| 729 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 902 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
| 730 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 903 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
| 731 | | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ | 904 | | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ |
| 732 | | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ | 905 | | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
| 733 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 906 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
| 734 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 907 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| 735 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 908 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
| 736 | | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -rhapsody* \ | 909 | | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ |
| 737 | | -openstep* | -mpeix* | -oskit*) | 910 | | -interix* | -uwin* | -rhapsody* | -openstep* | -oskit*) |
| 738 | # Remember, each alternative MUST END IN *, to match a version number. | 911 | # Remember, each alternative MUST END IN *, to match a version number. |
| 739 | ;; | 912 | ;; |
| 913 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | ||
| 914 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ | ||
| 915 | | -macos* | -mpw* | -magic* | -mon960* | -lnews*) | ||
| 916 | ;; | ||
| 917 | -mac*) | ||
| 918 | os=`echo $os | sed -e 's|mac|macos|'` | ||
| 919 | ;; | ||
| 740 | -linux*) | 920 | -linux*) |
| 741 | os=`echo $os | sed -e 's|linux|linux-gnu|'` | 921 | os=`echo $os | sed -e 's|linux|linux-gnu|'` |
| 742 | ;; | 922 | ;; |
| @@ -761,6 +941,9 @@ case $os in | |||
| 761 | -acis*) | 941 | -acis*) |
| 762 | os=-aos | 942 | os=-aos |
| 763 | ;; | 943 | ;; |
| 944 | -386bsd) | ||
| 945 | os=-bsd | ||
| 946 | ;; | ||
| 764 | -ctix* | -uts*) | 947 | -ctix* | -uts*) |
| 765 | os=-sysv | 948 | os=-sysv |
| 766 | ;; | 949 | ;; |
| @@ -792,6 +975,12 @@ case $os in | |||
| 792 | # This must come after -sysvr4. | 975 | # This must come after -sysvr4. |
| 793 | -sysv*) | 976 | -sysv*) |
| 794 | ;; | 977 | ;; |
| 978 | -ose*) | ||
| 979 | os=-ose | ||
| 980 | ;; | ||
| 981 | -es1800*) | ||
| 982 | os=-ose | ||
| 983 | ;; | ||
| 795 | -xenix) | 984 | -xenix) |
| 796 | os=-xenix | 985 | os=-xenix |
| 797 | ;; | 986 | ;; |
| @@ -847,6 +1036,15 @@ case $basic_machine in | |||
| 847 | # default. | 1036 | # default. |
| 848 | # os=-sunos4 | 1037 | # os=-sunos4 |
| 849 | ;; | 1038 | ;; |
| 1039 | m68*-cisco) | ||
| 1040 | os=-aout | ||
| 1041 | ;; | ||
| 1042 | mips*-cisco) | ||
| 1043 | os=-elf | ||
| 1044 | ;; | ||
| 1045 | mips*-*) | ||
| 1046 | os=-elf | ||
| 1047 | ;; | ||
| 850 | *-tti) # must be before sparc entry or we get the wrong os. | 1048 | *-tti) # must be before sparc entry or we get the wrong os. |
| 851 | os=-sysv3 | 1049 | os=-sysv3 |
| 852 | ;; | 1050 | ;; |
| @@ -859,6 +1057,15 @@ case $basic_machine in | |||
| 859 | *-ibm) | 1057 | *-ibm) |
| 860 | os=-aix | 1058 | os=-aix |
| 861 | ;; | 1059 | ;; |
| 1060 | *-wec) | ||
| 1061 | os=-proelf | ||
| 1062 | ;; | ||
| 1063 | *-winbond) | ||
| 1064 | os=-proelf | ||
| 1065 | ;; | ||
| 1066 | *-oki) | ||
| 1067 | os=-proelf | ||
| 1068 | ;; | ||
| 862 | *-hp) | 1069 | *-hp) |
| 863 | os=-hpux | 1070 | os=-hpux |
| 864 | ;; | 1071 | ;; |
| @@ -922,6 +1129,15 @@ case $basic_machine in | |||
| 922 | f301-fujitsu) | 1129 | f301-fujitsu) |
| 923 | os=-uxpv | 1130 | os=-uxpv |
| 924 | ;; | 1131 | ;; |
| 1132 | *-rom68k) | ||
| 1133 | os=-coff | ||
| 1134 | ;; | ||
| 1135 | *-*bug) | ||
| 1136 | os=-coff | ||
| 1137 | ;; | ||
| 1138 | *-apple) | ||
| 1139 | os=-macos | ||
| 1140 | ;; | ||
| 925 | *-atari*) | 1141 | *-atari*) |
| 926 | os=-mint | 1142 | os=-mint |
| 927 | ;; | 1143 | ;; |
| @@ -946,10 +1162,10 @@ case $basic_machine in | |||
| 946 | -aix*) | 1162 | -aix*) |
| 947 | vendor=ibm | 1163 | vendor=ibm |
| 948 | ;; | 1164 | ;; |
| 949 | -hpux*) | 1165 | -beos*) |
| 950 | vendor=hp | 1166 | vendor=be |
| 951 | ;; | 1167 | ;; |
| 952 | -mpeix*) | 1168 | -hpux*) |
| 953 | vendor=hp | 1169 | vendor=hp |
| 954 | ;; | 1170 | ;; |
| 955 | -mpeix*) | 1171 | -mpeix*) |
| @@ -982,6 +1198,12 @@ case $basic_machine in | |||
| 982 | -aux*) | 1198 | -aux*) |
| 983 | vendor=apple | 1199 | vendor=apple |
| 984 | ;; | 1200 | ;; |
| 1201 | -hms*) | ||
| 1202 | vendor=hitachi | ||
| 1203 | ;; | ||
| 1204 | -mpw* | -macos*) | ||
| 1205 | vendor=apple | ||
| 1206 | ;; | ||
| 985 | -*mint | -*MiNT) | 1207 | -*mint | -*MiNT) |
| 986 | vendor=atari | 1208 | vendor=atari |
| 987 | ;; | 1209 | ;; |