summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Ohly <pohly@src.gnome.org>2008-10-14 16:41:25 +0000
committerPatrick Ohly <pohly@src.gnome.org>2008-10-14 16:41:25 +0000
commit02ee659878b2e1c345ac7ed6d5ba849acff9480e (patch)
treeef94d3d80142fa701ffb71fe68f10f7c126c718a
parent5d4b12a7414841e36a3e0389a16c49ca74e14fce (diff)
downloadevolution-data-server-02ee659878b2e1c345ac7ed6d5ba849acff9480e.tar.gz
#552261: sqlite is now a dependency of libcamel, and only of libcamel
Previously sqlite was listed as dependency of the various other libs, but not of libcamel itself. It was missing in some places, which caused compile errors. In the other places it unnecessarily added libsqlite to the link line. Together with Sri's fix of not exposing the sqlite handle to users of libcamel unnecessarily, this commit fixes #552261. svn path=/trunk/; revision=9668
-rw-r--r--configure.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index a04916154..2d50381c9 100644
--- a/configure.in
+++ b/configure.in
@@ -239,8 +239,7 @@ PKG_CHECK_MODULES(GNOME_PLATFORM,
libglade-2.0 >= libglade_minimum_version
libgnome-2.0 >= libgnome_minimum_version
libxml-2.0 >= libxml_minimum_version
- libsoup-2.4 >= libsoup_minimum_version
- sqlite3 >= sqlite_minimum_version])
+ libsoup-2.4 >= libsoup_minimum_version])
dnl **************************************************
dnl * regex checking
@@ -1462,7 +1461,7 @@ dnl ****************************************
dnl --- libedataserver, libedataserverui, libebackend flags
-E_DATA_SERVER_DEPS="libxml-2.0 libbonobo-2.0 libsoup-2.4 gconf-2.0 $mozilla_nspr sqlite3"
+E_DATA_SERVER_DEPS="libxml-2.0 libbonobo-2.0 libsoup-2.4 gconf-2.0 $mozilla_nspr"
EVO_SET_COMPILE_FLAGS(E_DATA_SERVER, $E_DATA_SERVER_DEPS, $THREADS_CFLAGS $MANUAL_NSPR_CFLAGS, $THREADS_LIBS $MANUAL_NSPR_LIBS)
AC_SUBST(E_DATA_SERVER_CFLAGS)
@@ -1585,7 +1584,7 @@ fi
AM_CONDITIONAL(ENABLE_LARGEFILE, test "x$enable_largefile" = "xyes")
-EVO_SET_COMPILE_FLAGS(CAMEL, $mozilla_nss gio-2.0 sqlite3 gthread-2.0,
+EVO_SET_COMPILE_FLAGS(CAMEL, $mozilla_nss gio-2.0 sqlite3 >= sqlite_minimum_version gthread-2.0,
$THREADS_CFLAGS $KRB4_CFLAGS $KRB5_CFLAGS $MANUAL_NSS_CFLAGS $LARGEFILE_CFLAGS,
-lz $THREADS_LIBS $KRB4_LDFLAGS $KRB5_LDFLAGS $MANUAL_NSS_LIBS)
AC_SUBST(CAMEL_CFLAGS)