AC_DEFINE(HAVE_BOTAN18,1,[If we have botan 1.8])
fi
+if test "x$enable_cryptopp" = "xyes"
+then
+ AC_DEFINE(HAVE_CRYPTOPP,1,[If we have cryptopp])
+fi
+
AC_ARG_ENABLE(remotebackend_http, AC_HELP_STRING([--enable-remotebackend-http],[enable HTTP connector for remotebackend]),[enable_remotebackend_http=yes], [enable_remotebackend_http=no])
AC_MSG_CHECKING(whether to enable http connector in remotebackend)
AC_MSG_RESULT($enable_remotebackend_http)
AC_SUBST(moduledirs)
AC_SUBST(moduleobjects)
AC_SUBST(modulelibs)
+AC_DEFINE_UNQUOTED(PDNS_MODULES,"$modules", [Built-in modules])
AC_MSG_CHECKING(whether we will be building the server)
AC_ARG_ENABLE(pdns-server,
"according to the terms of the GPL version 2." << endl;
}
+void showBuildConfiguration()
+{
+ theL()<<Logger::Warning<<"Features: "<<
+#ifdef HAVE_BOTAN110
+ "botan1.10 " <<
+#endif
+#ifdef HAVE_BOTAN18
+ "botan1.8" <<
+#endif
+#ifdef HAVE_CRYPTOPP
+ "cryptopp " <<
+#endif
+#ifdef HAVE_LIBDL
+ "libdl " <<
+#endif
+#ifdef HAVE_LUA
+ "lua " <<
+#endif
+#ifdef REMOTEBACKEND_HTTP
+ "remotebackend-http" <<
+#endif
+#ifdef VERBOSELOG
+ "verboselog" <<
+#endif
+ endl;
+#ifdef PDNS_MODULES
+ // Auth only
+ theL()<<Logger::Warning<<"Built-in modules: "<<PDNS_MODULES<<endl;
+#endif
+}
+
string fullVersionString()
{
ostringstream s;
string compilerVersion();
void showProductVersion();
+void showBuildConfiguration();
string fullVersionString();
void versionSetProduct(string product);