Check for Boost thread/unit. It is no longer handled by ID_BOOST.
[metaproxy-moved-to-github.git] / configure.ac
index 84b14f4..64ffe7a 100644 (file)
@@ -44,6 +44,12 @@ YAZ_DOC
 CPPFLAGS="$YAZPPINC $CPPFLAGS"
 
 ID_BOOST([thread test],[1.33])
+if test -z "${BOOST_THREAD_LIB}"; then
+    AC_MSG_ERROR([Boost thread development libraries required])
+fi
+if test -z "${BOOST_TEST_LIB}"; then
+    AC_MSG_ERROR([Boost unit test framework libraries required])
+fi
 
 AC_CHECK_HEADERS([sys/select.h sys/socket.h])