1999-02-19 Ben Elliston <bje@cygnus.com>

* config.guess: Automatically recognise ELF on FreeBSD. From Niall
	Smart and improved by Andrew Cagney.
This commit is contained in:
Ben Elliston 1999-02-18 22:28:20 +00:00
parent c74175fb82
commit 59066dede1
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-02-19 Ben Elliston <bje@cygnus.com>
* config.guess: Automatically recognise ELF on FreeBSD. From Niall
Smart and improved by Andrew Cagney.
1999-02-19 Felix Lee <flee@cygnus.com>
* acgeneral.m4 (AC_CACHE_VAL): Don't need backticks. This is a

6
config.guess vendored
View File

@ -525,6 +525,12 @@ EOF
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*:*)
if test -x /usr/bin/objformat; then
if test "elf" = "`/usr/bin/objformat`"; then
echo ${UNAME_MACHINE}-unknown-freebsdelf`echo${UNAME_RELEASE}|sed -e 's/[-_].*//'`
exit 0
fi
fi
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
*:NetBSD:*:*)