diff options
author | Edward Sheldrake <ejsheldrake@gmail.com> | 2012-03-27 13:27:11 +0100 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2012-03-27 08:47:32 -0400 |
commit | 6eb40fe53039c1adf78d3cdf3d29df939dcde45b (patch) | |
tree | 1ced716e4561b86891b9fbd28baa95a558fb7daf | |
parent | 13a179762334c49d2d50abc245cd27aec45ae919 (diff) | |
download | yelp-tools-6eb40fe53039c1adf78d3cdf3d29df939dcde45b.tar.gz |
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
-rw-r--r-- | 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 |