--- 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