r669: display the version on top of configure
authorStefan Metzmacher <metze@samba.org>
Thu, 13 May 2004 10:40:01 +0000 (10:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:53:40 +0000 (12:53 -0500)
this will help in the build farm

metze
(This used to be commit 05c53de97ee98ae27b064d15085606b041307bc2)

source4/configure.in

index 4bc3bea1d153d866b96904a4e6e871b26a7c771e..9cced558edeb5379f45403b0a9e30ad909d3bddf 100644 (file)
@@ -4,13 +4,15 @@ dnl Process this file with autoconf to produce a configure script.
 dnl disabled 2.53 requirement - we do work with 2.52 on suse 7.3 for example
 dnl AC_PREREQ(2.53)
 
-
 AC_INIT(include/includes.h)
 AC_CONFIG_HEADER(include/config.h)
 
 AC_DISABLE_STATIC
 AC_ENABLE_SHARED
 
+SMB_VERSION_STRING=`cat include/version.h | grep 'SAMBA_VERSION_OFFICIAL_STRING' | cut -d '"' -f2`
+echo "SAMBA VERSION: ${SMB_VERSION_STRING}"
+
 #################################################
 # Directory handling stuff to support both the
 # legacy SAMBA directories and FHS compliant