aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Kenner1998-02-03 18:27:31 +0000
committerRichard Kenner1998-02-03 18:27:31 +0000
commit5ae1a2dc20cb7649bd7b1b8b650486d3335b8910 (patch)
tree5b514a76a1cf1e5907669cf31bd40430a7100829
parentb70794577c2b2fa1d497cba4a2cb64d5b72fe6ee (diff)
downloademacs-5ae1a2dc20cb7649bd7b1b8b650486d3335b8910.tar.gz
emacs-5ae1a2dc20cb7649bd7b1b8b650486d3335b8910.zip
Add support for Linux/ARM.
-rwxr-xr-xconfig.guess7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.guess b/config.guess
index b4bd35d6c2a..30230b3dfe9 100755
--- a/config.guess
+++ b/config.guess
@@ -493,6 +493,12 @@ EOF
493 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 493 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
494 exit 0 ;; 494 exit 0 ;;
495 *:Linux:*:*) 495 *:Linux:*:*)
496 # uname on the ARM produces all sorts of strangeness, and we need to
497 # filter it out.
498 case "$UNAME_MACHINE" in
499 arm* | sa110*) UNAME_MACHINE="arm" ;;
500 esac
501
496 # The BFD linker knows what the default object file format is, so 502 # The BFD linker knows what the default object file format is, so
497 # first see if it will tell us. 503 # first see if it will tell us.
498 ld_help_string=`ld --help 2>&1` 504 ld_help_string=`ld --help 2>&1`
@@ -506,6 +512,7 @@ EOF
506 i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;; 512 i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;;
507 i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;; 513 i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;;
508 sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; 514 sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
515 armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
509 m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; 516 m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
510 elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;; 517 elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;;
511 esac 518 esac