aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Bothner1996-02-12 20:44:56 +0000
committerPer Bothner1996-02-12 20:44:56 +0000
commit1b8f42ec233041f7d4590ddfe7a534a85f1d4dc6 (patch)
tree4ec69c20eee0d804e0c54250d6ee2b07acd699b1
parent9ca335ed3c36f4449789893ef2da1e648562436b (diff)
downloademacs-1b8f42ec233041f7d4590ddfe7a534a85f1d4dc6.tar.gz
emacs-1b8f42ec233041f7d4590ddfe7a534a85f1d4dc6.zip
* config.guess: Support m68k-cbm-sysv4.
* config.guess (*:Linux:*:*): Guess m68k-unknown-linux
-rwxr-xr-xconfig.guess13
1 files changed, 10 insertions, 3 deletions
diff --git a/config.guess b/config.guess
index af106b2f8a1..dc83e59c8c1 100755
--- a/config.guess
+++ b/config.guess
@@ -62,6 +62,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
62 21064:Windows_NT:50:3) 62 21064:Windows_NT:50:3)
63 echo alpha-dec-winnt3.5 63 echo alpha-dec-winnt3.5
64 exit 0 ;; 64 exit 0 ;;
65 Amiga*:UNIX_System_V:4.0:*)
66 echo m68k-cbm-sysv4
67 exit 0;;
65 amiga:NetBSD:*:*) 68 amiga:NetBSD:*:*)
66 echo m68k-cbm-netbsd${UNAME_RELEASE} 69 echo m68k-cbm-netbsd${UNAME_RELEASE}
67 exit 0 ;; 70 exit 0 ;;
@@ -327,12 +330,16 @@ EOF
327 # The BFD linker knows what the default object file format is, so 330 # The BFD linker knows what the default object file format is, so
328 # first see if it will tell us. 331 # first see if it will tell us.
329 ld_help_string=`ld --help 2>&1` 332 ld_help_string=`ld --help 2>&1`
330 if echo $ld_help_string | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then 333 if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then
331 echo "${UNAME_MACHINE}-unknown-linux" ; exit 0 334 echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
332 elif echo $ld_help_string | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then 335 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then
333 echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0 336 echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
334 elif echo $ld_help_string | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then 337 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then
335 echo "${UNAME_MACHINE}-unknown-linuxcoff" ; exit 0 338 echo "${UNAME_MACHINE}-unknown-linuxcoff" ; exit 0
339 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then
340 echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
341 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then
342 echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
336 elif test "${UNAME_MACHINE}" = "alpha" ; then 343 elif test "${UNAME_MACHINE}" = "alpha" ; then
337 echo alpha-unknown-linux ; exit 0 344 echo alpha-unknown-linux ; exit 0
338 else 345 else