summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.embed2
-rw-r--r--libev.m4 (renamed from ev.m4)3
2 files changed, 4 insertions, 1 deletions
diff --git a/README.embed b/README.embed
index ef8fb3e..df5491a 100644
--- a/README.embed
+++ b/README.embed
@@ -64,7 +64,7 @@ FILESETS
AUTOCONF SUPPORT
Instead of using EV_STANDALONE=1 and providing your config in whatever
- way you want, you can also m4_include([ev.m4]) in your configure.ac
+ way you want, you can also m4_include([libev.m4]) in your configure.ac
and leave EV_STANDALONE off. ev.c will then include "config.h" and
configure itself accordingly.
diff --git a/ev.m4 b/libev.m4
index d12ec8d..e6fe8fc 100644
--- a/ev.m4
+++ b/libev.m4
@@ -8,7 +8,10 @@ AC_CHECK_FUNCS(epoll_ctl kqueue)
AC_CHECK_FUNC(clock_gettime, [], [
AC_CHECK_LIB(rt, clock_gettime)
+ AC_CHECK_FUNCS(clock_gettime)
])
+AC_CHECK_LIB(m,ceil)
+