From b413eacc6b8c416ca28bdb58bd23a5f175e8d97d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Nov 2007 01:43:52 +0000 Subject: add solaris port backend --- ev.c | 2 +- libev.m4 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ev.c b/ev.c index 03da762..25e7d74 100644 --- a/ev.c +++ b/ev.c @@ -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 diff --git a/libev.m4 b/libev.m4 index e6fe8fc..adb4578 100644 --- a/libev.m4 +++ b/libev.m4 @@ -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) -- cgit v1.2.3