[evolution-ews] Check for sqlite3 and use it for linking



commit 4266992b95ac58e35035b014e74c5f028898ddcd
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date:   Thu May 26 11:25:22 2011 +0200

    Check for sqlite3 and use it for linking

 configure.ac          |    5 +++++
 src/utils/Makefile.am |    8 +++++---
 2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index aa4db72..5329c41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -202,6 +202,11 @@ dnl ****************************
 PKG_CHECK_MODULES(EVOLUTION_SHELL, $EVO_SHELL_PACKAGE >= evo_minimum_version)
 
 dnl ****************************
+dnl Check for sqlite3 
+dnl ****************************
+PKG_CHECK_MODULES(SQLITE3, sqlite3)
+
+dnl ****************************
 dnl Expose version information
 dnl ****************************
 API_VERSION=$EDS_PACKAGE
diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am
index 148b508..846e244 100644
--- a/src/utils/Makefile.am
+++ b/src/utils/Makefile.am
@@ -7,17 +7,19 @@ libewsutils_la_CPPFLAGS = \
 	-I$(top_builddir)				\
 	-I$(top_builddir)/src/server			\
 	$(LIBEDATASERVER_CFLAGS)			\
+	$(SQLITE3_CFLAGS)			\
 	$(DEBUG_CFLAGS)
 
 libewsutils_la_SOURCES =				\
-        ews-esource-utils.h				\
-        ews-esource-utils.c				\
+	ews-esource-utils.h				\
+	ews-esource-utils.c				\
 	e-sqlite3-vfs.c					\
 	e-sqlite3-vfs.h
 
 libewsutils_la_LIBADD =					\
 	$(top_builddir)/src/server/libeews-1.2.la 	\
-	$(LIBEDATASERVER_LIBS)				
+	$(SQLITE3_LIBS)	\
+	$(LIBEDATASERVER_LIBS)
 
 libewsutils_la_LDFLAGS = $(NO_UNDEFINED)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]