--- libaitsched/configure.in 2014/01/21 16:03:38 1.31.2.2 +++ libaitsched/configure.in 2014/01/28 13:18:57 1.32.2.1 @@ -1,8 +1,8 @@ # # $Author: misho $ -# $Id: configure.in,v 1.31.2.2 2014/01/21 16:03:38 misho Exp $ +# $Id: configure.in,v 1.32.2.1 2014/01/28 13:18:57 misho Exp $ # -AC_INIT(libaitsched, 4.7, misho@elwix.org) +AC_INIT(libaitsched, 5.0, misho@elwix.org) AC_CONFIG_SRCDIR([src/aitsched.c]) AC_CONFIG_HEADERS([inc/config.h]) @@ -68,6 +68,20 @@ AC_ARG_ENABLE(aio, ;; esac ],) AC_MSG_RESULT($AIO) + +KQSUP=yes +AC_MSG_CHECKING(kqueue support) +AC_ARG_ENABLE(kqueue, + [ --disable-kqueue Disable kqueue support ], + [ KQSUP=$enableval + case "$enableval" in + no) + AC_DEFINE(KQ_DISABLE,, [Disable kqueue support]) + ;; + *) + ;; + esac ],) +AC_MSG_RESULT($KQSUP) KQ_EVENTS=24 AC_MSG_CHECKING(How many kqueue events can scheduling at one time)