summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorbothameister <bothameister@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-06 22:22:11 +0000
committerbothameister <bothameister@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-06 22:22:11 +0000
commitaf33f7abb930c04c57f1422d14f976198cec6325 (patch)
tree8a2fa079725131b052607ca7c21b4ee1e1166a5d /configure.ac
parentdcf1b87a63cb9e38cd4f64f8148793ec7fd96cd8 (diff)
added autoconf calls for boost multithreading
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@169 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e6119f29..5f45cdeb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,9 +9,10 @@ AC_LANG_CPLUSPLUS
BOOST_REQUIRE
BOOST_PROGRAM_OPTIONS
BOOST_REGEX
+BOOST_THREADS
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
-LDFLAGS="$LDFLAGS $BOOST_PROGRAM_OPTIONS_LDFLAGS $BOOST_REGEX_LDFLAGS"
-LIBS="$LIBS $BOOST_PROGRAM_OPTIONS_LIBS $BOOST_REGEX_LIBS"
+LDFLAGS="$LDFLAGS $BOOST_PROGRAM_OPTIONS_LDFLAGS $BOOST_REGEX_LDFLAGS $BOOST_THREAD_LDFLAGS"
+LIBS="$LIBS $BOOST_PROGRAM_OPTIONS_LIBS $BOOST_REGEX_LIBS $BOOST_THREAD_LIBS"
AC_CHECK_HEADER(boost/math/special_functions/digamma.hpp,
[AC_DEFINE([HAVE_BOOST_DIGAMMA], [], [flag for boost::math::digamma])])