X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fautoconf%2Fconfigure.in;h=a79d9013fa989cc9e6746588c8c368349f90272e;hb=316efbd8ce4b42703ace2713798fa1948dba4196;hp=b15ec2315279247a092c84189765639d024f93eb;hpb=7acac580713ba9c6b00ffd09ba7ecb9533627aaf;p=bacula%2Fbacula diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index b15ec23152..a79d9013fa 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1757,7 +1757,7 @@ dnl Check if postgresql can support batch mode if test x$DB_TYPE = xpostgresql; then AC_CHECK_LIB(pq, PQisthreadsafe, AC_DEFINE(HAVE_PQISTHREADSAFE, 1, [Set if have PQisthreadsafe])) AC_CHECK_LIB(pq, PQputCopyData, AC_DEFINE(HAVE_PQ_COPY, 1, [Set if have PQputCopyData])) - test "x$ac_cv_lib_pq_PQputCopyData" != "xyes" + test "x$ac_cv_lib_pq_PQputCopyData" = "xyes" pkg=$? if test $pkg = 0; then AC_ARG_ENABLE(batch-insert, @@ -1781,7 +1781,7 @@ if test x$DB_TYPE = xdbi; then if test $DB_PROG = postgresql; then AC_CHECK_LIB(pq, PQisthreadsafe, AC_DEFINE(HAVE_PQISTHREADSAFE)) AC_CHECK_LIB(pq, PQputCopyData, AC_DEFINE(HAVE_PQ_COPY)) - test "x$ac_cv_lib_pq_PQputCopyData" != "xyes" + test "x$ac_cv_lib_pq_PQputCopyData" = "xyes" pkg=$? fi