diff options
-rw-r--r-- | ev.c | 2 | ||||
-rw-r--r-- | libev.m4 | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -61,7 +61,7 @@ extern "C" { # define EV_USE_KQUEUE 1 # endif -# if HAVE_PORT_H && HAVE_PORT_H && HAVE_PORT_CREATE && !defined (EV_USE_PORT) +# if HAVE_PORT_H && HAVE_PORT_CREATE && !defined (EV_USE_PORT) # define EV_USE_PORT 1 # endif @@ -2,16 +2,16 @@ 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_HEADERS(sys/epoll.h sys/event.h sys/queue.h port.h) -AC_CHECK_FUNCS(epoll_ctl kqueue) +AC_CHECK_FUNCS(epoll_ctl kqueue port_create) AC_CHECK_FUNC(clock_gettime, [], [ AC_CHECK_LIB(rt, clock_gettime) AC_CHECK_FUNCS(clock_gettime) ]) -AC_CHECK_LIB(m,ceil) +AC_CHECK_LIB(m, ceil) |