From 2ab74abad62ce47fabc635efd47e42d19c75611b Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Sat, 2 Dec 2017 18:04:16 +0000 Subject: [PATCH] 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 --- modules/md/config2.m4 | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.40.0