summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-01 16:52:12 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-01 17:52:36 +0200
commit8dede49961b732a5c604b044e628b0553b387429 (patch)
tree5fcd9a88e2abb6da1dab3ed4993ec7f21c4e15e6 /source4/build
parent86c9db8d4a3b485f25616282b96646446773b079 (diff)
downloadsamba-8dede49961b732a5c604b044e628b0553b387429.tar.gz
samba-8dede49961b732a5c604b044e628b0553b387429.tar.bz2
samba-8dede49961b732a5c604b044e628b0553b387429.zip
build: autogenarate VPATH by configure
metze (This used to be commit 16147753adcdbdc0ee9faa16fafb1c74240a6858)
Diffstat (limited to 'source4/build')
-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 9510a8ee0d..6c040b9bab 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}"