r4533: parsing support for:
[samba.git] / source4 / build / smb_build / env.m4
1 dnl SMB Build Environment Checks
2 dnl -------------------------------------------------------
3 dnl  Copyright (C) Stefan (metze) Metzmacher 2004
4 dnl  Released under the GNU GPL
5 dnl -------------------------------------------------------
6 dnl
7
8 SMB_VERSION_STRING=`cat include/version.h | grep 'SAMBA_VERSION_OFFICIAL_STRING' | cut -d '"' -f2`
9 echo "SAMBA VERSION: ${SMB_VERSION_STRING}"
10
11 SAMBA_VERSION_SVN_REVISION=`cat include/version.h | grep 'SAMBA_VERSION_SVN_REVISION' | cut -d ' ' -f3-`
12 if test -n "${SAMBA_VERSION_SVN_REVISION}";then
13         echo "BUILD REVISION: ${SAMBA_VERSION_SVN_REVISION}"
14 fi
15
16 AC_VALIDATE_CACHE_SYSTEM_TYPE
17
18 SMB_INFO_BUILD_ENV=""
19
20 sinclude(build/smb_build/check_path.m4)
21 sinclude(build/smb_build/check_perl.m4)
22 sinclude(build/smb_build/check_cc.m4)
23 sinclude(build/smb_build/check_ld.m4)
24 sinclude(build/smb_build/check_shld.m4)
25 sinclude(build/smb_build/check_types.m4)