summaryrefslogtreecommitdiff
path: root/textproc/xmlstarlet/files/patch-configure
blob: 8624bc7a9eaa55d800b1213b7e033513eaaf31d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.orig	Wed Jul  7 05:36:27 2004
+++ configure	Wed Jul  7 05:37:12 2004
@@ -896,7 +896,7 @@
 
 if test "x$LIBXML_SRC" = "x"
 then
-	LIBXML_VERSION=`$LIBXML_PREFIX/bin/xml2-config --version | sed -e 's/\.//g' -e 's/^\(.\{3\}\).*/\1/'`
+	LIBXML_VERSION=`$LIBXML_PREFIX/bin/xml2-config --version | sed -e 's/\.//g' -e 's/^\(.\{3,4\}\).*/\1/'`
 	if test "$LIBXML_VERSION" -lt 262; then
         	{ echo "configure: error: xmlstarlet needs at least libxml2 version 2.6.2 (http://www.xmlsoft.org/)" 1>&2; exit 1; }
 	fi