add clock_gettime for macos 10.11 and earlier

This commit is contained in:
Brent Cook
2018-03-22 20:50:24 -05:00
parent 78600e9bec
commit 987aa6a084
5 changed files with 47 additions and 4 deletions

View File

@@ -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], [