git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: autogenarate VPATH by configure
[ira/wip.git]
/
source4
/
build
/
m4
/
env.m4
diff --git
a/source4/build/m4/env.m4
b/source4/build/m4/env.m4
index 9510a8ee0d0bb0ecdf6bb44ae2a138412aa7a6d2..6c040b9babc276a5563a810f149e4292506b1031 100644
(file)
--- 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}"