diff options
| author | David J. MacKenzie | 1996-11-08 07:35:31 +0000 |
|---|---|---|
| committer | David J. MacKenzie | 1996-11-08 07:35:31 +0000 |
| commit | dd1aafd0b2a33601113e54b9c8c36db28344eea0 (patch) | |
| tree | 2f40684a4dfc8a5bcbbe066046797c34bc4622bf | |
| parent | 0f936def561bba7b7f6db9e1d51a1051f900c0db (diff) | |
| download | emacs-dd1aafd0b2a33601113e54b9c8c36db28344eea0.tar.gz emacs-dd1aafd0b2a33601113e54b9c8c36db28344eea0.zip | |
patches from bug-gnu-utils to support more architectures
| -rwxr-xr-x | config.guess | 69 | ||||
| -rwxr-xr-x | config.sub | 9 |
2 files changed, 53 insertions, 25 deletions
diff --git a/config.guess b/config.guess index f298e04b7f0..595a59a13d3 100755 --- a/config.guess +++ b/config.guess | |||
| @@ -67,16 +67,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 67 | amiga:NetBSD:*:*) | 67 | amiga:NetBSD:*:*) |
| 68 | echo m68k-cbm-netbsd${UNAME_RELEASE} | 68 | echo m68k-cbm-netbsd${UNAME_RELEASE} |
| 69 | exit 0 ;; | 69 | exit 0 ;; |
| 70 | amiga:OpenBSD:*:*) | ||
| 71 | echo m68k-cbm-openbsd${UNAME_RELEASE} | ||
| 72 | exit 0 ;; | ||
| 70 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) | 73 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
| 71 | echo arm-acorn-riscix${UNAME_RELEASE} | 74 | echo arm-acorn-riscix${UNAME_RELEASE} |
| 72 | exit 0;; | 75 | exit 0;; |
| 73 | Pyramid*:OSx*:*:*) | 76 | Pyramid*:OSx*:*:*|MIS*:OSx*:*:*) |
| 77 | # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. | ||
| 74 | if test "`(/bin/universe) 2>/dev/null`" = att ; then | 78 | if test "`(/bin/universe) 2>/dev/null`" = att ; then |
| 75 | echo pyramid-pyramid-sysv3 | 79 | echo pyramid-pyramid-sysv3 |
| 76 | else | 80 | else |
| 77 | echo pyramid-pyramid-bsd | 81 | echo pyramid-pyramid-bsd |
| 78 | fi | 82 | fi |
| 79 | exit 0 ;; | 83 | exit 0 ;; |
| 84 | NILE:*:*:dcosx) | ||
| 85 | echo pyramid-pyramid-svr4 | ||
| 86 | exit 0 ;; | ||
| 80 | sun4*:SunOS:5.*:*) | 87 | sun4*:SunOS:5.*:*) |
| 81 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 88 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
| 82 | exit 0 ;; | 89 | exit 0 ;; |
| @@ -104,12 +111,21 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 104 | atari*:NetBSD:*:*) | 111 | atari*:NetBSD:*:*) |
| 105 | echo m68k-atari-netbsd${UNAME_RELEASE} | 112 | echo m68k-atari-netbsd${UNAME_RELEASE} |
| 106 | exit 0 ;; | 113 | exit 0 ;; |
| 114 | atari*:OpenBSD:*:*) | ||
| 115 | echo m68k-atari-openbsd${UNAME_RELEASE} | ||
| 116 | exit 0 ;; | ||
| 107 | sun3*:NetBSD:*:*) | 117 | sun3*:NetBSD:*:*) |
| 108 | echo m68k-sun-netbsd${UNAME_RELEASE} | 118 | echo m68k-sun-netbsd${UNAME_RELEASE} |
| 109 | exit 0 ;; | 119 | exit 0 ;; |
| 120 | sun3*:OpenBSD:*:*) | ||
| 121 | echo m68k-sun-openbsd${UNAME_RELEASE} | ||
| 122 | exit 0 ;; | ||
| 110 | mac68k:NetBSD:*:*) | 123 | mac68k:NetBSD:*:*) |
| 111 | echo m68k-apple-netbsd${UNAME_RELEASE} | 124 | echo m68k-apple-netbsd${UNAME_RELEASE} |
| 112 | exit 0 ;; | 125 | exit 0 ;; |
| 126 | mac68k:OpenBSD:*:*) | ||
| 127 | echo m68k-apple-openbsd${UNAME_RELEASE} | ||
| 128 | exit 0 ;; | ||
| 113 | RISC*:ULTRIX:*:*) | 129 | RISC*:ULTRIX:*:*) |
| 114 | echo mips-dec-ultrix${UNAME_RELEASE} | 130 | echo mips-dec-ultrix${UNAME_RELEASE} |
| 115 | exit 0 ;; | 131 | exit 0 ;; |
| @@ -179,10 +195,10 @@ EOF | |||
| 179 | *:IRIX*:*:*) | 195 | *:IRIX*:*:*) |
| 180 | echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` | 196 | echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` |
| 181 | exit 0 ;; | 197 | exit 0 ;; |
| 182 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. | 198 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
| 183 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id | 199 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
| 184 | exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' | 200 | exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' |
| 185 | i[34]86:AIX:*:*) | 201 | i?86:AIX:*:*) |
| 186 | echo i386-ibm-aix | 202 | echo i386-ibm-aix |
| 187 | exit 0 ;; | 203 | exit 0 ;; |
| 188 | *:AIX:2:3) | 204 | *:AIX:2:3) |
| @@ -331,7 +347,10 @@ EOF | |||
| 331 | hp3[0-9][05]:NetBSD:*:*) | 347 | hp3[0-9][05]:NetBSD:*:*) |
| 332 | echo m68k-hp-netbsd${UNAME_RELEASE} | 348 | echo m68k-hp-netbsd${UNAME_RELEASE} |
| 333 | exit 0 ;; | 349 | exit 0 ;; |
| 334 | i[34]86:BSD/386:*:* | *:BSD/OS:*:*) | 350 | hp3[0-9][05]:OpenBSD:*:*) |
| 351 | echo m68k-hp-openbsd${UNAME_RELEASE} | ||
| 352 | exit 0 ;; | ||
| 353 | i?86:BSD/386:*:* | *:BSD/OS:*:*) | ||
| 335 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | 354 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
| 336 | exit 0 ;; | 355 | exit 0 ;; |
| 337 | *:FreeBSD:*:*) | 356 | *:FreeBSD:*:*) |
| @@ -340,6 +359,9 @@ EOF | |||
| 340 | *:NetBSD:*:*) | 359 | *:NetBSD:*:*) |
| 341 | echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | 360 | echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` |
| 342 | exit 0 ;; | 361 | exit 0 ;; |
| 362 | *:OpenBSD:*:*) | ||
| 363 | echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | ||
| 364 | exit 0 ;; | ||
| 343 | i*:CYGWIN*:*) | 365 | i*:CYGWIN*:*) |
| 344 | echo i386-pc-cygwin32 | 366 | echo i386-pc-cygwin32 |
| 345 | exit 0 ;; | 367 | exit 0 ;; |
| @@ -356,11 +378,11 @@ EOF | |||
| 356 | # The BFD linker knows what the default object file format is, so | 378 | # The BFD linker knows what the default object file format is, so |
| 357 | # first see if it will tell us. | 379 | # first see if it will tell us. |
| 358 | ld_help_string=`ld --help 2>&1` | 380 | ld_help_string=`ld --help 2>&1` |
| 359 | if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then | 381 | if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i.86"; then |
| 360 | echo "${UNAME_MACHINE}-pc-linux-gnu" ; exit 0 | 382 | echo "${UNAME_MACHINE}-pc-linux-gnu" ; exit 0 |
| 361 | elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then | 383 | elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86linux"; then |
| 362 | echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 | 384 | echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 |
| 363 | elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then | 385 | elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86coff"; then |
| 364 | echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 | 386 | echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 |
| 365 | elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then | 387 | elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then |
| 366 | echo "${UNAME_MACHINE}-unknown-linux-gnu" ; exit 0 | 388 | echo "${UNAME_MACHINE}-unknown-linux-gnu" ; exit 0 |
| @@ -396,17 +418,17 @@ EOF | |||
| 396 | fi ;; | 418 | fi ;; |
| 397 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions | 419 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions |
| 398 | # are messed up and put the nodename in both sysname and nodename. | 420 | # are messed up and put the nodename in both sysname and nodename. |
| 399 | i[34]86:DYNIX/ptx:4*:*) | 421 | i?86:DYNIX/ptx:4*:*) |
| 400 | echo i386-sequent-sysv4 | 422 | echo i386-sequent-sysv4 |
| 401 | exit 0 ;; | 423 | exit 0 ;; |
| 402 | i[34]86:*:4.*:* | i[34]86:SYSTEM_V:4.*:*) | 424 | i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*) |
| 403 | if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then | 425 | if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then |
| 404 | echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} | 426 | echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} |
| 405 | else | 427 | else |
| 406 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} | 428 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} |
| 407 | fi | 429 | fi |
| 408 | exit 0 ;; | 430 | exit 0 ;; |
| 409 | i[34]86:*:3.2:*) | 431 | i?86:*:3.2:*) |
| 410 | if test -f /usr/options/cb.name; then | 432 | if test -f /usr/options/cb.name; then |
| 411 | UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` | 433 | UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` |
| 412 | echo ${UNAME_MACHINE}-pc-isc$UNAME_REL | 434 | echo ${UNAME_MACHINE}-pc-isc$UNAME_REL |
| @@ -437,7 +459,7 @@ EOF | |||
| 437 | # "miniframe" | 459 | # "miniframe" |
| 438 | echo m68010-convergent-sysv | 460 | echo m68010-convergent-sysv |
| 439 | exit 0 ;; | 461 | exit 0 ;; |
| 440 | M680[234]0:*:R3V[567]*:*) | 462 | m68*:*:R3V[567]*:*) |
| 441 | test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; | 463 | test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; |
| 442 | 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) | 464 | 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) |
| 443 | UNAME_REL=4.3 | 465 | UNAME_REL=4.3 |
| @@ -451,20 +473,20 @@ EOF | |||
| 451 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) | 473 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
| 452 | uname -p 2>/dev/null | grep 86 >/dev/null \ | 474 | uname -p 2>/dev/null | grep 86 >/dev/null \ |
| 453 | && echo i486-ncr-sysv4 && exit 0 ;; | 475 | && echo i486-ncr-sysv4 && exit 0 ;; |
| 454 | m680[234]0:LynxOS:2.[23]*:*) | 476 | m68*:LynxOS:2.*:*) |
| 455 | echo m68k-lynx-lynxos${UNAME_RELEASE} | 477 | echo m68k-unknown-lynxos${UNAME_RELEASE} |
| 456 | exit 0 ;; | 478 | exit 0 ;; |
| 457 | mc68030:UNIX_System_V:4.*:*) | 479 | mc68030:UNIX_System_V:4.*:*) |
| 458 | echo m68k-atari-sysv4 | 480 | echo m68k-atari-sysv4 |
| 459 | exit 0 ;; | 481 | exit 0 ;; |
| 460 | i[34]86:LynxOS:2.[23]*:*) | 482 | i?86:LynxOS:2.*:*) |
| 461 | echo i386-lynx-lynxos${UNAME_RELEASE} | 483 | echo i386-unknown-lynxos${UNAME_RELEASE} |
| 462 | exit 0 ;; | 484 | exit 0 ;; |
| 463 | TSUNAMI:LynxOS:2.[23]*:*) | 485 | TSUNAMI:LynxOS:2.*:*) |
| 464 | echo sparc-lynx-lynxos${UNAME_RELEASE} | 486 | echo sparc-unknown-lynxos${UNAME_RELEASE} |
| 465 | exit 0 ;; | 487 | exit 0 ;; |
| 466 | rs6000:LynxOS:2.[23]*:*) | 488 | rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) |
| 467 | echo rs6000-lynx-lynxos${UNAME_RELEASE} | 489 | echo rs6000-unknown-lynxos${UNAME_RELEASE} |
| 468 | exit 0 ;; | 490 | exit 0 ;; |
| 469 | RM*:SINIX-*:*:*) | 491 | RM*:SINIX-*:*:*) |
| 470 | echo mips-sni-sysv4 | 492 | echo mips-sni-sysv4 |
| @@ -477,6 +499,15 @@ EOF | |||
| 477 | echo ns32k-sni-sysv | 499 | echo ns32k-sni-sysv |
| 478 | fi | 500 | fi |
| 479 | exit 0 ;; | 501 | exit 0 ;; |
| 502 | *:UNIX_System_V:4*:FTX*) | ||
| 503 | # From Gerald Hewes <hewes@openmarket.com>. | ||
| 504 | # How about differentiating between stratus architectures? -djm | ||
| 505 | echo hppa1.1-stratus-sysv4 | ||
| 506 | exit 0 ;; | ||
| 507 | *:*:*:FTX*) | ||
| 508 | # From seanf@swdc.stratus.com. | ||
| 509 | echo i860-stratus-sysv4 | ||
| 510 | exit 0 ;; | ||
| 480 | mc68*:A/UX:*:*) | 511 | mc68*:A/UX:*:*) |
| 481 | echo m68k-apple-aux${UNAME_RELEASE} | 512 | echo m68k-apple-aux${UNAME_RELEASE} |
| 482 | exit 0 ;; | 513 | exit 0 ;; |
diff --git a/config.sub b/config.sub index 4b955130417..a661f98f16e 100755 --- a/config.sub +++ b/config.sub | |||
| @@ -151,7 +151,7 @@ case $basic_machine in | |||
| 151 | # Some are omitted here because they have special meanings below. | 151 | # Some are omitted here because they have special meanings below. |
| 152 | tahoe | i860 | m68k | m68000 | m88k | ns32k | arm \ | 152 | tahoe | i860 | m68k | m68000 | m88k | ns32k | arm \ |
| 153 | | arme[lb] | pyramid \ | 153 | | arme[lb] | pyramid \ |
| 154 | | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \ | 154 | | tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \ |
| 155 | | alpha | we32k | ns16k | clipper | i370 | sh \ | 155 | | alpha | we32k | ns16k | clipper | i370 | sh \ |
| 156 | | powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \ | 156 | | powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \ |
| 157 | | pdp11 | mips64el | mips64orion | mips64orionel \ | 157 | | pdp11 | mips64el | mips64orion | mips64orionel \ |
| @@ -174,7 +174,7 @@ case $basic_machine in | |||
| 174 | | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ | 174 | | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ |
| 175 | | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \ | 175 | | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \ |
| 176 | | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ | 176 | | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ |
| 177 | | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ | 177 | | hppa-* | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ |
| 178 | | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ | 178 | | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ |
| 179 | | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \ | 179 | | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \ |
| 180 | | mips64el-* | mips64orion-* | mips64orionel-*) | 180 | | mips64el-* | mips64orion-* | mips64orionel-*) |
| @@ -681,7 +681,7 @@ case $os in | |||
| 681 | | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \ | 681 | | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \ |
| 682 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 682 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
| 683 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 683 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
| 684 | | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \ | 684 | | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ |
| 685 | | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ | 685 | | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ |
| 686 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 686 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
| 687 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 687 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| @@ -880,9 +880,6 @@ case $basic_machine in | |||
| 880 | -sunos*) | 880 | -sunos*) |
| 881 | vendor=sun | 881 | vendor=sun |
| 882 | ;; | 882 | ;; |
| 883 | -lynxos*) | ||
| 884 | vendor=lynx | ||
| 885 | ;; | ||
| 886 | -aix*) | 883 | -aix*) |
| 887 | vendor=ibm | 884 | vendor=ibm |
| 888 | ;; | 885 | ;; |