Check for Boost thread/unit. It is no longer handled by ID_BOOST.
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 21 Apr 2008 09:30:07 +0000 (11:30 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 21 Apr 2008 09:30:07 +0000 (11:30 +0200)
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])