From: Monty Taylor Date: Tue, 12 Jan 2010 00:33:21 +0000 (-0800) Subject: Put the doc and version back into the configure.ac X-Git-Tag: 0.37^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=ad62715a7d4dc200a9b77ae61fc62a4a896a865f;p=m6w6%2Flibmemcached Put the doc and version back into the configure.ac --- 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+= \