In samba_version.m4 the test to get the version now returns several
authorHerb Lewis <hlewis@panasas.com>
Thu, 2 Jun 2011 17:15:18 +0000 (10:15 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 2 Jun 2011 17:15:18 +0000 (10:15 -0700)
lines instead of the one we really wanted which causes some spurious
output when configure tries to print the samba version when it starts
running. This is only a cosmetic problem but still looks ugly.

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/m4/samba_version.m4

index dbea1f3b3a1f60468b043de969b327de8688b542..8ee0232df811d35d5865afd522cb4e2ca627dd30 100644 (file)
@@ -8,7 +8,7 @@ dnl http://www.gnu.org/licenses/
 dnl
 dnl
 
-SMB_VERSION_STRING=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_OFFICIAL_STRING' | cut -d '"' -f2`
+SMB_VERSION_STRING=`cat $srcdir/include/version.h | grep '#define SAMBA_VERSION_OFFICIAL_STRING' | cut -d '"' -f2`
 echo "SAMBA VERSION: ${SMB_VERSION_STRING}"
 
 SAMBA_VERSION_GIT_COMMIT_FULLREV=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_GIT_COMMIT_FULLREV' | cut -d ' ' -f3- | cut -d '"' -f2`