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

Submitted by Neels Hofmeyr on July 5, 2016, 11 a.m.

Details

Message ID 1467716418-7551-3-git-send-email-nhofmeyr@sysmocom.de
State New
Headers show

Commit Message

Neels Hofmeyr July 5, 2016, 11 a.m.
From: Neels Hofmeyr <neels@hofmeyr.de>

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

Patch hide | download patch | download mbox

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 \