From b25c65252088bb135a0b5be0d5977d1d476eea14 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 25 Jun 2007 13:30:01 +0000 Subject: [PATCH] ebl fix batch mode activation git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5085 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/autoconf/config.h.in | 2 +- bacula/autoconf/configure.in | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index fa55809f8b..354c481436 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -280,7 +280,7 @@ #undef HAVE_BAT /* Set if DB batch insert code enabled */ -#undef HAVE_BATCH_INSERT +#undef HAVE_BATCH_FILE_INSERT /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 2f5a58b74f..976db7dca1 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1281,12 +1281,13 @@ if test $pkg = 0; then [if test x$enableval = xno; then support_batch_insert=no else - AC_DEFINE(HAVE_BATCH_INSERT, 1, [Set if DB batch insert code enabled]) support_batch_insert=yes fi]) fi - +if test $support_batch_insert = yes ; then + AC_DEFINE(HAVE_BATCH_FILE_INSERT, 1, [Set if DB batch insert code enabled]) +fi AC_DEFINE(PROTOTYPES) -- 2.39.5