~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/libmemcached.m4

  • Committer: Monty Taylor
  • Date: 2009-01-09 10:35:18 UTC
  • mto: (779.1.2 devel)
  • mto: This revision was merged to the branch mainline in revision 784.
  • Revision ID: mordred@inaugust.com-20090109103518-f35ifnnuvnjbck9r
Removed search_for_lib. Now totally using AC_LIB_HAVE_LINKFLAGS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
dnl Check to find libmemcached.
18
18
 
19
19
AC_DEFUN([_SEARCH_FOR_LIBMEMCACHED],[
20
 
  SEARCH_FOR_LIB(memcached,memcached_create,[libmemcached/memcached.h])
21
 
  AM_CONDITIONAL([BUILD_MEMCACHED],[test "$ac_cv_have_memcached" = "yes"])
 
20
  AC_LIB_HAVE_LINKFLAGS(memcached,,
 
21
    [#include <libmemcached/memcached.h>],
 
22
    [struct memcached_st memc])
 
23
  AM_CONDITIONAL([BUILD_MEMCACHED],[test "x$ac_cv_libmemcached" = "xyes"])
22
24
])
23
25
 
24
26
dnl Split this into a _hidden function and a public with a require. This way