Put the doc and version back into the configure.ac
authorMonty Taylor <mordred@inaugust.com>
Tue, 12 Jan 2010 00:33:21 +0000 (16:33 -0800)
committerMonty Taylor <mordred@inaugust.com>
Tue, 12 Jan 2010 00:33:21 +0000 (16:33 -0800)
configure.ac
libmemcached/include.am

index 658dd5b76d121584c8e9969ba6c1b28f0787a7b0..5cc32bd740e5f6f1c3bf788b517ba6d66cd2aaa6 100644 (file)
@@ -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)
 
index 50fcea692fdf98f0915d7439905c7939d07f6566..1a00204d8eddb4910e3ba4893841eb2159c9c1f8 100644 (file)
@@ -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+= \