aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar Mike Kelly <pioto@pioto.org>2012-05-30 03:01:56 -0400
committerGravatar David Bremner <bremner@debian.org>2012-09-01 23:15:53 -0300
commitdf6f3cdf9d421011090ccb50af9828f5903544ee (patch)
tree88f36752d9d9306e6b7d55a0112651d3d44935ca /configure
parent1ffb38296121f8cdec3f4193b8f3d31495a652ec (diff)
configure: Add support for FreeBSD.
This makes FreeBSD a recognized platform. Follow up patches make it work properly.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
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