From: Stefan Eissing Date: Sat, 2 Dec 2017 18:04:16 +0000 (+0000) Subject: On the 2.4.x-mod_md branch: X-Git-Tag: 2.4.30~142^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ab74abad62ce47fabc635efd47e42d19c75611b;p=apache On the 2.4.x-mod_md branch: merge of r1816970 from trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-mod_md@1816972 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/md/config2.m4 b/modules/md/config2.m4 index a5e1e3ec20..f154107327 100644 --- a/modules/md/config2.m4 +++ b/modules/md/config2.m4 @@ -286,6 +286,10 @@ APACHE_MODULE(md, [Managed Domain handling], $md_objs, , most, [ AC_MSG_WARN([libcurl not found]) enable_md=no fi + + AC_CHECK_FUNCS([arc4random_buf], + [APR_ADDTO(MOD_CPPFLAGS, ["-DMD_HAVE_ARC4RANDOM"])], []) + ]) dnl # end of module specific part