]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Fixed configure.ac issue with checking for gtest presence.
authorMarcin Siodelski <marcin@isc.org>
Mon, 31 Oct 2016 12:09:06 +0000 (13:09 +0100)
committerMarcin Siodelski <marcin@isc.org>
Mon, 31 Oct 2016 12:09:06 +0000 (13:09 +0100)
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.

configure.ac

index ead7e9f62be7d4c080acc14aca3aaa7c5b9cbc97..6c37ef1827806d4ebd15266c6782bb38585f04b1 100644 (file)
@@ -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 <boost/shared_ptr.hpp>