From: Kern Sibbald Date: Tue, 4 Sep 2007 09:45:42 +0000 (+0000) Subject: Build configure from Eric's configure.in X-Git-Tag: Release-7.0.0~5747 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6d01a4ad4a94fa755240b47dc965edda47aab092;p=bacula%2Fbacula Build configure from Eric's configure.in git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5449 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/configure b/bacula/configure index c23bc09563..55e04da51d 100755 --- a/bacula/configure +++ b/bacula/configure @@ -17503,6 +17503,15 @@ if test "${enable_batch_insert+set}" = set; then fi; fi +# Check if postgresql support batch mode +if test x$DB_TYPE = xpostgresql; then + A=`nm $SQL_LIB | grep PQputCopyData` + pkg=$? + if test $pkg != 0; then + support_batch_insert=no + fi +fi + if test $support_batch_insert = yes ; then cat >>confdefs.h <<\_ACEOF