]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/configure
es Fix error message that was clobbered when Dir tells SD it does not
[bacula/bacula] / bacula / configure
index c23bc0956309feb3231a4d7d301518b65c736be0..6bfcbfdc747bf2753f2b81bf5202171cdb92d77d 100755 (executable)
@@ -12836,7 +12836,7 @@ fi;
 #
    if test x$QWT_INC = x; then
       for root in /usr /usr/local; do
-        for ver in qwt qwt5; do
+        for ver in qwt qwt5 qwt-qt4; do
            if test -f ${root}/include/${ver}/qwt.h; then
               QWT_INC="${root}/include/${ver}"
               if test -d ${root}/lib64/; then
@@ -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