From: Kern Sibbald Date: Tue, 13 Mar 2012 13:57:02 +0000 (+0100) Subject: Fix autoconf VERSION scan X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eaa8df425352b4ec8bcdd1a1dc4d35a1030aedbc;p=bacula%2Fdocs Fix autoconf VERSION scan --- 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