Added SQLite3 support into configure.ac and Makefile templates

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely Polonkai (W00d5t0ck) 2012-03-07 19:08:32 +01:00
parent 3d67b0ad57
commit a591efd613
2 changed files with 3 additions and 2 deletions

View File

@ -14,5 +14,6 @@ if test "$enable_memcached" = "yes"; then
fi fi
PKG_CHECK_MODULES([GLIB], glib-2.0) PKG_CHECK_MODULES([GLIB], glib-2.0)
PKG_CHECK_MODULES([SQLITE3], sqlite3)
AC_OUTPUT(Makefile src/Makefile) AC_OUTPUT(Makefile src/Makefile)

View File

@ -1,5 +1,5 @@
bin_PROGRAMS = wmud bin_PROGRAMS = wmud
AM_CFLAGS = $(MEMCACHED_CFLAGS) $(GLIB_CFLAGS) AM_CFLAGS = $(MEMCACHED_CFLAGS) $(GLIB_CFLAGS) $(SQLITE3_CFLAGS)
wmud_SOURCES = main.c wmud_SOURCES = main.c
wmud_LDADD = $(MEMCACHED_LIBS) $(GLIB_LIBS) wmud_LDADD = $(MEMCACHED_LIBS) $(GLIB_LIBS) $(SQLITE3_LIBS)