[yelp-tools] configure.ac: Check for itstool



commit ed24f490abd02c22833817a80793262315496a41
Author: Shaun McCance <shaunm gnome org>
Date:   Sat Jul 9 14:02:16 2011 -0400

    configure.ac: Check for itstool

 configure.ac |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 10d7e8e..27519b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,12 @@ if [ `$XSLTPROC --version 2>&1 | head -n1 | cut -d' ' -f5` -lt 10108 ]; then
    AC_MSG_ERROR([xsltproc too old; 1.1.8 required])
 fi
 
-PKG_CHECK_MODULES(GNOME_DOC_UTILS,
+AC_CHECK_PROG(ITSTOOL, itstool, itstool)
+if test x"$ITSTOOL" = x; then
+  AC_MSG_ERROR([itstool not found])
+fi
+
+PKG_CHECK_MODULES(YELP_XSL,
 [
 	yelp-xsl
 ])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]