From: Eric Bollengier Date: Mon, 25 Jun 2007 13:30:01 +0000 (+0000) Subject: ebl fix batch mode activation X-Git-Tag: Release-7.0.0~6079 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b25c65252088bb135a0b5be0d5977d1d476eea14;p=bacula%2Fbacula ebl fix batch mode activation git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5085 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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)