summaryrefslogtreecommitdiffstats
path: root/lib/tdb/libtdb.m4
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb/libtdb.m4')
-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 f5ed012a80f..8c847363044 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;