build: doc: Warn user if html docs will be missing diagrams
PATCH 1/1 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.
--- configure.ac | 4 ++++ 1 file changed, 4 insertions(+)
configure.ac +4 -0
@@ -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
Signature · 1 line
2.17.5
Quoted 7 lines · Duncan Roe
libnetfilter_queueis 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.
Applied, thanks