From: Marcin Siodelski Date: Mon, 31 Oct 2016 12:09:06 +0000 (+0100) Subject: [master] Fixed configure.ac issue with checking for gtest presence. X-Git-Tag: trac5060_base~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cac049fc04914a52e88a2247a6afaab272aef09d;p=thirdparty%2Fkea.git [master] Fixed configure.ac issue with checking for gtest presence. The test requires that the boost headers are included, otherwise the test reports that gtest doesn't support XXX_TRUE() macros. This change was okayed on jabber. --- diff --git a/configure.ac b/configure.ac index ead7e9f62b..6c37ef1827 100644 --- a/configure.ac +++ b/configure.ac @@ -1278,7 +1278,7 @@ AC_SUBST(GTEST_SOURCE) if test $enable_gtest != "no"; then AC_MSG_CHECKING([if Google Test is compatible with the compiler]) CPPFLAGS_SAVED=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $GTEST_INCLUDES" + CPPFLAGS="$CPPFLAGS $BOOST_INCLUDES $GTEST_INCLUDES" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [#include