s3-auth Use the common gensec_ntlmssp_update in gensec_ntlmssp3_server
[ira/wip.git] / source3 / m4 / samba_version.m4
1 dnl
2 dnl Samba3 build environment - Samba version variables
3 dnl
4 dnl Copyright (C) Michael Adam 2008
5 dnl
6 dnl Released under the GNU General Public License
7 dnl http://www.gnu.org/licenses/
8 dnl
9 dnl
10
11 SMB_VERSION_STRING=`cat $srcdir/include/version.h | grep '#define SAMBA_VERSION_OFFICIAL_STRING' | cut -d '"' -f2`
12 echo "SAMBA VERSION: ${SMB_VERSION_STRING}"
13
14 SAMBA_VERSION_GIT_COMMIT_FULLREV=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_GIT_COMMIT_FULLREV' | cut -d ' ' -f3- | cut -d '"' -f2`
15 if test -n "${SAMBA_VERSION_GIT_COMMIT_FULLREV}";then
16         echo "BUILD COMMIT REVISION: ${SAMBA_VERSION_GIT_COMMIT_FULLREV}"
17 fi
18 SAMBA_VERSION_COMMIT_DATE=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_COMMIT_DATE' | cut -d ' ' -f3-`
19 if test -n "${SAMBA_VERSION_COMMIT_DATE}";then
20         echo "BUILD COMMIT DATE: ${SAMBA_VERSION_COMMIT_DATE}"
21 fi
22 SAMBA_VERSION_COMMIT_TIME=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_COMMIT_TIME' | cut -d ' ' -f3-`
23 if test -n "${SAMBA_VERSION_COMMIT_TIME}";then
24         echo "BUILD COMMIT TIME: ${SAMBA_VERSION_COMMIT_TIME}"
25
26         # just to keep the build-farm gui happy for now...
27         echo "BUILD REVISION: ${SAMBA_VERSION_COMMIT_TIME}"
28 fi
29