From: Marco van Wieringen Date: Sat, 1 May 2010 19:44:28 +0000 (+0200) Subject: Tweak update configure X-Git-Tag: Release-5.2.1~1376 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b9affe967aed863217ec79db1ea6c31cd0f1759;p=bacula%2Fbacula Tweak update configure --- diff --git a/bacula/configure b/bacula/configure index 4bcf0024f6..0b283d2303 100755 --- a/bacula/configure +++ b/bacula/configure @@ -27907,6 +27907,8 @@ else OPENSSL_LIBS="" OPENSSL_INC="" fi +{ $as_echo "$as_me:$LINENO: result: $support_tls" >&5 +$as_echo "$support_tls" >&6; } if test "$support_tls" = "no"; then OPENSSL_LIBS="" @@ -27991,8 +27993,6 @@ fi fi -{ $as_echo "$as_me:$LINENO: result: $support_tls" >&5 -$as_echo "$support_tls" >&6; } @@ -28700,6 +28700,12 @@ $as_echo "no" >&6; } $as_echo "$as_me: error: Invalid PostgreSQL directory $withval - unable to find libpq-fe.h under $withval" >&2;} { (exit 1); exit 1; }; } fi + cat >>confdefs.h <<\_ACEOF +#define HAVE_POSTGRESQL 1 +_ACEOF + + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } POSTGRESQL_LFLAGS="-L$POSTGRESQL_LIBDIR -lpq" { $as_echo "$as_me:$LINENO: checking for crypt" >&5 $as_echo_n "checking for crypt... " >&6; } @@ -28865,12 +28871,6 @@ fi SQL_BINDIR=$POSTGRESQL_BINDIR SQL_LIB=$POSTGRESQL_LIBDIR/libpq.a - cat >>confdefs.h <<\_ACEOF -#define HAVE_POSTGRESQL 1 -_ACEOF - - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } db_found=yes support_postgresql=yes db_type=PostgreSQL