aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-18 04:10:12 +0800
committerDan Winship <danw@src.gnome.org>2000-04-18 04:10:12 +0800
commitc52986db9777f0da353908c57e2c8a3e16204448 (patch)
tree6569c450c41e8a10928dfe9a0ec25135906bc097 /configure.in
parent4f686ae899ee11715d0f7e8a9447dbee404ab857 (diff)
downloadgsoc2013-evolution-c52986db9777f0da353908c57e2c8a3e16204448.tar.gz
gsoc2013-evolution-c52986db9777f0da353908c57e2c8a3e16204448.tar.zst
gsoc2013-evolution-c52986db9777f0da353908c57e2c8a3e16204448.zip
Require gnome-xml 1.8.7 (or later, but not 2.0). xmlParseMemory's behavior
* configure.in (xmlpatch): Require gnome-xml 1.8.7 (or later, but not 2.0). xmlParseMemory's behavior in 1.8.7 is incompatible with its behavior in 1.8.6 and earlier. svn path=/trunk/; revision=2478
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index d39d3e011e..fd95d5e2e8 100644
--- a/configure.in
+++ b/configure.in
@@ -302,6 +302,18 @@ dnl ******************************
GNOME_PILOT_CHECK
+dnl ******
+dnl XML
+dnl ******
+GNOME_XML_CHECK
+xmlversion=`xml-config --version`
+xmlmajor=`echo $xmlversion | awk -F. '{print $1;}'`
+xmlminor=`echo $xmlversion | awk -F. '{print $2;}'`
+xmlpatch=`echo $xmlversion | awk -F. '{print $3;}'`
+if test "$xmlmajor" -ne 1 -o "$xmlminor" -ne 8 -o "$xmlpatch" -lt 7; then
+ AC_MSG_ERROR(gnome-xml 1.8.7 (or later, but not 2.0) is required to compile Evolution)
+fi
+
AC_ARG_WITH(camel-hard-log-level, [ --with-camel-hard-log-level=level value of log level in camel (0-10)],
camel_hard_log_level="$withval", camel_hard_log_level="0")
AC_DEFINE_UNQUOTED(CAMEL_HARD_LOG_LEVEL, $camel_hard_log_level)