summaryrefslogtreecommitdiff
path: root/ext/openssl/config0.m4
diff options
context:
space:
mode:
authorLeigh <leigh@php.net>2015-03-27 13:24:36 +0100
committerLeigh <leigh@php.net>2015-03-27 13:24:36 +0100
commit1b2d58a364b8ac5e135bec18f6b47902ec62c5db (patch)
tree5a16d8ab9335b05f6651a39975a79d070212d1f2 /ext/openssl/config0.m4
parentbc0e5051e3b6509027c621a11332cce60dde81cb (diff)
downloadphp-git-1b2d58a364b8ac5e135bec18f6b47902ec62c5db.tar.gz
Add RAND_egd check for compiling against LibreSSL
Diffstat (limited to 'ext/openssl/config0.m4')
-rw-r--r--ext/openssl/config0.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/config0.m4 b/ext/openssl/config0.m4
index a97114f808..bd58be3a5b 100644
--- a/ext/openssl/config0.m4
+++ b/ext/openssl/config0.m4
@@ -18,6 +18,7 @@ if test "$PHP_OPENSSL" != "no"; then
AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
AC_CHECK_LIB(crypto, X509_free, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
+ AC_CHECK_FUNCS([RAND_egd])
PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,
[