Fixed evaluation of the disable-build-docs argument.

Now at least enable_build_docs is set correctly.
This commit is contained in:
Tilman Sauerbeck 2006-11-24 15:43:39 +01:00 committed by Jamey Sharp
parent 19dfaf93ac
commit 2e8e6debac

View File

@ -44,7 +44,7 @@ AC_DEFUN([AM_CHECK_DOXYGEN],
AC_HELP_STRING(
[--disable-build-docs],
[Disable the build of the documentation]),
[if test "${disable_build_docs}" = "yes" ; then
[if test x"$enableval" != x"yes" ; then
enable_build_docs="no"
else
enable_build_docs="yes"