summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libev.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/libev.m4 b/libev.m4
index 39c28f4..322b659 100644
--- a/libev.m4
+++ b/libev.m4
@@ -9,6 +9,7 @@ AC_CHECK_FUNCS(inotify_init epoll_ctl kqueue port_create poll select)
AC_CHECK_FUNC(clock_gettime, [], [
if test -z "$LIBEV_M4_AVOID_LIBRT"; then
AC_CHECK_LIB(rt, clock_gettime)
+ unset ac_cv_func_clock_gettime
AC_CHECK_FUNCS(clock_gettime)
fi
])