summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes2
-rw-r--r--libev.m44
2 files changed, 4 insertions, 2 deletions
diff --git a/Changes b/Changes
index da55f1a..c9b05c0 100644
--- a/Changes
+++ b/Changes
@@ -5,6 +5,8 @@ TODO: ev_loop_wakeup
TODO: windows handle caching, added/not removed in ev_select.c
- do no rely on ceil() in ev_e?poll.c.
- backport libev to HP-UX versions before 11 v3.
+ - configure did not detect nanosleep and clock_gettime properly when
+ they are available in the libc (as opposed to -lrt).
4.03 Tue Jan 11 14:37:25 CET 2011
- officially support polling files with all backends.
diff --git a/libev.m4 b/libev.m4
index 0930c0c..e3f4c81 100644
--- a/libev.m4
+++ b/libev.m4
@@ -6,7 +6,7 @@ AC_CHECK_HEADERS(sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.
AC_CHECK_FUNCS(inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd)
-AC_CHECK_FUNC(clock_gettime, [], [
+AC_CHECK_FUNCS(clock_gettime, [], [
dnl on linux, try syscall wrapper first
if test $(uname) = Linux; then
AC_MSG_CHECKING(for clock_gettime syscall)
@@ -27,7 +27,7 @@ AC_CHECK_FUNC(clock_gettime, [], [
fi
])
-AC_CHECK_FUNC(nanosleep, [], [
+AC_CHECK_FUNCS(nanosleep, [], [
if test -z "$LIBEV_M4_AVOID_LIBRT"; then
AC_CHECK_LIB(rt, nanosleep)
unset ac_cv_func_nanosleep