From 6d01a4ad4a94fa755240b47dc965edda47aab092 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 4 Sep 2007 09:45:42 +0000 Subject: [PATCH] Build configure from Eric's configure.in git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5449 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/configure | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.39.5