From 7b0376f11079bec4de73f2367644f92bd07318dc Mon Sep 17 00:00:00 2001 From: root Date: Sat, 10 Nov 2007 15:15:49 +0000 Subject: *** empty log message *** --- README.embed | 2 +- ev.m4 | 14 -------------- libev.m4 | 17 +++++++++++++++++ 3 files changed, 18 insertions(+), 15 deletions(-) delete mode 100644 ev.m4 create mode 100644 libev.m4 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/ev.m4 deleted file mode 100644 index d12ec8d..0000000 --- a/ev.m4 +++ /dev/null @@ -1,14 +0,0 @@ -dnl this file is part of libev, do not make local modifications -dnl http://software.schmorp.de/pkg/libev - -dnl libev support -AC_CHECK_HEADERS(sys/epoll.h sys/event.h sys/queue.h) - -AC_CHECK_FUNCS(epoll_ctl kqueue) - -AC_CHECK_FUNC(clock_gettime, [], [ - AC_CHECK_LIB(rt, clock_gettime) -]) - - - diff --git a/libev.m4 b/libev.m4 new file mode 100644 index 0000000..e6fe8fc --- /dev/null +++ b/libev.m4 @@ -0,0 +1,17 @@ +dnl this file is part of libev, do not make local modifications +dnl http://software.schmorp.de/pkg/libev + +dnl libev support +AC_CHECK_HEADERS(sys/epoll.h sys/event.h sys/queue.h) + +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) + + + -- cgit v1.2.3