summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-11-27 14:19:38 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-11-27 14:19:38 +0000
commitc04ad83a0c184fcd311de39371570b9e773a60d0 (patch)
treeedb0103c931adde3211818e714bc681b0dd31750
parent1b24580b06e738f920b33ea68dffd83d953f0bba (diff)
Fixes #312589
Original commit message from CVS: Fixes #312589
-rw-r--r--m4/gst-doc.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/gst-doc.m4 b/m4/gst-doc.m4
index 028df39..a1e3442 100644
--- a/m4/gst-doc.m4
+++ b/m4/gst-doc.m4
@@ -49,6 +49,7 @@ EOF
dnl check for extra tools
AC_CHECK_PROG(HAVE_DVIPS, dvips, yes, no)
+ AC_CHECK_PROG(HAVE_XMLLINT, xmllint, yes, no)
dnl check for image conversion tools
AC_CHECK_PROG(HAVE_FIG2DEV, fig2dev, yes, no)
@@ -87,6 +88,7 @@ EOF
dnl check if we can generate HTML
if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
test "x$enable_docbook" = "xyes" && \
+ test "x$HAVE_XMLLINT" = "xyes" && \
test "x$HAVE_FIG2DEV_PNG" = "xyes"; then
DOC_HTML=yes
AC_MSG_NOTICE(Will output HTML documentation)
@@ -98,6 +100,7 @@ EOF
dnl check if we can generate PS
if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
test "x$enable_docbook" = "xyes" && \
+ test "x$HAVE_XMLLINT" = "xyes" && \
test "x$HAVE_JADETEX" = "xyes" && \
test "x$HAVE_FIG2DEV_EPS" = "xyes" && \
test "x$HAVE_DVIPS" = "xyes" && \
@@ -113,6 +116,7 @@ EOF
dnl check if we can generate PDF - using only ps2pdf
if test "x$DOC_PS" = "xyes" && \
test "x$enable_docbook" = "xyes" && \
+ test "x$HAVE_XMLLINT" = "xyes" && \
test "x$HAVE_PS2PDF" = "xyes"; then
DOC_PDF=yes
AC_MSG_NOTICE(Will output PDF documentation)