summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-21 16:45:09 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-21 16:45:09 +0200
commitd53ff689a39ebd8b6b5dc9a13b9234ab2c8160e5 (patch)
tree74ad57d1fd550584ea429ec90c1b05c9c52c3d3a
parent8fe59b9b00072dc4e12314624bbb692ceb776efd (diff)
downloadsamba-d53ff689a39ebd8b6b5dc9a13b9234ab2c8160e5.tar.gz
samba-d53ff689a39ebd8b6b5dc9a13b9234ab2c8160e5.tar.bz2
samba-d53ff689a39ebd8b6b5dc9a13b9234ab2c8160e5.zip
Silence undefined variable warnings.
-rw-r--r--source3/samba4.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/samba4.m4 b/source3/samba4.m4
index 05d655217f..ed49347cb6 100644
--- a/source3/samba4.m4
+++ b/source3/samba4.m4
@@ -129,8 +129,12 @@ SMB_WRITE_MAKEVARS(samba4-config.mk, [prefix exec_prefix CPPFLAGS LDSHFLAGS POPT
oldbuilddir="$builddir"
builddir="$builddir/../source4"
+oldsrcdir="$srcdir"
+srcdir="$srcdir/../source4"
+AC_SUBST(srcdir)
SMB_WRITE_PERLVARS(../source4/build/smb_build/config.pm)
builddir="$oldbuilddir"
+srcdir="$oldsrcdir"
echo "configure: creating ../source4/config.mk"
cat >../source4/config.mk<<CEOF