diff options
author | Björn Jacke <bj@sernet.de> | 2009-07-03 18:22:16 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2009-07-03 18:24:42 +0200 |
commit | cdf025f012d6a426396da5478735663468023bd4 (patch) | |
tree | 18dee4a18d7aa1974ad6c4cff54f7dd47482f310 | |
parent | 7119241c0d12768b31ebdb489aa0bbba6ca21e40 (diff) | |
download | samba-cdf025f012d6a426396da5478735663468023bd4.tar.gz samba-cdf025f012d6a426396da5478735663468023bd4.tar.bz2 samba-cdf025f012d6a426396da5478735663468023bd4.zip |
tdb: fix define of tdbdir when srcdir != "."
-rw-r--r-- | lib/tdb/libtdb.m4 | 4 |
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; |