~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_libmemcached.m4

Extracted the LOAD command into its own class and implementation files.
Removed the corresponding case label from the switch statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
  dnl  Check for libmemcached
11
11
  dnl --------------------------------------------------------------------
12
12
 
13
 
  AC_ARG_ENABLE([libmemcached],
14
 
    [AS_HELP_STRING([--disable-libmemcached],
15
 
      [Build with libmemcached support @<:@default=on@:>@])],
16
 
    [ac_enable_libmemcached="$enableval"],
17
 
    [ac_enable_libmemcached="yes"])
18
 
 
19
 
  AS_IF([test "x$ac_enable_libmemcached" = "xyes"],[
20
 
    AC_LIB_HAVE_LINKFLAGS(memcached,,[
21
 
      #include <libmemcached/memcached.h>
22
 
    ],[
23
 
      memcached_st memc;
24
 
      memcached_dump_func *df;
25
 
      memcached_version();
26
 
    ])
27
 
  ],[
28
 
    ac_cv_libmemcached="no"
 
13
  AC_LIB_HAVE_LINKFLAGS(memcached,,[
 
14
    #include <libmemcached/memcached.h>
 
15
  ], [
 
16
    memcached_st memc;
 
17
    memcached_dump_func *df;
 
18
    memcached_version();
29
19
  ])
30
20
  
31
21
  AM_CONDITIONAL(HAVE_LIBMEMCACHED, [test "x${ac_cv_libmemcached}" = "xyes"])
32
22
  
33
23
  AS_IF([test "x${ac_cv_libmemcached}" = "xyes"], [ PANDORA_WITH_MEMCACHED ])
 
24
 
34
25
])
35
26
 
36
27
AC_DEFUN([PANDORA_HAVE_LIBMEMCACHED],[