version 1.34.2.4, 2014/05/19 22:28:50
|
version 1.34.2.5, 2014/05/19 23:14:08
|
Line 69 AC_ARG_ENABLE(aio,
|
Line 69 AC_ARG_ENABLE(aio,
|
esac ],) |
esac ],) |
AC_MSG_RESULT($AIO) |
AC_MSG_RESULT($AIO) |
|
|
KQSUP=yes | AC_DEFINE(NO_SUPPORT, 0, [select support]) |
| AC_DEFINE(KQ_SUPPORT, 1, [kqueue support]) |
| AC_DEFINE(EP_SUPPORT, 2, [epoll support]) |
| |
| AC_DEFINE(SUP_ENABLE, KQ_SUPPORT, [support type]) |
| |
| EPSUP=no |
| AC_MSG_CHECKING(epoll support) |
| AC_ARG_ENABLE(epoll, |
| [ --enable-epoll Enable epoll support (only under Linux) ], |
| [ EPSUP=$enableval |
| case "$enableval" in |
| yes) |
| AC_DEFINE(SUP_ENABLE, EP_SUPPORT, [support type]) |
| KQSUP=no |
| ;; |
| *) |
| KQSUP=yes |
| ;; |
| esac ], [ KQSUP=yes ]) |
| AC_MSG_RESULT($EPSUP) |
| |
AC_MSG_CHECKING(kqueue support) |
AC_MSG_CHECKING(kqueue support) |
AC_ARG_ENABLE(kqueue, |
AC_ARG_ENABLE(kqueue, |
[ --disable-kqueue Disable kqueue support ], |
[ --disable-kqueue Disable kqueue support ], |
[ KQSUP=$enableval |
[ KQSUP=$enableval |
case "$enableval" in |
case "$enableval" in |
yes) | no) |
AC_DEFINE(KQ_ENABLE,, [Enable kqueue support]) | AC_DEFINE(SUP_ENABLE, NO_SUPPORT, [support type]) |
;; |
;; |
*) |
*) |
;; |
;; |
esac ], [ AC_DEFINE(KQ_ENABLE,, [Enable kqueue support]) ]) | esac ], ) |
AC_MSG_RESULT($KQSUP) |
AC_MSG_RESULT($KQSUP) |
|
|
KQ_EVENTS=24 |
KQ_EVENTS=24 |
Line 90 AC_ARG_WITH(kq_events,
|
Line 111 AC_ARG_WITH(kq_events,
|
[ KQ_EVENTS=$withval ], KQ_EVENTS=32) |
[ KQ_EVENTS=$withval ], KQ_EVENTS=32) |
AC_DEFINE_UNQUOTED(KQ_EVENTS, $KQ_EVENTS, [ How many kqueue events can scheduling at one time ]) |
AC_DEFINE_UNQUOTED(KQ_EVENTS, $KQ_EVENTS, [ How many kqueue events can scheduling at one time ]) |
AC_MSG_RESULT($KQ_EVENTS) |
AC_MSG_RESULT($KQ_EVENTS) |
|
|
EPSUP=no |
|
AC_MSG_CHECKING(epoll support) |
|
AC_ARG_ENABLE(epoll, |
|
[ --enable-epoll Enable epoll support (only under Linux) ], |
|
[ EPSUP=$enableval |
|
case "$enableval" in |
|
yes) |
|
AC_DEFINE(EP_ENABLE,, [Enable epoll support]) |
|
;; |
|
*) |
|
;; |
|
esac ],) |
|
AC_MSG_RESULT($EPSUP) |
|
|
|
AC_CONFIG_FILES([Makefile |
AC_CONFIG_FILES([Makefile |
inc/Makefile |
inc/Makefile |