Browse Source

add solaris port backend

master
Marc Alexander Lehmann 14 years ago
parent
commit
cf22419a5c
  1. 2
      ev.c
  2. 6
      libev.m4

2
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

6
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)

Loading…
Cancel
Save