1 AC_DEFUN([ENABLE_UTILLIB],[
3 [AS_HELP_STRING([--disable-utils],
4 [Disable libmemcachedutils @<:@default=on@:>@])],
5 [BUILD_UTILLIB="$enableval"],
8 if test "x$BUILD_UTILLIB" = "xyes"; then
9 if test x"$acx_pthread_ok" != "xyes"; then
10 AC_MSG_ERROR([Sorry you need POSIX thread library to build libmemcachedutil.])
12 AC_DEFINE([HAVE_LIBMEMCACHEDUTIL], [1], [Enables libmemcachedutil Support])
15 AM_CONDITIONAL([BUILD_LIBMEMCACHEDUTIL],[test "x$BUILD_UTILLIB" = "xyes"])