summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-04 11:25:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:26 -0500
commita58c249412b47500e13fc99fbfbfe1ec72c47911 (patch)
tree00763455f3d587ce3ec266726e9b257ea992f0d5 /source4/build/smb_build
parentfaf527758c8a38877f6d4f31ceaa9629b7af8546 (diff)
downloadsamba-a58c249412b47500e13fc99fbfbfe1ec72c47911.tar.gz
samba-a58c249412b47500e13fc99fbfbfe1ec72c47911.tar.bz2
samba-a58c249412b47500e13fc99fbfbfe1ec72c47911.zip
r1006: print out the SVN revision by configure,
so that the build farm can use it metze (This used to be commit 20f848aeef19c7694cc5435287ec9235419741fc)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/env.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/build/smb_build/env.m4 b/source4/build/smb_build/env.m4
index ec2b18a6ba..896e128bd3 100644
--- a/source4/build/smb_build/env.m4
+++ b/source4/build/smb_build/env.m4
@@ -8,6 +8,11 @@ dnl
SMB_VERSION_STRING=`cat include/version.h | grep 'SAMBA_VERSION_OFFICIAL_STRING' | cut -d '"' -f2`
echo "SAMBA VERSION: ${SMB_VERSION_STRING}"
+SAMBA_VERSION_SVN_REVISION=`cat include/version.h | grep 'SAMBA_VERSION_SVN_REVISION' | cut -d ' ' -f3-`
+if test -n "${SAMBA_VERSION_SVN_REVISION}";then
+ echo "BUILD REVISION: ${SAMBA_VERSION_SVN_REVISION}"
+fi
+
AC_VALIDATE_CACHE_SYSTEM_TYPE
sinclude(build/smb_build/check_path.m4)