]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - configure.ac
Merge pull request #8141 from rgacogne/dnsdist-ocsp
[thirdparty/pdns.git] / configure.ac
index 1c00fff9756336949b49656bffb9098010cf281d..22fdd6a326c459230555781dca8f083b8e190bb9 100644 (file)
@@ -130,7 +130,7 @@ PDNS_CHECK_VIRTUALENV
 PDNS_FROM_GIT
 
 dnl Checks for library functions.
-AC_CHECK_FUNCS_ONCE([strcasestr localtime_r recvmmsg getrandom arc4random])
+AC_CHECK_FUNCS_ONCE([strcasestr localtime_r recvmmsg sched_setscheduler getrandom arc4random])
 
 AM_CONDITIONAL([HAVE_RECVMMSG], [test "x$ac_cv_func_recvmmsg" = "xyes"])
 
@@ -225,15 +225,7 @@ done
 
 PDNS_ENABLE_REMOTEBACKEND_ZEROMQ
 
-AC_MSG_CHECKING([whether we will be building and installing the extra tools])
-AC_ARG_ENABLE([tools],
-  [AS_HELP_STRING([--enable-tools], [if we should build and install the tools @<:@default=no@:>@])],
-  [enable_tools=$enableval],
-  [enable_tools=no]
-)
-
-AC_MSG_RESULT([$enable_tools])
-AM_CONDITIONAL([TOOLS], [test "x$enable_tools" != "xno"])
+PDNS_ENABLE_TOOLS
 PDNS_ENABLE_IXFRDIST
 
 PDNS_WITH_PROTOBUF
@@ -358,8 +350,19 @@ AC_MSG_NOTICE([LDFLAGS: $LDFLAGS])
 AC_MSG_NOTICE([LIBS: $LIBS])
 AC_MSG_NOTICE([BOOST_CPPFLAGS: $BOOST_CPPFLAGS])
 AC_MSG_NOTICE([])
-AC_MSG_NOTICE([Features enabled])
-AC_MSG_NOTICE([----------------])
+AC_MSG_NOTICE([Extras enabled])
+AC_MSG_NOTICE([--------------])
+AS_IF([test "x$enable_tools" = "xyes"],
+  [AC_MSG_NOTICE([Tools: yes])],
+  [AC_MSG_NOTICE([Tools: no])]
+)
+AS_IF([test "x$enable_ixfrdist" = "xyes"],
+  [AC_MSG_NOTICE([ixfrdist: yes])],
+  [AC_MSG_NOTICE([ixfrdist: no])]
+)
+AC_MSG_NOTICE([])
+AC_MSG_NOTICE([Server Features enabled])
+AC_MSG_NOTICE([-----------------------])
 AC_MSG_NOTICE([Built-in modules: $modules])
 AC_MSG_NOTICE([Dynamic modules: $dynmodules])
 AC_MSG_NOTICE([])
@@ -391,6 +394,9 @@ AS_IF([test "x$enable_experimental_pkcs11" = "xyes"],
 AS_IF([test "x$enable_experimental_gss_tsig" = "xyes"],
   [AC_MSG_NOTICE([GSS-TSIG: yes])]
 )
+AS_IF([test "x$enable_lua_records" = "xyes"],
+  [AC_MSG_NOTICE([LUA records: yes])]
+)
 AS_IF([test "x$systemd" != "xn"],
   [AC_MSG_NOTICE([systemd: yes])],
   [AC_MSG_NOTICE([systemd: no])]
@@ -398,4 +404,10 @@ AS_IF([test "x$systemd" != "xn"],
 AS_IF([test "x$enable_remotebackend_zeromq" != "xno"],
   [AC_MSG_NOTICE([ZeroMQ connector for remotebackend: yes])]
 )
+AS_IF([test -n "$GEOIP_LIBS"],
+  [AC_MSG_NOTICE([libgeoip for geoipbackend: yes])]
+)
+AS_IF([test -n "$MMDB_LIBS"],
+  [AC_MSG_NOTICE([libmaxminddb for geoipbackend: yes])]
+)
 AC_MSG_NOTICE([])