[yelp-tools] Fix "command not found" configure script messages
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-tools] Fix "command not found" configure script messages
- Date: Tue, 27 Mar 2012 12:48:01 +0000 (UTC)
commit 6eb40fe53039c1adf78d3cdf3d29df939dcde45b
Author: Edward Sheldrake <ejsheldrake gmail com>
Date: Tue Mar 27 13:27:11 2012 +0100
Fix "command not found" configure script messages
checking for xmllint... xmllint
./configure: line 2318: 20708: command not found
checking for xsltproc... xsltproc
./configure: line 2362: 10126: command not found
Fixes the version checks for the xmllint and xsltproc commands.
https://bugzilla.gnome.org/show_bug.cgi?id=672908
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5b6072d..531cbb8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ AC_CHECK_PROG(XMLLINT, xmllint, xmllint)
if test x"$XMLLINT" = x; then
AC_MSG_ERROR([xmllint not found])
fi
-if [ `$XMLLINT --version 2>&1 | head -n1 | cut -d' ' -f5` -lt 20612 ]; then
+if test `$XMLLINT --version 2>&1 | head -n1 | cut -d' ' -f5` -lt 20612 ; then
AC_MSG_ERROR([xmllint too old; 2.6.12 required])
fi
@@ -28,7 +28,7 @@ AC_CHECK_PROG(XSLTPROC, xsltproc, xsltproc)
if test x"$XSLTPROC" = x; then
AC_MSG_ERROR([xsltproc not found])
fi
-if [ `$XSLTPROC --version 2>&1 | head -n1 | cut -d' ' -f5` -lt 10108 ]; then
+if test `$XSLTPROC --version 2>&1 | head -n1 | cut -d' ' -f5` -lt 10108 ; then
AC_MSG_ERROR([xsltproc too old; 1.1.8 required])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]