summaryrefslogtreecommitdiff
path: root/ext/openssl/config0.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/config0.m4')
-rw-r--r--ext/openssl/config0.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/openssl/config0.m4 b/ext/openssl/config0.m4
index a51d9e1930..e9699605fe 100644
--- a/ext/openssl/config0.m4
+++ b/ext/openssl/config0.m4
@@ -16,6 +16,8 @@ if test "$PHP_OPENSSL" != "no"; then
PHP_SETUP_KERBEROS(OPENSSL_SHARED_LIBADD)
fi
+ AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
+
PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,
[
AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])