summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-11-16 01:43:52 +0000
committerroot <root>2007-11-16 01:43:52 +0000
commitb413eacc6b8c416ca28bdb58bd23a5f175e8d97d (patch)
tree4ea19eeeeaaf62e11ddb81554a6bbf1385d7c3dc
parent42cf115660f3852e9cc3b91bd79b852a99d13065 (diff)
add solaris port backend
-rw-r--r--ev.c2
-rw-r--r--libev.m46
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)