[PATCH v2 1/9] configure: Add support for FreeBSD.
Mike Kelly
pioto at pioto.org
Wed May 30 00:01:56 PDT 2012
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 5602be2..344f413 100755
--- a/configure
+++ b/configure
@@ -360,6 +360,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"
@@ -649,7 +653,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
--
1.7.10.2
More information about the notmuch
mailing list