diff options
author | Brent Cook <bcook@openbsd.org> | 2018-03-23 18:15:50 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2018-03-23 18:15:50 -0500 |
commit | 31a66e1c5bc4fb09eac7b425445ef405f88e55af (patch) | |
tree | f875b56b8e799a675c15aba830c1ba9e127728a3 /m4 | |
parent | 28041ddc32bb8cb3cc1e1b5bed0b73402bf59485 (diff) | |
parent | 31c98c2969f70b2db3e866352ec027f7b965c406 (diff) | |
download | portable-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.m4 | 10 |
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 |
129 | AC_CHECK_FUNC([getauxval]) | 129 | AC_CHECK_FUNCS([getauxval]) |
130 | AC_SEARCH_LIBS([clock_gettime],[rt posix4]) | ||
131 | AC_CHECK_FUNC([clock_gettime]) | ||
132 | AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) | 130 | AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) |
133 | AC_CHECK_FUNC([dl_iterate_phdr]) | 131 | AC_CHECK_FUNCS([dl_iterate_phdr]) |
132 | |||
133 | AC_SEARCH_LIBS([clock_gettime],[rt posix4]) | ||
134 | AC_CHECK_FUNCS([clock_gettime]) | ||
135 | AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes]) | ||
134 | ]) | 136 | ]) |
135 | 137 | ||
136 | AC_DEFUN([CHECK_VA_COPY], [ | 138 | AC_DEFUN([CHECK_VA_COPY], [ |