summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-26 19:12:41 -0800
committerdavid <david@david-desktop.(none)>2014-11-21 09:41:00 +0800
commit4a514fc12b5de87d8ee009b1e5d313af73505ec2 (patch)
treeb23f8e96268ffc3e5b57c4c012e7cb3cd8e0fdee
parent9f52ffa8b526e717e324fe0835ab794478650f11 (diff)
downloadlibsoup-4a514fc12b5de87d8ee009b1e5d313af73505ec2.tar.gz
libsoup-4a514fc12b5de87d8ee009b1e5d313af73505ec2.tar.bz2
libsoup-4a514fc12b5de87d8ee009b1e5d313af73505ec2.zip
sqlite support
-rw-r--r--libsoup/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am
index 60920bdc..1594f885 100644
--- a/libsoup/Makefile.am
+++ b/libsoup/Makefile.am
@@ -18,6 +18,11 @@ AM_CPPFLAGS = \
$(XML_CFLAGS) \
$(SQLITE_CFLAGS)
+if SQLLITE_SUPPORT
+soup_headers += \
+ soup-cookie-jar-sqlite.h
+endif
+
libsoupincludedir = $(includedir)/libsoup-2.4/libsoup
soup_headers = \
@@ -91,6 +96,11 @@ libsoup_2_4_la_LIBADD = \
$(XML_LIBS) \
$(SQLITE_LIBS)
+if SQLLITE_SUPPORT
+libsoup_2_4_la_LIBADD += \
+ $(SQLITE_LIBS)
+endif
+
libsoup_2_4_la_SOURCES = \
soup-address.c \
soup-auth.c \
@@ -191,6 +201,10 @@ TLD_DATA_FILE=$(top_srcdir)/data/effective_tld_names.dat
tld_data.inc: tld-parser.py $(TLD_DATA_FILE)
$(srcdir)/tld-parser.py $(TLD_DATA_FILE) tld_data.inc
+if SQLLITE_SUPPORT
+libsoup_2_4_la_SOURCES += \
+ soup-cookie-jar-sqlite.c
+endif
if BUILD_LIBSOUP_GNOME