From: Adam Dickmeiss Date: Fri, 7 Oct 2005 11:41:44 +0000 (+0000) Subject: Fail if libboost_thread does not exist X-Git-Tag: YP2.0.0.2~249 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=dbcb1ba16ddcc3fe6187371fffc1d47115db4bbb;p=metaproxy-moved-to-github.git Fail if libboost_thread does not exist --- diff --git a/configure.ac b/configure.ac index c74582f..50e8a78 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,13 @@ AC_LANG(C++) # Checks for libraries. ##AC_CHECK_LIB(ibrary, main) -AC_CHECK_LIB(boost_thread, main) +AC_CHECK_LIB(boost_thread, main, [],[ + AC_MSG_ERROR([boost thread library not found. Install libboost-thread-dev (or similar)]) +]) + +## AC_CHECK_LIB(boost_unit_test_framework, [], [],[ +## AC_MSG_ERROR([boost unit test library not found. Install libboost-test-dev (or similar)]) +## ]) ## YAZPP checks YAZPP_INIT(threads,1.0)