summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-06-09 18:26:14 +0000
committerDavid Robillard <d@drobilla.net>2008-06-09 18:26:14 +0000
commit2f7de4c6607ce43466d5b2e63fd89dae129e9ce8 (patch)
treedf117a9fc17c9074d3b2b12f2041469d27058fcf
parentab3fb78ef031bec55b2ffc1ef353e6a812d4d35b (diff)
downloadraul-2f7de4c6607ce43466d5b2e63fd89dae129e9ce8.tar.gz
raul-2f7de4c6607ce43466d5b2e63fd89dae129e9ce8.tar.bz2
raul-2f7de4c6607ce43466d5b2e63fd89dae129e9ce8.zip
Fix documentation building.
git-svn-id: http://svn.drobilla.net/lad/raul@1251 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--configure.ac10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 7753507..e85cbc6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,10 +163,12 @@ build_documentation="yes"
AC_ARG_ENABLE(documentation,
[AS_HELP_STRING(--enable-documentation, [Build documentation (no)])],
[build_documentation="$enableval"])
-AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
-if test $HAVE_DOXYGEN = "false"; then
- AC_MSG_WARN([*** Doxygen not found, API documentation will not be built])
- build_documentation="no"
+if test "$build_documentation" = "yes"; then
+ AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
+ if test $HAVE_DOXYGEN = "false"; then
+ AC_MSG_WARN([*** Doxygen not found, API documentation will not be built])
+ build_documentation="no"
+ fi
fi
AM_CONDITIONAL(HAVE_DOXYGEN, [test "x$build_documentation" = "xyes"])