summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2021-12-01 11:39:38 +1100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-12-16 00:24:28 +0100
commitad23f9ad69c6e6538067d7c320f86b28623584e3 (patch)
tree89c248bf2b0dcd03ec20d7fcc57332aee6bc5137
parentf8ead35fed0b0f5c72d78ee66fdc1e87f643fdb0 (diff)
build: doc: Warn user if html docs will be missing diagrams
libnetfilter_queue is unique among the netfilter libraries in having a module hierarchy. If 'dot' is available, Doxygen will make an interactive diagram for a module with a child or a parent, allowing users to conveniently move up and down the hierarchy. Update configure to output a warning if 'dot' is not installed and html was requested. Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 416d58b..f279bcf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,6 +64,10 @@ AS_IF([test "x$DOXYGEN" = x], [
enable_html_doc=no
enable_man_pages=no
])
+], [
+ dnl Warn user if html docs will be missing diagrams
+ AS_IF([test "$enable_html_doc" = yes -a -z "$DOT"],
+ AC_MSG_WARN([Dot not found - install graphviz to get interactive diagrams in HTML]))
])
dnl Output the makefiles