summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-05-06 16:42:53 +0200
committerMichael Adam <obnox@samba.org>2011-05-13 16:42:24 +0200
commit23637b5789a43fe75bb4eadabd33fb321272b42b (patch)
tree3fe5e6da47964f07a5488c30a28a1fa23bf6bd66 /source3
parent6c300ec4b51bfd57837d193f0b17b60cb152fc27 (diff)
downloadsamba-23637b5789a43fe75bb4eadabd33fb321272b42b.tar.gz
samba-23637b5789a43fe75bb4eadabd33fb321272b42b.tar.bz2
samba-23637b5789a43fe75bb4eadabd33fb321272b42b.zip
s3:build: determine full version of libtdb for the samba build
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 34be4fe761..11bea9d7ae 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -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