2013-09-26 17:14:40 +02:00

17 lines
478 B
Plaintext

$NetBSD: patch-ab,v 1.3 2012/12/25 21:04:32 joerg Exp $
--- configure.orig 2006-12-24 18:45:07.000000000 +0000
+++ configure
@@ -21508,7 +21508,10 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
fi
- if test $LIBXML2_VERSION -ge 2616; then
+ good_libxml2=no
+ case "$LIBXML2_VERSION" in 27*|28*|29*) good_libxml2=yes;; esac
+ test $LIBXML2_VERSION -ge 2616 && good_libxml2=yes
+ if test $good_libxml2 = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBXML2 1
_ACEOF