configure: Add support for FreeBSD.

This makes FreeBSD a recognized platform. Follow up patches make it
work properly.
This commit is contained in:
Mike Kelly 2012-05-30 03:01:56 -04:00 committed by David Bremner
parent 1ffb382961
commit df6f3cdf9d

6
configure vendored
View file

@ -374,6 +374,10 @@ elif [ $uname = "SunOS" ] ; then
printf "Solaris.\n"
platform=SOLARIS
linker_resolves_library_dependencies=0
elif [ $uname = "FreeBSD" ] ; then
printf "FreeBSD.\n"
platform=FREEBSD
linker_resolves_library_dependencies=0
elif [ $uname = "Linux" ] || [ $uname = "GNU" ] ; then
printf "$uname\n"
platform="$uname"
@ -663,7 +667,7 @@ HAVE_GETLINE = ${have_getline}
# build its own version)
HAVE_STRCASESTR = ${have_strcasestr}
# Supported platforms (so far) are: LINUX, MACOSX, SOLARIS
# Supported platforms (so far) are: LINUX, MACOSX, SOLARIS, FREEBSD
PLATFORM = ${platform}
# Whether the linker will automatically resolve the dependency of one