]> git.sur5r.net Git - bacula/bacula/commit
Move batch insert detection into db.m4
authorMarco van Wieringen <mvw@planets.elm.net>
Mon, 7 Nov 2011 18:38:03 +0000 (19:38 +0100)
committerMarco van Wieringen <mvw@planets.elm.net>
Mon, 7 Nov 2011 18:38:03 +0000 (19:38 +0100)
commit70814963b43a2dceea8ac4ab6e1e7ba19a64cccb
tree719dd6c1fd740b59ad78dba866005fdecd6fa561
parent92ccb82f2a5ac54730ae92d2c01c935ffa3943f7
Move batch insert detection into db.m4

Moved the batch insert detection logic into the db.m4
macros so they only run when an enable command is set.
This makes configure.in much cleaner. We also keep
a list of backends which have batch insert enabled
now that we allow multiple configured backends the
simple yes or no doesn't cut it anymore so we
output all backends that have batch insert enabled.
Also fixed some problems in detecting the batch file
enablers by splitting the LDFLAGS and LIBS for
configure. So now a postgresql or mysql in a non
standard place should work better.
bacula/autoconf/bacula-macros/db.m4
bacula/autoconf/configure.in