pgpool2.git / summary / log / commit / refs
commit 5ae55c4cf243122a2d530a1017b8eea08b4cd2f3
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Sun May 30 03:42:25 2010 +0000
Fix to add linking neccesary libraries when SSL enabled.
configure.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.in b/configure.in
index 774fc2917..e26b25898 100644
--- a/configure.in
+++ b/configure.in
@@ -292,6 +292,9 @@ if test "$with_openssl" = yes || test "$with_openssl" = auto; then
AC_MSG_WARN([header file <openssl/ssl.h> is required for SSL])
fi
])
+
+ AC_CHECK_LIB(crypto, CRYPTO_new_ex_data, [], [AC_MSG_ERROR([library 'crypto' is required for OpenSSL])])
+ AC_CHECK_LIB(ssl, SSL_library_init, [], [AC_MSG_ERROR([library 'ssl' is required for OpenSSL])])
fi
AC_ARG_WITH(pam,
[parent: 7767ab2dc5ed]