Silence undefined variable warnings.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 21 Oct 2008 14:45:09 +0000 (16:45 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 21 Oct 2008 14:45:09 +0000 (16:45 +0200)
source3/samba4.m4

index 05d655217fddd357e50ab615076c1ab9fcb9974a..ed49347cb6e61e2e37c7080aecdced66a48757ab 100644 (file)
@@ -129,8 +129,12 @@ SMB_WRITE_MAKEVARS(samba4-config.mk, [prefix exec_prefix CPPFLAGS LDSHFLAGS POPT
                 
 oldbuilddir="$builddir"
 builddir="$builddir/../source4"
                 
 oldbuilddir="$builddir"
 builddir="$builddir/../source4"
+oldsrcdir="$srcdir"
+srcdir="$srcdir/../source4"
+AC_SUBST(srcdir)
 SMB_WRITE_PERLVARS(../source4/build/smb_build/config.pm)
 builddir="$oldbuilddir"
 SMB_WRITE_PERLVARS(../source4/build/smb_build/config.pm)
 builddir="$oldbuilddir"
+srcdir="$oldsrcdir"
 
 echo "configure: creating ../source4/config.mk"
 cat >../source4/config.mk<<CEOF
 
 echo "configure: creating ../source4/config.mk"
 cat >../source4/config.mk<<CEOF