Fixed evaluation of the disable-build-docs argument.
authorTilman Sauerbeck <tilman@code-monkey.de>
Fri, 24 Nov 2006 14:43:39 +0000 (15:43 +0100)
committerJamey Sharp <jamey@minilop.net>
Tue, 28 Nov 2006 05:46:45 +0000 (21:46 -0800)
Now at least enable_build_docs is set correctly.

acinclude.m4

index 186873c..e85ea5a 100644 (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"