Merge in additional test for increment with namespace key.
[awesomized/libmemcached] / example / include.am
index daae642b95517353087dea5c08a3b893c14f9782..561eebc8d7f2a249f3b65f7de813e62828ce3b61 100644 (file)
@@ -2,20 +2,20 @@
 # included from Top Level Makefile.am
 # All paths should be given relative to the root
 
+if HAVE_LIBEVENT
 noinst_PROGRAMS += example/memcached_light
+endif
 
 example_memcached_light_SOURCES= \
-       example/interface_v0.c \
-       example/interface_v1.c \
-       example/memcached_light.c \
-       example/memcached_light.h \
-       example/storage.h
-
-example_memcached_light_LDADD= libmemcached/libmemcachedprotocol.la $(LIBINNODB)
+                                example/interface_v0.c \
+                                example/interface_v1.c \
+                                example/memcached_light.c \
+                                libmemcached/byteorder.cc \
+                                example/memcached_light.h \
+                                example/storage.h
 
-if BUILD_BYTEORDER
-example_memcached_light_LDADD+= libmemcached/libbyteorder.la
-endif
+example_memcached_light_LDADD= libmemcached/libmemcachedprotocol.la \
+                               $(LIBINNODB) $(LTLIBEVENT)
 
 if HAVE_LIBINNODB
 example_memcached_light_SOURCES+= example/storage_innodb.c