From a591efd6136f50d6bac3f492ce7fe2506f184174 Mon Sep 17 00:00:00 2001 From: "Gergely Polonkai (W00d5t0ck)" Date: Wed, 7 Mar 2012 19:08:32 +0100 Subject: [PATCH] Added SQLite3 support into configure.ac and Makefile templates Signed-off-by: Gergely Polonkai (W00d5t0ck) --- configure.ac | 1 + src/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a95b085..711b251 100644 --- a/configure.ac +++ b/configure.ac @@ -14,5 +14,6 @@ if test "$enable_memcached" = "yes"; then fi PKG_CHECK_MODULES([GLIB], glib-2.0) +PKG_CHECK_MODULES([SQLITE3], sqlite3) AC_OUTPUT(Makefile src/Makefile) diff --git a/src/Makefile.am b/src/Makefile.am index aa0e13f..fb59a1c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ bin_PROGRAMS = wmud -AM_CFLAGS = $(MEMCACHED_CFLAGS) $(GLIB_CFLAGS) +AM_CFLAGS = $(MEMCACHED_CFLAGS) $(GLIB_CFLAGS) $(SQLITE3_CFLAGS) wmud_SOURCES = main.c -wmud_LDADD = $(MEMCACHED_LIBS) $(GLIB_LIBS) +wmud_LDADD = $(MEMCACHED_LIBS) $(GLIB_LIBS) $(SQLITE3_LIBS)