Added GNet dependency to autotools

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely Polonkai (W00d5t0ck) 2012-03-07 23:01:31 +01:00
parent 13d99aa4b0
commit 37c3d43365
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ if test "$enable_memcached" = "yes"; then
AC_DEFINE([ENABLE_MEMCACHED], [1], [Define to compile with Memcached support])
fi
PKG_CHECK_MODULES([GNET], gnet-2.0)
PKG_CHECK_MODULES([GLIB], glib-2.0)
PKG_CHECK_MODULES([SQLITE3], sqlite3)

View File

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