diff options
author | Brent Cook <busterb@gmail.com> | 2018-03-22 20:50:24 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2018-03-22 21:04:43 -0500 |
commit | 987aa6a084312be8501bdda42b0e5aab3b84d52a (patch) | |
tree | 9c3cf68f0ca3cb172d5d2238563c979b29543d08 /m4 | |
parent | 78600e9bec2b52f0f8a0f7ce376f3783999bb824 (diff) | |
download | portable-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.m4 | 2 |
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]) | |||
131 | AC_CHECK_FUNC([clock_gettime]) | 131 | AC_CHECK_FUNC([clock_gettime]) |
132 | AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) | 132 | AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) |
133 | AC_CHECK_FUNC([dl_iterate_phdr]) | 133 | AC_CHECK_FUNC([dl_iterate_phdr]) |
134 | |||
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], [ |