From 4a514fc12b5de87d8ee009b1e5d313af73505ec2 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 26 Nov 2012 19:12:41 -0800 Subject: sqlite support --- libsoup/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit v1.2.3