]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix batch mode activation
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 25 Jun 2007 13:30:01 +0000 (13:30 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 25 Jun 2007 13:30:01 +0000 (13:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5085 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/autoconf/config.h.in
bacula/autoconf/configure.in

index fa55809f8b2655c0c6253d0ac2d5bfba8866e25f..354c481436a9e59fffe3ba639d94620a4ebd4edc 100644 (file)
 #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. */
index 2f5a58b74f41f25ce138155dae3532561f427014..976db7dca13c35c37d55bc1a28aa81500ec5d345 100644 (file)
@@ -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)