Always check for doxygen so that distcheck gets dmx docs

make distcheck wants the built dmx documentation so that users don't
have to install doxygen. This means that even if dmx isn't built, the
docs need to be so that the tarball can include them.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2009-10-22 00:16:12 +09:00
parent 7e92bac5f7
commit 4d333c5121

View File

@ -1853,12 +1853,12 @@ dnl Linux sources in DMX require <linux/keyboard.h>
PKG_CHECK_MODULES([X11EXAMPLES_DEP], [$LIBXEXT x11])
AC_SUBST(X11EXAMPLES_DEP_LIBS)
AC_PATH_PROG(DOXYGEN,doxygen,[not_found])
if test "x$DOXYGEN" = "xnot_found" ; then
AC_MSG_WARN([doxygen not found in $PATH. Cannot build documentation])
fi
AC_SUBST(DOXYGEN)
fi
AC_PATH_PROG(DOXYGEN,doxygen,[not_found])
if test "x$DOXYGEN" = "xnot_found" ; then
AC_MSG_WARN([doxygen not found in $PATH. Cannot build dmx documentation])
fi
AC_SUBST(DOXYGEN)
AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$DOXYGEN" != "xnot_found"])
AM_CONDITIONAL([DMX_BUILD_LNX], [test "x$DMX_BUILD_LNX" = xyes])
AM_CONDITIONAL([DMX_BUILD_USB], [test "x$DMX_BUILD_USB" = xyes])