summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-08-24 11:26:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:27 -0500
commitfd63959c4dbaee9ee97293f53eff125ce3e9feaf (patch)
treee529d7834a4d8ec6d8a06fbe6537374554a5b67d
parent8e309cc7c70ab9c94b954f2fed5c4d8e2945f48c (diff)
downloadsamba-fd63959c4dbaee9ee97293f53eff125ce3e9feaf.tar.gz
samba-fd63959c4dbaee9ee97293f53eff125ce3e9feaf.tar.bz2
samba-fd63959c4dbaee9ee97293f53eff125ce3e9feaf.zip
r2006: Fix bug 1653 discovered by Luke Mewburn. The script code to generate the
svn version number broke out-of-tree builds. (This used to be commit bba8e7956a53067b0d51a12c6abfac24834e4603)
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index dba87a753d..ec53941c61 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -8,10 +8,10 @@ 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`
+SMB_VERSION_STRING=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_OFFICIAL_STRING' | cut -d '"' -f2`
echo "SAMBA VERSION: ${SMB_VERSION_STRING}"
-SAMBA_VERSION_SVN_REVISION=`cat include/version.h | grep 'SAMBA_VERSION_SVN_REVISION' | cut -d ' ' -f3-`
+SAMBA_VERSION_SVN_REVISION=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_SVN_REVISION' | cut -d ' ' -f3-`
if test -n "${SAMBA_VERSION_SVN_REVISION}";then
echo "BUILD REVISION: ${SAMBA_VERSION_SVN_REVISION}"
fi