summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-01-18 08:56:51 +0000
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-01-18 10:24:48 +0000
commit3f42c9a47510557b718f5c5e162f3bb34032e1fe (patch)
tree587a34f6b6ae9d3c8f63a67519fdb8bc2697a5da /configure.ac
parentac5467999fd4d202bf69d9d41899fd142f935e24 (diff)
wocky: link to sqlite3
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index d79bf93..b38eb36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,6 +152,13 @@ AC_SUBST(GLIB_GENMARSHAL)
dnl Check for libxml2
PKG_CHECK_MODULES(LIBXML2, [libxml-2.0])
+AC_SUBST(LIBXML2_CFLAGS)
+AC_SUBST(LIBXML2_LIBS)
+
+dnl Check for sqlite
+PKG_CHECK_MODULES(SQLITE, [sqlite3])
+AC_SUBST(SQLITE_CFLAGS)
+AC_SUBST(SQLITE_LIBS)
dnl check for libsasl2 (for sasl test)
dnl must check for headers as well as library (no .pc so can't use pkg-config)
@@ -168,9 +175,6 @@ AC_SUBST(LIBSASL2_LIBS)
AC_SUBST(LIBSASL2_CFLAGS)
AM_CONDITIONAL(HAVE_LIBSASL2, test "x$HAVE_LIBSASL2" = "xyes")
-AC_SUBST(LIBXML2_CFLAGS)
-AC_SUBST(LIBXML2_LIBS)
-
PKG_CHECK_MODULES(LIBIPHB, [libiphb],
[AC_DEFINE(HAVE_IPHB, 1, [libiphb is available])
have_iphb=yes