I made a little patch to get use libpq.so in case of missing libpq.a In my case when this is in place, the batch-insert-enable is honored.
Hope this is usefull, and in correct format. -- Bruno Friedmann br...@ioda-net.ch Ioda-Net Sàrl www.ioda-net.ch GPG KEY : D5C9B751C4653227
From cc4e5220afb82d94bf15bda85cb9737ff4015861 Mon Sep 17 00:00:00 2001 From: Bruno Friedmann <br...@ioda-net.ch> Date: Mon, 30 Aug 2010 18:22:07 +0200 Subject: [PATCH] Path to use libpq.so if present, to enable successfull batch-insert-detection in case of non present libpq.a static lib like in new distribution : fedora,openSUSE,RedHat Signed-off-by: Bruno Friedmann <br...@ioda-net.ch> --- bacula/configure | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/bacula/configure b/bacula/configure index 7a880ce..96bce51 100755 --- a/bacula/configure +++ b/bacula/configure @@ -22926,7 +22926,12 @@ fi SQL_INCLUDE=-I$POSTGRESQL_INCDIR SQL_LFLAGS=$POSTGRESQL_LFLAGS SQL_BINDIR=$POSTGRESQL_BINDIR - SQL_LIB=$POSTGRESQL_LIBDIR/libpq.a + #In case of non static libpq.a like in SuSE + if test -f $POSTGRESQL_LIBDIR/libpq.so; then + SQL_LIB=$POSTGRESQL_LIBDIR/libpq.so + else + SQL_LIB=$POSTGRESQL_LIBDIR/libpq.a + fi db_found=yes support_postgresql=yes -- 1.7.1
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel