diff options
author | Damien Miller <djm@mindrot.org> | 2001-05-06 10:54:15 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-05-06 10:54:15 +1000 |
commit | 5bf5f2c8f84e4b12acd2ed6baa1b110c282249ff (patch) | |
tree | 29cb0556075fd4703cd0eceff2f1fc4f327a9377 /config.sub | |
parent | 99c73b377a45d3e008e73cca9073dc006e1cfaae (diff) |
- (djm) Update config.guess and config.sub with latest versions (from
ftp://ftp.gnu.org/gnu/config/) to allow configure on ia64-hpux.
Suggested by Jason Mader <jason@ncac.gwu.edu>
Diffstat (limited to 'config.sub')
-rwxr-xr-x | config.sub | 172 |
1 files changed, 111 insertions, 61 deletions
diff --git a/config.sub b/config.sub index 09975706d..a06a480ad 100755 --- a/config.sub +++ b/config.sub | |||
@@ -1,9 +1,9 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Configuration validation subroutine script, version 1.1. | 2 | # Configuration validation subroutine script. |
3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
4 | # Free Software Foundation, Inc. | 4 | # Free Software Foundation, Inc. |
5 | 5 | ||
6 | version='2000-06-10' | 6 | timestamp='2001-04-20' |
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 |
@@ -29,7 +29,6 @@ version='2000-06-10' | |||
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 | # Written by Per Bothner <bothner@cygnus.com>. | ||
33 | # Please send patches to <config-patches@gnu.org>. | 32 | # Please send patches to <config-patches@gnu.org>. |
34 | # | 33 | # |
35 | # Configuration subroutine to validate and canonicalize a configuration type. | 34 | # Configuration subroutine to validate and canonicalize a configuration type. |
@@ -61,16 +60,30 @@ Usage: $0 [OPTION] CPU-MFR-OPSYS | |||
61 | Canonicalize a configuration name. | 60 | Canonicalize a configuration name. |
62 | 61 | ||
63 | Operation modes: | 62 | Operation modes: |
64 | -h, --help print this help, then exit | 63 | -h, --help print this help, then exit |
65 | -V, --version print version number, then exit" | 64 | -t, --time-stamp print date of last modification, then exit |
65 | -v, --version print version number, then exit | ||
66 | |||
67 | Report bugs and patches to <config-patches@gnu.org>." | ||
68 | |||
69 | version="\ | ||
70 | GNU config.sub ($timestamp) | ||
71 | |||
72 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 | ||
73 | Free Software Foundation, Inc. | ||
74 | |||
75 | This is free software; see the source for copying conditions. There is NO | ||
76 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | ||
66 | 77 | ||
67 | help=" | 78 | help=" |
68 | Try \`$me --help' for more information." | 79 | Try \`$me --help' for more information." |
69 | 80 | ||
70 | # Parse command line | 81 | # Parse command line |
71 | while test $# -gt 0 ; do | 82 | while test $# -gt 0 ; do |
72 | case "$1" in | 83 | case $1 in |
73 | --version | --vers* | -V ) | 84 | --time-stamp | --time* | -t ) |
85 | echo "$timestamp" ; exit 0 ;; | ||
86 | --version | -v ) | ||
74 | echo "$version" ; exit 0 ;; | 87 | echo "$version" ; exit 0 ;; |
75 | --help | --h* | -h ) | 88 | --help | --h* | -h ) |
76 | echo "$usage"; exit 0 ;; | 89 | echo "$usage"; exit 0 ;; |
@@ -79,9 +92,7 @@ while test $# -gt 0 ; do | |||
79 | - ) # Use stdin as input. | 92 | - ) # Use stdin as input. |
80 | break ;; | 93 | break ;; |
81 | -* ) | 94 | -* ) |
82 | exec >&2 | 95 | echo "$me: invalid option $1$help" |
83 | echo "$me: invalid option $1" | ||
84 | echo "$help" | ||
85 | exit 1 ;; | 96 | exit 1 ;; |
86 | 97 | ||
87 | *local*) | 98 | *local*) |
@@ -106,7 +117,7 @@ esac | |||
106 | # Here we must recognize all the valid KERNEL-OS combinations. | 117 | # Here we must recognize all the valid KERNEL-OS combinations. |
107 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 118 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
108 | case $maybe_os in | 119 | case $maybe_os in |
109 | nto-qnx* | linux-gnu*) | 120 | nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*) |
110 | os=-$maybe_os | 121 | os=-$maybe_os |
111 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 122 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
112 | ;; | 123 | ;; |
@@ -204,30 +215,40 @@ esac | |||
204 | case $basic_machine in | 215 | case $basic_machine in |
205 | # Recognize the basic CPU types without company name. | 216 | # Recognize the basic CPU types without company name. |
206 | # Some are omitted here because they have special meanings below. | 217 | # Some are omitted here because they have special meanings below. |
207 | tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ | 218 | tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \ |
208 | | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ | 219 | | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \ |
220 | | pyramid | mn10200 | mn10300 | tron | a29k \ | ||
209 | | 580 | i960 | h8300 \ | 221 | | 580 | i960 | h8300 \ |
210 | | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \ | 222 | | x86 | ppcbe | mipsbe | mipsle | shbe | shle \ |
211 | | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ | 223 | | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ |
212 | | hppa64 \ | 224 | | hppa64 \ |
213 | | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ | 225 | | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ |
214 | | alphaev6[78] \ | 226 | | alphaev6[78] \ |
215 | | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ | 227 | | we32k | ns16k | clipper | i370 | sh | sh[34] \ |
216 | | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ | 228 | | powerpc | powerpcle \ |
229 | | 1750a | dsp16xx | pdp10 | pdp11 \ | ||
230 | | mips16 | mips64 | mipsel | mips64el \ | ||
217 | | mips64orion | mips64orionel | mipstx39 | mipstx39el \ | 231 | | mips64orion | mips64orionel | mipstx39 | mipstx39el \ |
218 | | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ | 232 | | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ |
219 | | mips64vr5000 | miprs64vr5000el | mcore \ | 233 | | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \ |
220 | | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ | 234 | | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \ |
221 | | thumb | d10v | fr30 | avr) | 235 | | v850 | c4x \ |
236 | | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \ | ||
237 | | pj | pjl | h8500) | ||
222 | basic_machine=$basic_machine-unknown | 238 | basic_machine=$basic_machine-unknown |
223 | ;; | 239 | ;; |
224 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl) | 240 | m6811 | m68hc11 | m6812 | m68hc12) |
241 | # Motorola 68HC11/12. | ||
242 | basic_machine=$basic_machine-unknown | ||
243 | os=-none | ||
244 | ;; | ||
245 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65) | ||
225 | ;; | 246 | ;; |
226 | 247 | ||
227 | # We use `pc' rather than `unknown' | 248 | # We use `pc' rather than `unknown' |
228 | # because (1) that's what they normally are, and | 249 | # because (1) that's what they normally are, and |
229 | # (2) the word "unknown" tends to confuse beginning users. | 250 | # (2) the word "unknown" tends to confuse beginning users. |
230 | i[34567]86) | 251 | i*86 | x86_64) |
231 | basic_machine=$basic_machine-pc | 252 | basic_machine=$basic_machine-pc |
232 | ;; | 253 | ;; |
233 | # Object if more than one company name word. | 254 | # Object if more than one company name word. |
@@ -237,27 +258,30 @@ case $basic_machine in | |||
237 | ;; | 258 | ;; |
238 | # Recognize the basic CPU types with company name. | 259 | # Recognize the basic CPU types with company name. |
239 | # FIXME: clean up the formatting here. | 260 | # FIXME: clean up the formatting here. |
240 | vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ | 261 | vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ |
241 | | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ | 262 | | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ |
263 | | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ | ||
242 | | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | 264 | | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ |
243 | | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ | 265 | | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ |
244 | | xmp-* | ymp-* \ | 266 | | xmp-* | ymp-* \ |
245 | | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \ | 267 | | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ |
246 | | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ | 268 | | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ |
247 | | hppa2.0n-* | hppa64-* \ | 269 | | hppa2.0n-* | hppa64-* \ |
248 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ | 270 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ |
249 | | alphaev6[78]-* \ | 271 | | alphaev6[78]-* \ |
250 | | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ | 272 | | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ |
251 | | clipper-* | orion-* \ | 273 | | clipper-* | orion-* \ |
252 | | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ | 274 | | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ |
253 | | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ | 275 | | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \ |
276 | | mips16-* | mips64-* | mipsel-* \ | ||
254 | | mips64el-* | mips64orion-* | mips64orionel-* \ | 277 | | mips64el-* | mips64orion-* | mips64orionel-* \ |
255 | | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ | 278 | | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ |
256 | | mipstx39-* | mipstx39el-* | mcore-* \ | 279 | | mipstx39-* | mipstx39el-* | mcore-* \ |
257 | | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ | 280 | | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \ |
281 | | [cjt]90-* \ | ||
258 | | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ | 282 | | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ |
259 | | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ | 283 | | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \ |
260 | | bs2000-*) | 284 | | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*) |
261 | ;; | 285 | ;; |
262 | # Recognize the various machine names and aliases which stand | 286 | # Recognize the various machine names and aliases which stand |
263 | # for a CPU type and a company and sometimes even an OS. | 287 | # for a CPU type and a company and sometimes even an OS. |
@@ -294,14 +318,14 @@ case $basic_machine in | |||
294 | os=-sysv | 318 | os=-sysv |
295 | ;; | 319 | ;; |
296 | amiga | amiga-*) | 320 | amiga | amiga-*) |
297 | basic_machine=m68k-cbm | 321 | basic_machine=m68k-unknown |
298 | ;; | 322 | ;; |
299 | amigaos | amigados) | 323 | amigaos | amigados) |
300 | basic_machine=m68k-cbm | 324 | basic_machine=m68k-unknown |
301 | os=-amigaos | 325 | os=-amigaos |
302 | ;; | 326 | ;; |
303 | amigaunix | amix) | 327 | amigaunix | amix) |
304 | basic_machine=m68k-cbm | 328 | basic_machine=m68k-unknown |
305 | os=-sysv4 | 329 | os=-sysv4 |
306 | ;; | 330 | ;; |
307 | apollo68) | 331 | apollo68) |
@@ -348,8 +372,8 @@ case $basic_machine in | |||
348 | basic_machine=cray2-cray | 372 | basic_machine=cray2-cray |
349 | os=-unicos | 373 | os=-unicos |
350 | ;; | 374 | ;; |
351 | [ctj]90-cray) | 375 | [cjt]90) |
352 | basic_machine=c90-cray | 376 | basic_machine=${basic_machine}-cray |
353 | os=-unicos | 377 | os=-unicos |
354 | ;; | 378 | ;; |
355 | crds | unos) | 379 | crds | unos) |
@@ -405,6 +429,10 @@ case $basic_machine in | |||
405 | basic_machine=tron-gmicro | 429 | basic_machine=tron-gmicro |
406 | os=-sysv | 430 | os=-sysv |
407 | ;; | 431 | ;; |
432 | go32) | ||
433 | basic_machine=i386-pc | ||
434 | os=-go32 | ||
435 | ;; | ||
408 | h3050r* | hiux*) | 436 | h3050r* | hiux*) |
409 | basic_machine=hppa1.1-hitachi | 437 | basic_machine=hppa1.1-hitachi |
410 | os=-hiuxwe2 | 438 | os=-hiuxwe2 |
@@ -480,19 +508,19 @@ case $basic_machine in | |||
480 | basic_machine=i370-ibm | 508 | basic_machine=i370-ibm |
481 | ;; | 509 | ;; |
482 | # I'm not sure what "Sysv32" means. Should this be sysv3.2? | 510 | # I'm not sure what "Sysv32" means. Should this be sysv3.2? |
483 | i[34567]86v32) | 511 | i*86v32) |
484 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | 512 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
485 | os=-sysv32 | 513 | os=-sysv32 |
486 | ;; | 514 | ;; |
487 | i[34567]86v4*) | 515 | i*86v4*) |
488 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | 516 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
489 | os=-sysv4 | 517 | os=-sysv4 |
490 | ;; | 518 | ;; |
491 | i[34567]86v) | 519 | i*86v) |
492 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | 520 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
493 | os=-sysv | 521 | os=-sysv |
494 | ;; | 522 | ;; |
495 | i[34567]86sol2) | 523 | i*86sol2) |
496 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | 524 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
497 | os=-solaris2 | 525 | os=-solaris2 |
498 | ;; | 526 | ;; |
@@ -504,14 +532,6 @@ case $basic_machine in | |||
504 | basic_machine=i386-unknown | 532 | basic_machine=i386-unknown |
505 | os=-vsta | 533 | os=-vsta |
506 | ;; | 534 | ;; |
507 | i386-go32 | go32) | ||
508 | basic_machine=i386-unknown | ||
509 | os=-go32 | ||
510 | ;; | ||
511 | i386-mingw32 | mingw32) | ||
512 | basic_machine=i386-unknown | ||
513 | os=-mingw32 | ||
514 | ;; | ||
515 | iris | iris4d) | 535 | iris | iris4d) |
516 | basic_machine=mips-sgi | 536 | basic_machine=mips-sgi |
517 | case $os in | 537 | case $os in |
@@ -537,6 +557,10 @@ case $basic_machine in | |||
537 | basic_machine=ns32k-utek | 557 | basic_machine=ns32k-utek |
538 | os=-sysv | 558 | os=-sysv |
539 | ;; | 559 | ;; |
560 | mingw32) | ||
561 | basic_machine=i386-pc | ||
562 | os=-mingw32 | ||
563 | ;; | ||
540 | miniframe) | 564 | miniframe) |
541 | basic_machine=m68000-convergent | 565 | basic_machine=m68000-convergent |
542 | ;; | 566 | ;; |
@@ -567,7 +591,7 @@ case $basic_machine in | |||
567 | os=-coff | 591 | os=-coff |
568 | ;; | 592 | ;; |
569 | msdos) | 593 | msdos) |
570 | basic_machine=i386-unknown | 594 | basic_machine=i386-pc |
571 | os=-msdos | 595 | os=-msdos |
572 | ;; | 596 | ;; |
573 | mvs) | 597 | mvs) |
@@ -631,6 +655,10 @@ case $basic_machine in | |||
631 | basic_machine=i960-intel | 655 | basic_machine=i960-intel |
632 | os=-mon960 | 656 | os=-mon960 |
633 | ;; | 657 | ;; |
658 | nonstopux) | ||
659 | basic_machine=mips-compaq | ||
660 | os=-nonstopux | ||
661 | ;; | ||
634 | np1) | 662 | np1) |
635 | basic_machine=np1-gould | 663 | basic_machine=np1-gould |
636 | ;; | 664 | ;; |
@@ -666,28 +694,28 @@ case $basic_machine in | |||
666 | pc532 | pc532-*) | 694 | pc532 | pc532-*) |
667 | basic_machine=ns32k-pc532 | 695 | basic_machine=ns32k-pc532 |
668 | ;; | 696 | ;; |
669 | pentium | p5 | k5 | k6 | nexen) | 697 | pentium | p5 | k5 | k6 | nexgen) |
670 | basic_machine=i586-pc | 698 | basic_machine=i586-pc |
671 | ;; | 699 | ;; |
672 | pentiumpro | p6 | 6x86 | athlon) | 700 | pentiumpro | p6 | 6x86 | athlon) |
673 | basic_machine=i686-pc | 701 | basic_machine=i686-pc |
674 | ;; | 702 | ;; |
675 | pentiumii | pentium2) | 703 | pentiumii | pentium2) |
676 | basic_machine=i786-pc | 704 | basic_machine=i686-pc |
677 | ;; | 705 | ;; |
678 | pentium-* | p5-* | k5-* | k6-* | nexen-*) | 706 | pentium-* | p5-* | k5-* | k6-* | nexgen-*) |
679 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | 707 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
680 | ;; | 708 | ;; |
681 | pentiumpro-* | p6-* | 6x86-* | athlon-*) | 709 | pentiumpro-* | p6-* | 6x86-* | athlon-*) |
682 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | 710 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
683 | ;; | 711 | ;; |
684 | pentiumii-* | pentium2-*) | 712 | pentiumii-* | pentium2-*) |
685 | basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | 713 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
686 | ;; | 714 | ;; |
687 | pn) | 715 | pn) |
688 | basic_machine=pn-gould | 716 | basic_machine=pn-gould |
689 | ;; | 717 | ;; |
690 | power) basic_machine=rs6000-ibm | 718 | power) basic_machine=power-ibm |
691 | ;; | 719 | ;; |
692 | ppc) basic_machine=powerpc-unknown | 720 | ppc) basic_machine=powerpc-unknown |
693 | ;; | 721 | ;; |
@@ -702,6 +730,10 @@ case $basic_machine in | |||
702 | ps2) | 730 | ps2) |
703 | basic_machine=i386-ibm | 731 | basic_machine=i386-ibm |
704 | ;; | 732 | ;; |
733 | pw32) | ||
734 | basic_machine=i586-unknown | ||
735 | os=-pw32 | ||
736 | ;; | ||
705 | rom68k) | 737 | rom68k) |
706 | basic_machine=m68k-rom68k | 738 | basic_machine=m68k-rom68k |
707 | os=-coff | 739 | os=-coff |
@@ -793,6 +825,10 @@ case $basic_machine in | |||
793 | basic_machine=t3e-cray | 825 | basic_machine=t3e-cray |
794 | os=-unicos | 826 | os=-unicos |
795 | ;; | 827 | ;; |
828 | tic54x | c54x*) | ||
829 | basic_machine=tic54x-unknown | ||
830 | os=-coff | ||
831 | ;; | ||
796 | tx39) | 832 | tx39) |
797 | basic_machine=mipstx39-unknown | 833 | basic_machine=mipstx39-unknown |
798 | ;; | 834 | ;; |
@@ -888,13 +924,20 @@ case $basic_machine in | |||
888 | vax) | 924 | vax) |
889 | basic_machine=vax-dec | 925 | basic_machine=vax-dec |
890 | ;; | 926 | ;; |
927 | pdp10) | ||
928 | # there are many clones, so DEC is not a safe bet | ||
929 | basic_machine=pdp10-unknown | ||
930 | ;; | ||
891 | pdp11) | 931 | pdp11) |
892 | basic_machine=pdp11-dec | 932 | basic_machine=pdp11-dec |
893 | ;; | 933 | ;; |
894 | we32k) | 934 | we32k) |
895 | basic_machine=we32k-att | 935 | basic_machine=we32k-att |
896 | ;; | 936 | ;; |
897 | sparc | sparcv9) | 937 | sh3 | sh4) |
938 | basic_machine=sh-unknown | ||
939 | ;; | ||
940 | sparc | sparcv9 | sparcv9b) | ||
898 | basic_machine=sparc-sun | 941 | basic_machine=sparc-sun |
899 | ;; | 942 | ;; |
900 | cydra) | 943 | cydra) |
@@ -916,6 +959,9 @@ case $basic_machine in | |||
916 | basic_machine=c4x-none | 959 | basic_machine=c4x-none |
917 | os=-coff | 960 | os=-coff |
918 | ;; | 961 | ;; |
962 | *-unknown) | ||
963 | # Make sure to match an already-canonicalized machine name. | ||
964 | ;; | ||
919 | *) | 965 | *) |
920 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | 966 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 |
921 | exit 1 | 967 | exit 1 |
@@ -975,12 +1021,13 @@ case $os in | |||
975 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1021 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
976 | | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | 1022 | | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ |
977 | | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ | 1023 | | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ |
978 | | -openstep* | -oskit*) | 1024 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1025 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*) | ||
979 | # Remember, each alternative MUST END IN *, to match a version number. | 1026 | # Remember, each alternative MUST END IN *, to match a version number. |
980 | ;; | 1027 | ;; |
981 | -qnx*) | 1028 | -qnx*) |
982 | case $basic_machine in | 1029 | case $basic_machine in |
983 | x86-* | i[34567]86-*) | 1030 | x86-* | i*86-*) |
984 | ;; | 1031 | ;; |
985 | *) | 1032 | *) |
986 | os=-nto$os | 1033 | os=-nto$os |
@@ -1036,7 +1083,7 @@ case $os in | |||
1036 | -ns2 ) | 1083 | -ns2 ) |
1037 | os=-nextstep2 | 1084 | os=-nextstep2 |
1038 | ;; | 1085 | ;; |
1039 | -nsk) | 1086 | -nsk*) |
1040 | os=-nsk | 1087 | os=-nsk |
1041 | ;; | 1088 | ;; |
1042 | # Preserve the version number of sinix5. | 1089 | # Preserve the version number of sinix5. |
@@ -1073,7 +1120,7 @@ case $os in | |||
1073 | -xenix) | 1120 | -xenix) |
1074 | os=-xenix | 1121 | os=-xenix |
1075 | ;; | 1122 | ;; |
1076 | -*mint | -*MiNT) | 1123 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1077 | os=-mint | 1124 | os=-mint |
1078 | ;; | 1125 | ;; |
1079 | -none) | 1126 | -none) |
@@ -1107,6 +1154,9 @@ case $basic_machine in | |||
1107 | arm*-semi) | 1154 | arm*-semi) |
1108 | os=-aout | 1155 | os=-aout |
1109 | ;; | 1156 | ;; |
1157 | pdp10-*) | ||
1158 | os=-tops20 | ||
1159 | ;; | ||
1110 | pdp11-*) | 1160 | pdp11-*) |
1111 | os=-none | 1161 | os=-none |
1112 | ;; | 1162 | ;; |
@@ -1215,7 +1265,7 @@ case $basic_machine in | |||
1215 | *-masscomp) | 1265 | *-masscomp) |
1216 | os=-rtu | 1266 | os=-rtu |
1217 | ;; | 1267 | ;; |
1218 | f301-fujitsu) | 1268 | f30[01]-fujitsu | f700-fujitsu) |
1219 | os=-uxpv | 1269 | os=-uxpv |
1220 | ;; | 1270 | ;; |
1221 | *-rom68k) | 1271 | *-rom68k) |
@@ -1293,7 +1343,7 @@ case $basic_machine in | |||
1293 | -mpw* | -macos*) | 1343 | -mpw* | -macos*) |
1294 | vendor=apple | 1344 | vendor=apple |
1295 | ;; | 1345 | ;; |
1296 | -*mint | -*MiNT) | 1346 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1297 | vendor=atari | 1347 | vendor=atari |
1298 | ;; | 1348 | ;; |
1299 | esac | 1349 | esac |
@@ -1306,7 +1356,7 @@ exit 0 | |||
1306 | 1356 | ||
1307 | # Local variables: | 1357 | # Local variables: |
1308 | # eval: (add-hook 'write-file-hooks 'time-stamp) | 1358 | # eval: (add-hook 'write-file-hooks 'time-stamp) |
1309 | # time-stamp-start: "version='" | 1359 | # time-stamp-start: "timestamp='" |
1310 | # time-stamp-format: "%:y-%02m-%02d" | 1360 | # time-stamp-format: "%:y-%02m-%02d" |
1311 | # time-stamp-end: "'" | 1361 | # time-stamp-end: "'" |
1312 | # End: | 1362 | # End: |