On 15.04.2015 20:43, Stefan Sperling wrote: > LibreSSL does not provide the RAND_egd() function. > > This patch adds a configure check to allow building mod_ssl with LibreSSL. > > Index: modules/ssl/config.m4 > =================================================================== > --- modules/ssl/config.m4 (revision 1673798) > +++ modules/ssl/config.m4 (working copy) > @@ -44,6 +44,12 @@ > # structure, so ask libtool to hide everything else: > APR_ADDTO(MOD_SSL_LDADD, [-export-symbols-regex ssl_module]) > fi > + > + have_rand_egd="no" > + AC_CHECK_LIB(crypto, RAND_egd, [have_rand_egd="yes"]) > + if test "$have_rand_egd" = "yes"; then > + AC_DEFINE([HAVE_RAND_EGD], [1], [Define if RAND_egd exists.]) > + fi > else > enable_ssl=no > fi
We already have a couple of OpenSSL function checks in (the top-level) acinclude.m4 - can you add it there? Kaspar
