From 987aa6a084312be8501bdda42b0e5aab3b84d52a Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 22 Mar 2018 20:50:24 -0500 Subject: add clock_gettime for macos 10.11 and earlier --- m4/check-libc.m4 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'm4') diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index cacdd17..df0266a 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 @@ -131,6 +131,8 @@ AC_SEARCH_LIBS([clock_gettime],[rt posix4]) AC_CHECK_FUNC([clock_gettime]) AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) AC_CHECK_FUNC([dl_iterate_phdr]) + +AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes]) ]) AC_DEFUN([CHECK_VA_COPY], [ -- cgit v1.2.3-55-g6feb