Fixes #2498
Obsoletes #2509
PDNS_CHECK_LINKCHECKER
dnl Checks for library functions.
-AC_CHECK_FUNCS_ONCE([strcasestr localtime_r])
+AC_CHECK_FUNCS_ONCE([strcasestr localtime_r recvmmsg])
+
+AM_CONDITIONAL([HAVE_RECVMMSG], [test "x$ac_cv_func_recvmmsg" = "xyes"])
AS_IF([test "x$lt_cv_dlopen" = "xno"],
[AC_MSG_ERROR([Your system does not support dlopen])]
if TOOLS
bin_PROGRAMS += \
- calidns\
dnsbulktest \
dnsgram \
dnsreplay \
nproxy \
nsec3dig \
saxfr
+
+if HAVE_RECVMMSG
+bin_PROGRAMS += calidns
+endif
+
endif
EXTRA_PROGRAMS = \