summaryrefslogtreecommitdiff
path: root/source4/build/m4/env.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/m4/env.m4')
-rw-r--r--source4/build/m4/env.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/build/m4/env.m4 b/source4/build/m4/env.m4
index 9510a8ee0d0..6c040b9babc 100644
--- a/source4/build/m4/env.m4
+++ b/source4/build/m4/env.m4
@@ -16,6 +16,9 @@ export builddir;
AC_SUBST(datarootdir)
+AC_SUBST(VPATH)
+VPATH="\$(builddir):\$(srcdir)"
+
SMB_VERSION_STRING=`cat ${srcdir}/version.h | grep 'SAMBA_VERSION_OFFICIAL_STRING' | cut -d '"' -f2`
echo "SAMBA VERSION: ${SMB_VERSION_STRING}"