From cdf025f012d6a426396da5478735663468023bd4 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Fri, 3 Jul 2009 18:22:16 +0200 Subject: tdb: fix define of tdbdir when srcdir != "." --- lib/tdb/libtdb.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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; -- cgit