From eaa8df425352b4ec8bcdd1a1dc4d35a1030aedbc Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 13 Mar 2012 14:57:02 +0100 Subject: [PATCH] Fix autoconf VERSION scan --- docs/autoconf/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/autoconf/configure.in b/docs/autoconf/configure.in index 7a9d11e9..270f78eb 100644 --- a/docs/autoconf/configure.in +++ b/docs/autoconf/configure.in @@ -33,8 +33,8 @@ if test "x$bacula" = "x" ; then fi dnl Bacula version -VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${bacula}/src/version.h` -DATE=`sed -n -e 's/^.*[ \t]*BDATE.*"\(.*\)"$/\1/p' ${bacula}/src/version.h` +VERSION=`sed -n -e 's/^#define VERSION.*"\(.*\)"$/\1/p' ${bacula}/src/version.h` +DATE=`sed -n -e 's/^#define BDATE.*"\(.*\)"$/\1/p' ${bacula}/src/version.h` AC_SUBST(VERSION)dnl AC_SUBST(DATE)dnl if test "x$VERSION" = "x" ; then -- 2.39.5