Module: check_mk
Branch: master
Commit: 9ab4796a79b65f00f32909f4df21517256e48ecb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9ab4796a79b65f…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Jun 29 11:00:07 2017 +0200
Abort configure when the right Boost libraries are not found.
Change-Id: I2de69f699620e20a0963005f2f9013de15779a24
---
configure.ac | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 22dbe24..a566a81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,8 +85,11 @@ AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdint.h stdlib.h
string.h strings.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h])
# Checks for C++ features
-AX_BOOST_BASE
+AX_BOOST_BASE(,,AC_MSG_ERROR([Boost library not found or too old]))
AX_BOOST_ASIO
+if test "x$ax_cv_boost_asio" = xno; then
+ AC_MSG_ERROR([Boost::ASIO library not found])
+fi
AC_LANG_PUSH([C++])