Commit 76fa939b authored by Ralph Giles's avatar Ralph Giles

Make use of dot optional in generating documentation.

Different distributions of doxygen have different default
values of HAVE_DOT setting, so we need to pick a specific
setting to avoid 'missing dot' warnings on some platforms.

Doxygen uses it to generate inclusion graphs for our various
header files, which is somewhat useful, but not essential.
We therefore enable dot if it's present (usually through
the parent graphviz package) but disable it if it's not
available, silencing the warning, but not giving uniform
parent 6d062849
......@@ -781,6 +781,7 @@ AC_ARG_ENABLE([doc],
AS_IF([test "$enable_doc" = "yes"], [
AC_CHECK_PROG(HAVE_DOXYGEN, [doxygen], [yes], [no])
AC_CHECK_PROG(HAVE_DOT, [dot], [yes], [no])
......@@ -318,3 +318,18 @@ PREDEFINED = OPUS_EXPORT= \
# Configuration options related to the dot tool
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
# available from the path. This tool is part of Graphviz (see:
#, a graph visualization toolkit from AT&T and Lucent
# Bell Labs.
# Debian defaults to YES here, while Fedora and Homebrew default to NO.
# So we set this based on whether the graphviz package is available at
# configure time.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment