CAN_BUILD_COMMENTS=yes
-AC_PATH_PROG([IMAGEMAGICK], [convert], [])
-if test "x$IMAGEMAGICK" = "x"; then
- AC_MSG_WARN([ImageMagick does not seem to be installed. Documentation cannot be built])
- CAN_BUILD_COMMENTS=no
-fi
-
AC_PATH_PROG([XSLTPROC], [xsltproc], [])
if test "x$XSLTPROC" = "x"; then
AC_MSG_WARN([xsltproc is not installed so documentation cannot be built])
CAN_BUILD_COMMENTS=no
fi
-AC_PATH_PROG([XMLLINT], [xmllint], [])
-if test "x$XMLLINT" = "x"; then
- AC_MSG_WARN([xmllint is not installed so documentation cannot be checked])
- CAN_BUILD_COMMENTS=no
-fi
-
CAN_BUILD_PDF=${CAN_BUILD_COMMENTS}
+AC_PATH_PROG([IMAGEMAGICK], [convert], [])
+if test "x$IMAGEMAGICK" = "x"; then
+ AC_MSG_WARN([ImageMagick does not seem to be installed. Documentation cannot be built])
+ CAN_BUILD_PDF=no
+fi
+
AC_PATH_PROG([DBLATEX], [dblatex], [])
if test "x$DBLATEX" = "x"; then
AC_MSG_WARN([dblatex is not installed so PDF documentation cannot be built])
AC_SUBST(CAN_BUILD_COMMENTS)
AC_SUBST(CAN_BUILD_PDF)
+AC_PATH_PROG([XMLLINT], [xmllint], [])
+if test "x$XMLLINT" = "x"; then
+ AC_MSG_WARN([xmllint is not installed so documentation cannot be checked])
+fi
+
+
dnl
dnl Allow the user to specify the location of the html/docbook.xsl stylesheet
dnl