#
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
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