summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-07-03 18:22:16 +0200
committerBjörn Jacke <bj@sernet.de>2009-07-03 18:24:42 +0200
commitcdf025f012d6a426396da5478735663468023bd4 (patch)
tree18dee4a18d7aa1974ad6c4cff54f7dd47482f310 /lib
parent7119241c0d12768b31ebdb489aa0bbba6ca21e40 (diff)
downloadsamba-cdf025f012d6a426396da5478735663468023bd4.tar.gz
samba-cdf025f012d6a426396da5478735663468023bd4.tar.bz2
samba-cdf025f012d6a426396da5478735663468023bd4.zip
tdb: fix define of tdbdir when srcdir != "."
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb/libtdb.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb/libtdb.m4 b/lib/tdb/libtdb.m4
index f5ed012a80..8c84736304 100644
--- a/lib/tdb/libtdb.m4
+++ b/lib/tdb/libtdb.m4
@@ -1,9 +1,9 @@
dnl find the tdb sources. This is meant to work both for
dnl tdb standalone builds, and builds of packages using tdb
tdbdir=""
-tdbpaths="$srcdir $srcdir/lib/tdb $srcdir/tdb $srcdir/../tdb $srcdir/../lib/tdb"
+tdbpaths=". lib/tdb tdb ../tdb ../lib/tdb"
for d in $tdbpaths; do
- if test -f "$d/common/tdb.c"; then
+ if test -f "$srcdir/$d/common/tdb.c"; then
tdbdir="$d"
AC_SUBST(tdbdir)
break;