From dbfdff24f8beaea83192454166e8363e9b88c74f Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 4 Feb 2008 03:46:15 +0000 Subject: [PATCH] Fixed the test for the presence of the OpenSSL library. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index cbf3d557..9c52b30a 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,10 @@ if test x"$psql_support" = x"yes" ; then AC_SUBST(PG_LDFLAGS) PG_LIBS=-lpq AC_SUBST(PG_LIBS) + PKG_CHECK_MODULES(OPENSSL,libssl, + AC_DEFINE([USE_SSL],1, + [Define to 1 if the openssl library is present.]) + ,) fi AM_CONDITIONAL(PSQL_SUPPORT, test x"$psql_support" = x"yes") -- 2.30.2