configure.ac: check for boost/config.hpp header

Submitted by Neels Hofmeyr on June 28, 2016, 11:40 a.m.

Details

Message ID 1467114043-26961-1-git-send-email-nhofmeyr@sysmocom.de
State New
Headers show

Commit Message

Neels Hofmeyr June 28, 2016, 11:40 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 6c6ca2e..c4db4d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,6 +119,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 \