From: Kern Sibbald Date: Sun, 29 Aug 2010 13:47:50 +0000 (+0200) Subject: Rebuild configure X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3807a10211942ed5e5140466b58fb596546e4103;p=bacula%2Fbacula Rebuild configure --- diff --git a/bacula/configure b/bacula/configure index 1c24d951ff..ec644874fb 100755 --- a/bacula/configure +++ b/bacula/configure @@ -29048,6 +29048,7 @@ saved_LIBS="${LIBS}" LIBS="${saved_LIBS} ${SQL_LFLAGS}" if test x$DB_TYPE = xpostgresql; then + support_batch_insert=yes { echo "$as_me:$LINENO: checking for PQisthreadsafe in -lpq" >&5 echo $ECHO_N "checking for PQisthreadsafe in -lpq... $ECHO_C" >&6; } if test "${ac_cv_lib_pq_PQisthreadsafe+set}" = set; then @@ -29186,9 +29187,21 @@ _ACEOF fi - if test "x$ac_cv_lib_pq_PQputCopyData" != "xyes" - then - support_batch_insert=no + test "x$ac_cv_lib_pq_PQputCopyData" = "xyes" + pkg=$? + if test $pkg = 0; then + # Check whether --enable-batch-insert was given. +if test "${enable_batch_insert+set}" = set; then + enableval=$enable_batch_insert; + if test x$enableval = xno; then + support_batch_insert=no + fi + + +fi + + else + support_batch_insert=no fi fi @@ -29333,7 +29346,7 @@ _ACEOF fi - test "x$ac_cv_lib_pq_PQputCopyData" != "xyes" + test "x$ac_cv_lib_pq_PQputCopyData" = "xyes" pkg=$? fi