]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/configure
Build configure from Eric's configure.in
[bacula/bacula] / 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