Make sure we don't try to compile non-shipped memcached.
authorBrian Aker <brian@tangent.org>
Mon, 30 Jul 2012 05:29:50 +0000 (22:29 -0700)
committerBrian Aker <brian@tangent.org>
Mon, 30 Jul 2012 05:29:50 +0000 (22:29 -0700)
Makefile.am

index fa4bf7260f4b29c6bc17a422601790737fdd84a9..a548c9823be72f5bf9934a332cb0399c2444529e 100644 (file)
@@ -31,8 +31,6 @@ EXTRA_DIST+= config/uncrustify.cfg
 
 include libtest/include.am
 
-libtest_libtest_la_DEPENDENCIES+= memcached/memcached
-
 include libhashkit-1.0/include.am
 include libmemcached-1.0/include.am
 include libmemcachedprotocol-0.0/include.am
@@ -53,7 +51,11 @@ include support/include.am
 include tests/include.am
 include util/include.am
 include win32/include.am
+
+if HAVE_LIBEVENT
 include memcached/include.am
+libtest_libtest_la_DEPENDENCIES+= memcached/memcached
+endif
 
 docs: html man