diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-11-24 15:48:08 +0100 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-11-27 21:46:45 -0800 |
commit | f486075fa093846c3f32b3e4b9624c039ea26ba4 (patch) | |
tree | 5951d09c3957f6b7ac42ad04dca768550787cf22 | |
parent | 2e8e6debac39864450c0a69633086ad92459c25e (diff) |
If enable_build_docs is "no", we don't even try to look for doxygen.
Also set BUILD_DOCS in that branch. Now the disable-build-docs works
as expected.
-rw-r--r-- | acinclude.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index e85ea5a..8b240ad 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -50,6 +50,10 @@ AC_DEFUN([AM_CHECK_DOXYGEN], enable_build_docs="yes" fi], [enable_build_docs="yes"]) + + if test "$enable_build_docs" = "no" ; then + BUILD_DOCS=no + else dnl dnl Get the prefix where doxygen is installed. dnl @@ -93,6 +97,7 @@ AC_DEFUN([AM_CHECK_DOXYGEN], AC_MSG_WARN( [Warning: no doxygen detected. Documentation will not be built]) fi]) + fi AC_MSG_CHECKING([whether documentation is built]) AC_MSG_RESULT([${BUILD_DOCS}]) dnl |