mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 13:07:50 +00:00
[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.
This commit is contained in:
parent
b10a7ab91b
commit
cac049fc04
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user