aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog4
-rw-r--r--configure.in12
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 005e431352..814eef1948 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2000-04-17 Dan Winship <danw@helixcode.com>
+ * 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.
+
* tests/test-url.c: New program to test CamelURL
2000-04-16 Christopher James Lahey <clahey@helixcode.com>
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)