From 0f4bd8b94ccda60070da27e5ba3ecb3204beea02 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 24 Jan 2014 13:07:23 +0100 Subject: [PATCH] If libgcrypt is not found, disable memcached entirely That's because we need wrbuf_sha1_write / wrbuf_sha1_puts when we use memcached. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b0aa173..872facd 100644 --- a/configure.ac +++ b/configure.ac @@ -82,7 +82,7 @@ fi dnl ------ memcached memcached=default AC_ARG_WITH([memcached], [ --with-memcached Memcached library], [memcached=$withval]) -if test "$memcached" != "no"; then +if test "$memcached" != "no" -a -n "$libgcryptversion"; then AC_CHECK_LIB([memcached],[memcached_get]) if test "$ac_cv_lib_memcached_memcached_get" = "yes"; then AC_CHECK_HEADERS([libmemcached/memcached.h]) -- 1.7.10.4