summaryrefslogtreecommitdiff
path: root/source/configure.in
diff options
context:
space:
mode:
authorGerald W. Carter <jerry@samba.org>2008-04-16 15:48:00 +0200
committerGerald W. Carter <jerry@samba.org>2008-04-23 13:11:47 -0500
commitadc0349dc3033ce1dfbc07c67b20a57406bff771 (patch)
treec6047b2b40a8c2435323bda15666a659c8d0ff69 /source/configure.in
parent40331fba56cb79ff109ee092c028feffb819cc66 (diff)
downloadsamba-adc0349dc3033ce1dfbc07c67b20a57406bff771.tar.gz
Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.
(cherry picked from commit 359921acd436684a0b4cf76ba15f82a224d2c337)
Diffstat (limited to 'source/configure.in')
-rw-r--r--source/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/configure.in b/source/configure.in
index 7d6b1899e17..f2b60a0e6ab 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -33,9 +33,9 @@ AC_SUBST(TALLOC_OBJS)
# TODO: These should come from m4_include(lib/tdb/libtdb.m4)
# but currently this fails: things have to get merged from s4.
-tdbdir="${srcdir-.}/lib/tdb"
+tdbdir="lib/tdb"
AC_SUBST(tdbdir)
-TDB_CFLAGS="-I$tdbdir/include"
+TDB_CFLAGS="-I${srcdir-.}/$tdbdir/include"
AC_SUBST(TDB_CFLAGS)
TDB_OBJ="common/tdb.o common/dump.o common/transaction.o common/error.o common/traverse.o"
TDB_OBJ="$TDB_OBJ common/freelist.o common/freelistcheck.o common/io.o common/lock.o common/open.o"