From df6f3cdf9d421011090ccb50af9828f5903544ee Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Wed, 30 May 2012 03:01:56 -0400 Subject: [PATCH] configure: Add support for FreeBSD. This makes FreeBSD a recognized platform. Follow up patches make it work properly. --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index dc0dba4c..acb90a8c 100755 --- a/configure +++ b/configure @@ -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