summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2016-11-28 12:37:36 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2016-11-28 12:39:11 -0500
commitdf61f19daf08de1e7baa88cfb01ec215bc18da10 (patch)
tree43b91c7016f0082618770fcc2880a56e51ab5228 /configure.ac
parente628fc3509a20b7e7dd03ec522b27f185fe2086c (diff)
downloadlighttpd1.4-df61f19daf08de1e7baa88cfb01ec215bc18da10.tar.gz
lighttpd1.4-df61f19daf08de1e7baa88cfb01ec215bc18da10.zip
[core] compile fix for Mac OS X 10.6 (old) (fixes #2773)
Mac OS X 10.7 Lion introduces arc4random_buf() (thx ryandesign) x-ref: "Mac OS X build issue Undefined symbols" https://redmine.lighttpd.net/issues/2773
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 21ff518f..421702da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -773,7 +773,7 @@ AC_CHECK_FUNCS([dup2 getcwd inet_ntoa inet_ntop inet_pton issetugid memset mmap
getuid select signal pathconf madvise posix_fadvise posix_madvise \
writev sigaction sendfile64 send_file kqueue port_create localtime_r gmtime_r \
memset_s explicit_bzero clock_gettime \
- getentropy arc4random jrand48 srandom getloadavg])
+ getentropy arc4random_buf jrand48 srandom getloadavg])
AC_CHECK_HEADERS([linux/random.h],[
AC_CHECK_FUNC([getrandom], AC_DEFINE([HAVE_GETRANDOM], [1], [getrandom]))
])