summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-02-03 20:59:08 +0000
committerroot <root>2011-02-03 20:59:08 +0000
commitb817b653122bd9cdbb127aa0b8976ef95cfdf2a9 (patch)
tree8bb987ffe48eabf7ff0f2eed15b5efc04d7f9cf0
parent470993bbd2a9565720dfa8060175849ea20b91c2 (diff)
*** empty log message ***
-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