r23540 - gnucash-docs/trunk - Check for availability of xmllint

Geert Janssens gjanssens at code.gnucash.org
Wed Dec 11 10:06:15 EST 2013


Author: gjanssens
Date: 2013-12-11 10:06:15 -0500 (Wed, 11 Dec 2013)
New Revision: 23540
Trac: http://svn.gnucash.org/trac/changeset/23540

Modified:
   gnucash-docs/trunk/configure.ac
Log:
Check for availability of xmllint

Modified: gnucash-docs/trunk/configure.ac
===================================================================
--- gnucash-docs/trunk/configure.ac	2013-12-11 14:45:40 UTC (rev 23539)
+++ gnucash-docs/trunk/configure.ac	2013-12-11 15:06:15 UTC (rev 23540)
@@ -34,11 +34,17 @@
 
 dnl
 dnl Check for xsltproc
+dnl Some distributions package it separately of libxslt
 dnl
 AC_PATH_PROG(XSLTPROC, xsltproc)
 if test -z "$XSLTPROC"; then
-  AC_MSG_ERROR([xsltproc not found, perhaps you should install the libxslt package ?])
+  AC_MSG_ERROR([xsltproc not found, perhaps you should install the xsltproc or libxslt package ?])
 fi
+dnl Same for xmllint
+AC_PATH_PROG(XMLLINT, xmllint, [""])
+if test -z "$XMLLINT"; then
+  AC_MSG_ERROR([xmllint not found, perhaps you should install the xmllint or libxslt package ?])
+fi
 
 dnl
 dnl Check for optional fop



More information about the gnucash-changes mailing list