configure: require boost.thread v2
This commit is contained in:
1 parent
1710f892c5
commit
1731ee2d38
1 file changed
+11
@@ -143,6 +143,17 @@ AC_CHECK_LIB(boost_regex$BOOST_LIB_SUFFIX, main, LDFLAGS="$LDFLAGS -lboost_regex
|
||||
AC_MSG_ERROR([no boost.regex library found])
|
||||
)
|
||||
|
||||
dnl =============================
|
||||
dnl = checking for boost.thread =
|
||||
dnl =============================
|
||||
CPPFLAGS="$CPPFLAGS -DBOOST_THREAD_VERSION=2"
|
||||
AC_CHECK_HEADERS([boost/thread.hpp], ,
|
||||
AC_MSG_ERROR([boost/thread.hpp is missing or your boost version is too old (boost.thread v2 is required)])
|
||||
)
|
||||
AC_CHECK_LIB(boost_thread$BOOST_LIB_SUFFIX, main, LDFLAGS="$LDFLAGS -lboost_thread$BOOST_LIB_SUFFIX",
|
||||
AC_MSG_ERROR([no boost.thread library found])
|
||||
)
|
||||
|
||||
dnl ==============================
|
||||
dnl = checking for regex (win32) =
|
||||
dnl ==============================
|
||||
|
||||
Reference in new issue
Block a user