diff options
author | David Robillard <d@drobilla.net> | 2008-06-09 18:26:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-06-09 18:26:14 +0000 |
commit | 7dc27891fb8ea417a309ee0af63df84827558fcf (patch) | |
tree | 89ba89f0271c69162e2c9bdf0df25f9c48cf92f1 | |
parent | c9b3b63485bd5643376160f49aaa07ca26777b5d (diff) | |
download | lilv-7dc27891fb8ea417a309ee0af63df84827558fcf.tar.gz lilv-7dc27891fb8ea417a309ee0af63df84827558fcf.tar.bz2 lilv-7dc27891fb8ea417a309ee0af63df84827558fcf.zip |
Fix documentation building.
git-svn-id: http://svn.drobilla.net/lad/slv2@1251 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | configure.ac | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 6cc7b82..f916a55 100644 --- a/configure.ac +++ b/configure.ac @@ -180,10 +180,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"]) |