From ad62715a7d4dc200a9b77ae61fc62a4a896a865f Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 11 Jan 2010 16:33:21 -0800 Subject: [PATCH] Put the doc and version back into the configure.ac --- configure.ac | 15 +++++++++++++++ libmemcached/include.am | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 658dd5b7..5cc32bd7 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,21 @@ AC_CONFIG_MACRO_DIR([m4]) PANDORA_CANONICAL_TARGET +#shared library versioning +MEMCACHED_LIBRARY_VERSION=3: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) diff --git a/libmemcached/include.am b/libmemcached/include.am index 50fcea69..1a00204d 100644 --- a/libmemcached/include.am +++ b/libmemcached/include.am @@ -108,7 +108,7 @@ endif 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+= \ -- 2.30.2