comparison config.guess @ 18147:ce128c810249 libc-970606 libc-970607

(*:Linux:*:*): Don't test for elf_i.86 or m68kelf.
author Richard M. Stallman <rms@gnu.org>
date Fri, 06 Jun 1997 01:21:12 +0000
parents fcec3a7a91d9
children 8064de096e1f
comparison
equal deleted inserted replaced
18146:fcec3a7a91d9 18147:ce128c810249
434 exit 0 ;; 434 exit 0 ;;
435 *:Linux:*:*) 435 *:Linux:*:*)
436 # The BFD linker knows what the default object file format is, so 436 # The BFD linker knows what the default object file format is, so
437 # first see if it will tell us. 437 # first see if it will tell us.
438 ld_help_string=`ld --help 2>&1` 438 ld_help_string=`ld --help 2>&1`
439 if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i.86"; then 439 if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86linux"; then
440 echo "${UNAME_MACHINE}-pc-linux-gnu" ; exit 0
441 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86linux"; then
442 echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 440 echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0
443 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86coff"; then 441 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86coff"; then
444 echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 442 echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0
445 elif echo $ld_help_string | grep >/dev/null 2>&1 "supported emulations:sparclinux"; then 443 elif echo $ld_help_string | grep >/dev/null 2>&1 "supported emulations:sparclinux"; then
446 echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 444 echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0
447 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then
448 echo "${UNAME_MACHINE}-unknown-linux-gnu" ; exit 0
449 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then 445 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then
450 echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 446 echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0
451 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32ppc"; then 447 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32ppc"; then
452 echo "powerpc-unknown-linux-gnu" ; exit 0 448 echo "powerpc-unknown-linux-gnu" ; exit 0
453 elif test "${UNAME_MACHINE}" = "alpha" ; then 449 elif test "${UNAME_MACHINE}" = "alpha" ; then