bind: add support for building bind with libxml2 or libjson

At least one of libjson|libxml2 is required for bind
statistics to function.

Selecting libjson|libxml2 will result in an additional
dependency required to build and install bind-libs.

Signed-off-by: Hal Martin <hal.martin@gmail.com>
This commit is contained in:
Hal Martin
2017-11-20 22:51:27 +00:00
parent 1b8d8770ff
commit 66231b6d24
2 changed files with 53 additions and 4 deletions
+20
View File
@@ -14,4 +14,24 @@ config BIND_ENABLE_FILTER_AAAA
Additional details are available at
https://kb.isc.org/article/AA-00576/0/Filter-AAAA-option-in-BIND-9-.html
config BIND_LIBJSON
bool
default n
prompt "Include libjson support in bind-server"
help
BIND 9 supports reporting statistics about usage. libjson
is required to report server statistics in JSON format.
Building with libjson support will require the libjson-c
package to be installed as well.
config BIND_LIBXML2
bool
default n
prompt "Include libxml2 support in bind-server"
help
BIND 9 supports reporting statistics about usage.
libxml2 is required to report server statistics in XML
format. Building with libjson support will require the
libxml2 package to be installed as well.
endif