-0.37
+0.37 Mon Jan 11 16:29:57 PST 2010
* Fixed build for libhashkit.
* Fixed install path regression.
* Modified RPM to strict check install.
* Added documentation for memcached_server_cursor();
-
* Added memcached_servers_reset().
-
* Modified memcached_st to remove dead cursor_server member.
0.36 Wed Jan 6 18:23:50 PST 2010
clients/ms_stats.c \
clients/ms_task.c \
clients/ms_thread.c
-clients_memslap_LDADD= $(LTLIBEVENT) clients/libgenexec.la $(CLIENTS_LDADDS)
+clients_memslap_LDADD= $(LTLIBEVENT) clients/libgenexec.la $(CLIENTS_LDADDS) $(LIBM)
clients_memcapable_SOURCES= clients/memcapable.c
if BUILD_BYTEORDER
PANDORA_CANONICAL_TARGET
+#shared library versioning
+MEMCACHED_LIBRARY_VERSION=4:0:0
+# | | |
+# +------+ | +---+
+# | | |
+# current:revision:age
+# | | |
+# | | +- increment if interfaces have been added
+# | | set to zero if interfaces have been removed or changed
+# | +- increment if source code has changed
+# | set to zero if current is incremented
+# +- increment if interfaces have been added, removed or changed
+AC_SUBST(MEMCACHED_LIBRARY_VERSION)
+
+
HASHKIT_LIBRARY_VERSION=0:0:0
AC_SUBST(HASHKIT_LIBRARY_VERSION)
libmemcached/io.h \
libmemcached/internal.h \
libmemcached/common.h \
- libmemcached/memcached/protocol_binary.h \
libmemcached/protocol/common.h \
libmemcached/protocol/ascii_handler.h \
libmemcached/protocol/binary_handler.h
libmemcached/get.h \
libmemcached/memcached.h \
libmemcached/memcached.hpp \
+ libmemcached/memcached/protocol_binary.h \
libmemcached/protocol/cache.h \
libmemcached/protocol/callback.h \
libmemcached/protocol_handler.h \
libmemcached_libmemcached_la_DEPENDENCIES= libmemcached/libmemcachedcallbacks.la libmemcached/libmemcachedinternal.la
libmemcached_libmemcached_la_LIBADD= $(LIBM) libmemcached/libmemcachedcallbacks.la libmemcached/libmemcachedinternal.la
-libmemcached_libmemcached_la_LDFLAGS= ${AM_LDFLAGS} -version-info 3:0:0
+libmemcached_libmemcached_la_LDFLAGS= ${AM_LDFLAGS} -version-info ${MEMCACHED_LIBRARY_VERSION}
if BUILD_LIBMEMCACHEDUTIL
nobase_include_HEADERS+= \
dnl with or without modifications, as long as this notice is preserved.
dnl Which version of the canonical setup we're using
-AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.92])
+AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.94])
AC_DEFUN([PANDORA_FORCE_DEPEND_TRACKING],[
AC_ARG_ENABLE([fat-binaries],
memcached_dump_func *df;
memcached_lib_version();
])
+ AC_LIB_HAVE_LINKFLAGS(memcachedprotocol,,[
+ #include <libmemcached/protocol_handler.h>
+ ],[
+ struct memcached_protocol_st *protocol_handle;
+ protocol_handle= memcached_protocol_create_instance();
+ ])
],[
ac_cv_libmemcached="no"
])
+ AC_CACHE_CHECK([if libmemcached has memcached_server_fn],
+ [pandora_cv_libmemcached_server_fn],
+ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include <libmemcached/memcached.h>
+memcached_server_fn callbacks[1];
+ ]])],
+ [pandora_cv_libmemcached_server_fn=yes],
+ [pandora_cv_libmemcached_server_fn=no])])
+ AS_IF([test "x$pandora_cv_libmemcached_server_fn" = "xyes"],[
+ AC_DEFINE([HAVE_MEMCACHED_SERVER_FN],[1],[If we have the new memcached_server_fn typedef])
+ ])
+
AM_CONDITIONAL(HAVE_LIBMEMCACHED, [test "x${ac_cv_libmemcached}" = "xyes"])
])
AS_IF([test x$ac_cv_libmemcached = xno],
AC_MSG_ERROR([libmemcached is required for ${PACKAGE}]))
])
+