s3:build: determine full version of libtdb for the samba build
authorMichael Adam <obnox@samba.org>
Fri, 6 May 2011 14:42:53 +0000 (16:42 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 13 May 2011 14:42:24 +0000 (16:42 +0200)
source3/configure.in

index 34be4fe761cb012bc4775a79361339b8ab05a7a5..11bea9d7aef2ca04c688ffa98695914dc34db994 100644 (file)
@@ -2151,7 +2151,8 @@ if test "x$enable_external_libtdb" = xno
 then
        m4_include(../lib/tdb/libtdb.m4)
        LINK_LIBTDB=STATIC
-       SMB_LIBRARY(tdb, 1)
+       LIBTDBVERSION=`grep ^VERSION ${tdbdir}/wscript | sed -e "s/'//g" -e 's/.* //'`
+       SMB_LIBRARY(tdb, 1, ${LIBTDBVERSION})
        LIBTDB_OBJ0=""
        LIBTDB_LIBS="$LIBTDB_LIBS $TDB_DEPS"
        for obj in ${TDB_OBJ}; do