patch-ext_openssl_config0_m4 589 B

123456789101112
  1. --- ext/openssl/config0.m4.orig.port Wed Apr 15 20:05:57 2015
  2. +++ ext/openssl/config0.m4 Sat Apr 25 18:10:11 2015
  3. @@ -19,7 +19,7 @@ if test "$PHP_OPENSSL" != "no"; then
  4. PHP_SETUP_KERBEROS(OPENSSL_SHARED_LIBADD)
  5. fi
  6. - AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
  7. + AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]),, [-lcrypto])
  8. AC_CHECK_LIB(crypto, X509_free, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
  9. AC_CHECK_FUNCS([RAND_egd])