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=""
fi
-{ $as_echo "$as_me:$LINENO: result: $support_tls" >&5
-$as_echo "$support_tls" >&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; }
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