projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Use libevent for the eventloop in memcached_light
[m6w6/libmemcached]
/
example
/
include.am
diff --git
a/example/include.am
b/example/include.am
index daae642b95517353087dea5c08a3b893c14f9782..e2ac51e4be9ad5a4a89601b0a201916620402673 100644
(file)
--- a/
example/include.am
+++ b/
example/include.am
@@
-2,7
+2,9
@@
# included from Top Level Makefile.am
# All paths should be given relative to the root
# included from Top Level Makefile.am
# All paths should be given relative to the root
+if HAVE_LIBEVENT
noinst_PROGRAMS += example/memcached_light
noinst_PROGRAMS += example/memcached_light
+endif
example_memcached_light_SOURCES= \
example/interface_v0.c \
example_memcached_light_SOURCES= \
example/interface_v0.c \
@@
-11,7
+13,8
@@
example_memcached_light_SOURCES= \
example/memcached_light.h \
example/storage.h
example/memcached_light.h \
example/storage.h
-example_memcached_light_LDADD= libmemcached/libmemcachedprotocol.la $(LIBINNODB)
+example_memcached_light_LDADD= libmemcached/libmemcachedprotocol.la \
+ $(LIBINNODB) $(LTLIBEVENT)
if BUILD_BYTEORDER
example_memcached_light_LDADD+= libmemcached/libbyteorder.la
if BUILD_BYTEORDER
example_memcached_light_LDADD+= libmemcached/libbyteorder.la