From cbe5631365b3ef5a840942cab5e03a50a665fe07 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 8 Sep 2015 19:34:28 +0200 Subject: [PATCH] Fix boost not found on debian-testing MP-628 --- boost.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boost.m4 b/boost.m4 index e73b7af..b0519da 100644 --- a/boost.m4 +++ b/boost.m4 @@ -54,9 +54,9 @@ AC_DEFUN([ID_BOOST], AC_LANG_CONFTEST( [AC_LANG_SOURCE([[ #include -version_is:BOOST_VERSION +BOOST_VERSION ]])]) - BOOST_GOT_VERSION=`(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | $EGREP version_is 2>/dev/null | cut -d ":" -f2` + BOOST_GOT_VERSION=`(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | grep -v '#' | grep -v '^$' 2>/dev/null` if test -z "$BOOST_GOT_VERSION" -o \ "$BOOST_GOT_VERSION" = "BOOST_VERSION"; then AC_MSG_RESULT([no]) -- 1.7.10.4