Commit d5d4e757 authored by Daniel Salzman's avatar Daniel Salzman

configure: add --disable-modules option

parent a151d62f
......@@ -70,6 +70,10 @@ AC_ARG_ENABLE([daemon],
AS_HELP_STRING([--disable-daemon], [Don't build Knot DNS main daemon]), [], [enable_daemon=yes])
AM_CONDITIONAL([HAVE_DAEMON], [test "$enable_daemon" = "yes"])
# Build Knot DNS modules
AS_HELP_STRING([--disable-modules], [Don't build Knot DNS modules]), [], [enable_modules=yes])
# Build Knot DNS utilities
AS_HELP_STRING([--disable-utilities], [Don't build Knot DNS utilities]), [], [enable_utilities=yes])
......@@ -7,7 +7,10 @@ AC_DEFUN([KNOT_MODULE],
AS_HELP_STRING([--with-module-$1=yes|shared|no], [Build '$1' module [default=$2]]),
AS_IF([test "$enable_modules" = "no"],
doc_modules="${doc_modules}.. include:: modules/$1/$1.rst\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment