configure: require boost.thread v2
This commit is contained in:
11
configure.in
11
configure.in
@@ -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])
|
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 ==============================
|
||||||
dnl = checking for regex (win32) =
|
dnl = checking for regex (win32) =
|
||||||
dnl ==============================
|
dnl ==============================
|
||||||
|
|||||||
Reference in New Issue
Block a user