From ad23f9ad69c6e6538067d7c320f86b28623584e3 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Wed, 1 Dec 2021 11:39:38 +1100 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3