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

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

Details

Message ID 1467113421-24000-2-git-send-email-nhofmeyr@sysmocom.de
State New
Headers show

Commit Message

Neels Hofmeyr June 28, 2016, 11:30 a.m.
From: Neels Hofmeyr <neels@hofmeyr.de>

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

Comments

Neels Hofmeyr June 28, 2016, 11:40 a.m.
On Tue, Jun 28, 2016 at 01:30:21PM +0200, Neels Hofmeyr wrote:
> +    [AC_MSG_ERROR([boost/config.hpp not found, install e.g. libboost-all-dev])])

rather make this libboost-dev, will resend for convenience.
libboost-all-dev also brings in python-dev with hundreds of megabytes, all
just to have boost/shared_ptr.hpp.

~Neels
Neels Hofmeyr June 28, 2016, 12:19 p.m.
And to clarify, these are for osmo-trx, which might not be obvious.

~Neels

Patch hide | download patch | download mbox

diff --git a/configure.ac b/configure.ac
index 6c6ca2e..06423b8 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-all-dev])])
+
 dnl Output files
 AC_CONFIG_FILES([\
     Makefile \