config/lx_enable_doc.m4
changeset 1863 12e0db6b7d0e
parent 1862 d47ebd34e581
child 1864 1788205e36af
     1.1 --- a/config/lx_enable_doc.m4	Sun Dec 18 01:51:03 2005 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,28 +0,0 @@
     1.4 -AC_DEFUN([LX_ENABLE_DOC],
     1.5 -[
     1.6 -  AC_ARG_ENABLE([doc],
     1.7 -AS_HELP_STRING([--enable-doc@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])
     1.8 -AS_HELP_STRING([--disable-doc], [do not build the documentation]),
     1.9 -         [], [enable_doc=yes])
    1.10 -
    1.11 -  AC_MSG_CHECKING([whether to build the documention])
    1.12 -  case "$enable_doc" in
    1.13 -    yes)
    1.14 -      DOXYGEN_INTERNAL_DOCS=NO
    1.15 -      AC_MSG_RESULT([yes])
    1.16 -      ;;
    1.17 -    full)
    1.18 -      DOXYGEN_INTERNAL_DOCS=YES
    1.19 -      AC_MSG_RESULT([full])
    1.20 -      ;;
    1.21 -    no)
    1.22 -      DOXYGEN_INTERNAL_DOCS=NO
    1.23 -      AC_MSG_RESULT([no])
    1.24 -      ;;
    1.25 -    *)
    1.26 -      AC_MSG_ERROR([bad value $enable_doc for option --enable-doc])
    1.27 -      ;;
    1.28 -  esac
    1.29 -  AC_SUBST(DOXYGEN_INTERNAL_DOCS)
    1.30 -  AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"])
    1.31 -])