r8826: Make configure generate config.mk files (with the external libraries
[sfrench/samba-autobuild/.git] / source4 / build / m4 / 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 sinclude(build/m4/check_path.m4)
17 sinclude(build/m4/check_perl.m4)
18 sinclude(build/m4/check_cc.m4)
19 sinclude(build/m4/check_ld.m4)
20 sinclude(build/m4/check_shld.m4)
21 sinclude(build/m4/check_types.m4)
22 sinclude(build/m4/check_doc.m4)