Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2016-10-27 20:23:29 +0300
committerRalph Giles <giles@thaumas.net>2016-10-27 20:53:27 +0300
commit76fa939bde92a868c2a7e51018b79e56d1484285 (patch)
tree44a3d919f466773403432c673d1265f4535105e0 /configure.ac
parent6d0628493550f4ef0eaecf3058a502404bc6dca2 (diff)
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 results.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8bf02372..71310087 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
],[
HAVE_DOXYGEN=no
])