From dbcb1ba16ddcc3fe6187371fffc1d47115db4bbb Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 7 Oct 2005 11:41:44 +0000 Subject: [PATCH] Fail if libboost_thread does not exist --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) -- 1.7.10.4