From: Adam Dickmeiss Date: Tue, 8 Sep 2015 17:34:28 +0000 (+0200) Subject: Fix boost not found on debian-testing MP-628 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=cbe5631365b3ef5a840942cab5e03a50a665fe07;p=m4-moved-to-github.git Fix boost not found on debian-testing MP-628 --- 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])