[PATCH 2/2] configure.ac: check for boost/config.hpp header

Neels Hofmeyr nhofmeyr at sysmocom.de
Tue Jul 5 11:00:18 UTC 2016


From: Neels Hofmeyr <neels at hofmeyr.de>

---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index ad6bf9a..7e394c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -120,6 +120,9 @@ AM_CONDITIONAL(ARCH_ARM_A15, [test "x$with_neon_vfpv4" = "xyes"])
 
 PKG_CHECK_MODULES(LIBUSB, libusb-1.0)
 
+AC_CHECK_HEADER([boost/config.hpp],[],
+    [AC_MSG_ERROR([boost/config.hpp not found, install e.g. libboost-dev])])
+
 dnl Output files
 AC_CONFIG_FILES([\
     Makefile \
-- 
2.1.4



More information about the OpenBSC mailing list