-0.8
+0.8 Mon Nov 5 10:40:41 PST 2007
* Adding support for CRC hash method
* Adding support for UNIX sockets
* Added additional HASHing methods of FNV1_64,FNV1A_64, FNV1_32, FNV1A_32
- * Added pkgconfig support
+ * Added pkgconfig support (PKG_CHECK_MODULES)
* Fixed conflict with defined type in MySQL
* Added memcached_result_st structure and functions to manipulate it.
AC_SUBST(MEMCACHED_RELEASE)
AC_SUBST(MEMCACHED_VERSION)
-VERSION=$MEMCACHED_VERSION
+VERSION=$MEMCACHED_RELEASE
AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
threads you must provide your own locking). No global variables are
used in this library.
+If you are working with GNU autotools you will want to add the following to
+your configure.ac to properly include libmemcached in your application.
+
+PKG_CHECK_MODULES(DEPS, libmemcached >= 0.8.0)
+AC_SUBST(DEPS_CFLAGS)
+AC_SUBST(DEPS_LIBS)
+
Some features of the library must be enabled through memcached_behavior_set().
+
Hope you enjoy it!
=head1 HOME
memcached_strerror.c \
memcached_verbosity.c
libmemcached_la_LIBADD =
-libmemcached_la_LDFLAGS = -version-info $(MEMCACHED_LIBRARY_VERSION) -release $(MEMCACHED_RELEASE)
+libmemcached_la_LDFLAGS = -version-info $(MEMCACHED_LIBRARY_VERSION)
if HAVE_DTRACE
libmemcached_la_LIBADD += libmemcached_probes.o
%{_libdir}/libmemcached.a
%{_libdir}/libmemcached.la
%{_libdir}/libmemcached.so
-%{_libdir}/libmemcached.so.0
-%{_libdir}/libmemcached.so.0.0.0
+%{_libdir}/libmemcached.so.1
+%{_libdir}/libmemcached.so.1.0.0
+%{_libdir}/pkgconfig/libmemcached.pc
%{_mandir}/man1/memcat.1.gz
%{_mandir}/man1/memcp.1.gz
%{_mandir}/man1/memflush.1.gz
LIBS =
+noinst_HEADERS = test.h
noinst_PROGRAMS = testapp
testapp_SOURCES = test.c function.c
Sample test application.
*/
#include <assert.h>
-#include <memcached.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>
-#include "../lib/common.h"
#include "test.h"
/*
Structures for generic tests.
*/
+#include <memcached.h>
+#include "../lib/common.h"
+
typedef struct collection_st collection_st;
typedef struct test_st test_st;