722.1.2
by Monty Taylor
Added a coupla copyright headers. |
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
|
|
589.1.2
by Monty Taylor
Fixed the memcached function |
17 |
dnl Check to find libmemcached. |
589.1.1
by Monty Taylor
Added libmemcached test. |
18 |
|
589.1.2
by Monty Taylor
Fixed the memcached function |
19 |
AC_DEFUN([_SEARCH_FOR_LIBMEMCACHED],[ |
779.2.7
by Monty Taylor
Removed search_for_lib. Now totally using AC_LIB_HAVE_LINKFLAGS. |
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"]) |
|
590.2.2
by Monty Taylor
Configure cleanups. Added generic search_for_lib m4 macro. |
24 |
]) |
589.1.2
by Monty Taylor
Fixed the memcached function |
25 |
|
722.1.2
by Monty Taylor
Added a coupla copyright headers. |
26 |
dnl Split this into a _hidden function and a public with a require. This way |
27 |
dnl any number of plugins can call the code and the real guts only get |
|
28 |
dnl called once. |
|
590.2.1
by Monty Taylor
Copied in libmemcached.m4 fixes. |
29 |
AC_DEFUN([WITH_LIBMEMCACHED],[ |
589.1.2
by Monty Taylor
Fixed the memcached function |
30 |
AC_REQUIRE([_SEARCH_FOR_LIBMEMCACHED]) |
31 |
]) |