From 4d333c5121818754356853724333eadec2dcd18c Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 22 Oct 2009 00:16:12 +0900 Subject: [PATCH] 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 --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index e7e081213..84ee7b667 100644 --- a/configure.ac +++ b/configure.ac @@ -1853,12 +1853,12 @@ dnl Linux sources in DMX require 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])