AS_HELP_STRING([--disable-documentation], [Don't build Knot DNS documentation]), [], [enable_documentation=yes])
AM_CONDITIONAL([HAVE_DOCS], [test "$enable_documentation" = "yes"])
+AM_CONDITIONAL([HAVE_LIBUTILS], test "$enable_utilities" != "no" -o \
+ "$enable_daemon" != "no")
######################
# Generic dependencies
######################
+if HAVE_LIBUTILS
noinst_LTLIBRARIES += libknotus.la
libknotus_la_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAG_VISIBILITY) $(libidn2_LIBS) \
utils/common/tls.h \
utils/common/token.c \
utils/common/token.h
+endif HAVE_LIBUTILS
if HAVE_UTILS
bin_PROGRAMS = kdig khost knsec3hash knsupdate