AM_SILENT_RULES([yes])
AC_CANONICAL_HOST
-: ${CFLAGS="-Wall -g -O2"}
-: ${CXXFLAGS="-Wall -g -O2"}
+# Add some default CFLAGS and CXXFLAGS, can be appended to using the environment variables
+CFLAGS="-Wall -g -O2 $CFLAGS"
+CXXFLAGS="-Wall -g -O2 $CXXFLAGS"
AC_PROG_CC
AM_PROG_CC_C_O
PDNS_CHECK_RAGEL([pdns/dnslabeltext.cc], [www.powerdns.com])
PDNS_CHECK_CLOCK_GETTIME
-BOOST_REQUIRE([1.35])
+BOOST_REQUIRE([1.42])
# Boost accumulators, as used by dnsbulktest and dnstcpbench, need 1.48+
# to be compatible with C++11
AM_CONDITIONAL([HAVE_BOOST_GE_148], [test "$boost_major_version" -ge 148])
godbc)
PDNS_WITH_UNIXODBC
;;
- mydns|gmysql|pdns)
+ mydns|gmysql)
PDNS_WITH_MYSQL
;;
gpgsql)
[AC_MSG_ERROR([${a} backend needs lua but we cannot find it])]
)
;;
+ lmdb)
+ PDNS_CHECK_LMDB
+ BOOST_SERIALIZATION
+ ;;
esac
done
done
AX_AVAILABLE_SYSTEMD
+AX_CHECK_SYSTEMD_FEATURES
AM_CONDITIONAL([HAVE_SYSTEMD], [ test x"$systemd" = "xy" ])
LDFLAGS="$RELRO_LDFLAGS $LDFLAGS"
AC_SUBST([YAHTTP_CFLAGS], ['-I$(top_srcdir)/ext/yahttp'])
AC_SUBST([YAHTTP_LIBS], ['$(top_builddir)/ext/yahttp/yahttp/libyahttp.la'])
+AC_SUBST([IPCRYPT_CFLAGS], ['-I$(top_srcdir)/ext/ipcrypt'])
+AC_SUBST([IPCRYPT_LIBS], ['$(top_builddir)/ext/ipcrypt/libipcrypt.la'])
CXXFLAGS="$SANITIZER_FLAGS $CXXFLAGS"
docs/Makefile
pdns/pdns.init
ext/Makefile
+ ext/ipcrypt/Makefile
ext/yahttp/Makefile
ext/yahttp/yahttp/Makefile
ext/json11/Makefile
modules/gpgsqlbackend/Makefile
modules/gsqlite3backend/Makefile
modules/ldapbackend/Makefile
+ modules/lmdbbackend/Makefile
modules/luabackend/Makefile
modules/lua2backend/Makefile
modules/mydnsbackend/Makefile