[Define _GNU_SOURCE so that we get all necessary prototypes]
)
+PDNS_WITH_LUA
AX_CXX_COMPILE_STDCXX_11(,optional)
AM_CONDITIONAL([CXX2011],[test "$HAVE_CXX11" = "1"])
AC_ARG_ENABLE([hardening], [
PDNS_CHECK_RAGEL
-PDNS_WITH_LUA
-
BOOST_REQUIRE([1.35])
BOOST_FOREACH
BOOST_PROGRAM_OPTIONS([mt])
AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch,
$cachevar,
[ac_save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS $switch"
+ CXXFLAGS="$LUA_CFLAGS $CXXFLAGS $switch"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])],
[eval $cachevar=yes],
[eval $cachevar=no])
AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch,
$cachevar,
[ac_save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS $switch"
+ CXXFLAGS="$CXXFLAGS $LUA_CFLAGS $switch"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])],
[eval $cachevar=yes],
[eval $cachevar=no])