Skip to content

Commit

Permalink
require libmemcached >= 1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Dec 1, 2022
1 parent 77f811a commit 2c51582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ AC_SUBST(CJOSE_LIBS)

AC_ARG_WITH([memcache], AS_HELP_STRING([--with-memcache], [build with Memcache cache support [default=autodetect]]),)
if test "x$with_memcache" != "xno"; then
PKG_CHECK_MODULES([MEMCACHE], [libmemcached >= 0.8.0], [have_memcache="yes"], [have_memcache="no"])
PKG_CHECK_MODULES([MEMCACHE], [libmemcached >= 1.0], [have_memcache="yes"], [have_memcache="no"])
fi
AM_CONDITIONAL(HAVE_LIBMEMCACHE, [test x"$have_memcache" = "xyes"])
AC_SUBST(MEMCACHE_CFLAGS)
AC_SUBST(MEMCACHE_LIBS)
if test x"$have_memcache" = "xyes"; then
MEMCACHE_PC=', libmemcached >= 0.8.0'
MEMCACHE_PC=', libmemcached >= 1.0'
fi
AC_SUBST(MEMCACHE_PC)

Expand Down

0 comments on commit 2c51582

Please sign in to comment.