summaryrefslogtreecommitdiff
path: root/source3/m4
diff options
context:
space:
mode:
authorHerb Lewis <hlewis@panasas.com>2011-06-02 10:15:18 -0700
committerJeremy Allison <jra@samba.org>2011-06-02 10:15:18 -0700
commit710444d1108252e9a9cc80e963d47b542cc6c2f5 (patch)
treef229fe0f9c034c3ec87fc077b9706bb1195838bf /source3/m4
parentf0901792324425804592ac7032e3853b4d4c7829 (diff)
downloadsamba-710444d1108252e9a9cc80e963d47b542cc6c2f5.tar.gz
samba-710444d1108252e9a9cc80e963d47b542cc6c2f5.tar.bz2
samba-710444d1108252e9a9cc80e963d47b542cc6c2f5.zip
In samba_version.m4 the test to get the version now returns several
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>
Diffstat (limited to 'source3/m4')
-rw-r--r--source3/m4/samba_version.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/m4/samba_version.m4 b/source3/m4/samba_version.m4
index dbea1f3b3a..8ee0232df8 100644
--- a/source3/m4/samba_version.m4
+++ b/source3/m4/samba_version.m4
@@ -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`