~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/libmemcached.m4

  • Committer: Mark Atwood
  • Date: 2009-01-05 04:37:22 UTC
  • mto: (758.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 759.
  • Revision ID: me@mark.atwood.name-20090105043722-03l4mzcxi4yjjjih
replace sql_print_error etc with errmsg_print

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl
 
2
dnl Copyright (C) 2008 Sun Microsystems
 
3
dnl 
 
4
dnl This program is free software; you can redistribute it and/or modify
 
5
dnl it under the terms of the GNU General Public License as published by
 
6
dnl the Free Software Foundation; version 2 of the License.
 
7
dnl 
 
8
dnl This program is distributed in the hope that it will be useful,
 
9
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
dnl GNU General Public License for more details.
 
12
dnl 
 
13
dnl You should have received a copy of the GNU General Public License
 
14
dnl along with this program; if not, write to the Free Software
 
15
dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
16
dnl
 
17
dnl Check to find libmemcached.
 
18
 
 
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"])
 
22
])
 
23
 
 
24
dnl Split this into a _hidden function and a public with a require. This way
 
25
dnl any number of plugins can call the code and the real guts only get 
 
26
dnl called once.
 
27
AC_DEFUN([WITH_LIBMEMCACHED],[
 
28
  AC_REQUIRE([_SEARCH_FOR_LIBMEMCACHED])
 
29
])