aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2018-03-23 18:15:50 -0500
committerBrent Cook <bcook@openbsd.org>2018-03-23 18:15:50 -0500
commit31a66e1c5bc4fb09eac7b425445ef405f88e55af (patch)
treef875b56b8e799a675c15aba830c1ba9e127728a3 /m4
parent28041ddc32bb8cb3cc1e1b5bed0b73402bf59485 (diff)
parent31c98c2969f70b2db3e866352ec027f7b965c406 (diff)
downloadportable-31a66e1c5bc4fb09eac7b425445ef405f88e55af.tar.gz
portable-31a66e1c5bc4fb09eac7b425445ef405f88e55af.tar.bz2
portable-31a66e1c5bc4fb09eac7b425445ef405f88e55af.zip
Land #412, fix builds for macos 10.11
Diffstat (limited to 'm4')
-rw-r--r--m4/check-libc.m410
1 files changed, 6 insertions, 4 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4
index cacdd17..1fff77e 100644
--- a/m4/check-libc.m4
+++ b/m4/check-libc.m4
@@ -126,11 +126,13 @@ AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF],
126 -a "x$ac_cv_func_arc4random_buf" = xyes]) 126 -a "x$ac_cv_func_arc4random_buf" = xyes])
127 127
128# Check for getentropy fallback dependencies 128# Check for getentropy fallback dependencies
129AC_CHECK_FUNC([getauxval]) 129AC_CHECK_FUNCS([getauxval])
130AC_SEARCH_LIBS([clock_gettime],[rt posix4])
131AC_CHECK_FUNC([clock_gettime])
132AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) 130AC_SEARCH_LIBS([dl_iterate_phdr],[dl])
133AC_CHECK_FUNC([dl_iterate_phdr]) 131AC_CHECK_FUNCS([dl_iterate_phdr])
132
133AC_SEARCH_LIBS([clock_gettime],[rt posix4])
134AC_CHECK_FUNCS([clock_gettime])
135AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes])
134]) 136])
135 137
136AC_DEFUN([CHECK_VA_COPY], [ 138AC_DEFUN([CHECK_VA_COPY], [