* [PATCH libnetfilter_queue] build: doc: Warn user if html docs will be missing diagrams
@ 2021-12-01 0:39 Duncan Roe
2021-12-15 23:27 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Duncan Roe @ 2021-12-01 0:39 UTC (permalink / raw)
To: pablo; +Cc: netfilter-devel
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>
---
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
--
2.17.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-15 23:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-01 0:39 [PATCH libnetfilter_queue] build: doc: Warn user if html docs will be missing diagrams Duncan Roe
2021-12-15 23:27 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.