]> granicus.if.org Git - apache/commitdiff
On the 2.4.x-mod_md branch:
authorStefan Eissing <icing@apache.org>
Sat, 2 Dec 2017 18:04:16 +0000 (18:04 +0000)
committerStefan Eissing <icing@apache.org>
Sat, 2 Dec 2017 18:04:16 +0000 (18:04 +0000)
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

index a5e1e3ec20a329e331f134cf9b1e4817ab0cabf1..f1541073279eb43e4b3e9ea4190f413e9ec02ad6 100644 (file)
@@ -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