]> git.sur5r.net Git - bacula/bacula/commitdiff
Build configure from Eric's configure.in
authorKern Sibbald <kern@sibbald.com>
Tue, 4 Sep 2007 09:45:42 +0000 (09:45 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 4 Sep 2007 09:45:42 +0000 (09:45 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5449 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/configure

index c23bc0956309feb3231a4d7d301518b65c736be0..55e04da51d326802256fd0382358bc0c978c0c1e 100755 (executable)
@@ -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