aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2018-03-22 20:50:24 -0500
committerBrent Cook <busterb@gmail.com>2018-03-22 21:04:43 -0500
commit987aa6a084312be8501bdda42b0e5aab3b84d52a (patch)
tree9c3cf68f0ca3cb172d5d2238563c979b29543d08 /m4
parent78600e9bec2b52f0f8a0f7ce376f3783999bb824 (diff)
downloadportable-987aa6a084312be8501bdda42b0e5aab3b84d52a.tar.gz
portable-987aa6a084312be8501bdda42b0e5aab3b84d52a.tar.bz2
portable-987aa6a084312be8501bdda42b0e5aab3b84d52a.zip
add clock_gettime for macos 10.11 and earlier
Diffstat (limited to 'm4')
-rw-r--r--m4/check-libc.m42
1 files changed, 2 insertions, 0 deletions
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])
131AC_CHECK_FUNC([clock_gettime]) 131AC_CHECK_FUNC([clock_gettime])
132AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) 132AC_SEARCH_LIBS([dl_iterate_phdr],[dl])
133AC_CHECK_FUNC([dl_iterate_phdr]) 133AC_CHECK_FUNC([dl_iterate_phdr])
134
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], [