Serious bugfix.
1 AC_DEFUN([LX_ENABLE_DOC],
4 AS_HELP_STRING([--enable-doc@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])
5 AS_HELP_STRING([--disable-doc], [do not build the documentation]),
8 AC_MSG_CHECKING([whether to build the documention])
11 DOXYGEN_INTERNAL_DOCS=NO
15 DOXYGEN_INTERNAL_DOCS=YES
19 DOXYGEN_INTERNAL_DOCS=NO
23 AC_MSG_ERROR([bad value $enable_doc for option --enable-doc])
26 AC_SUBST(DOXYGEN_INTERNAL_DOCS)
27 AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"])