--- libaitsched/configure.in 2014/01/21 16:03:38 1.31.2.2 +++ libaitsched/configure.in 2014/01/27 14:56:27 1.31.2.3 @@ -1,6 +1,6 @@ # # $Author: misho $ -# $Id: configure.in,v 1.31.2.2 2014/01/21 16:03:38 misho Exp $ +# $Id: configure.in,v 1.31.2.3 2014/01/27 14:56:27 misho Exp $ # AC_INIT(libaitsched, 4.7, misho@elwix.org) AC_CONFIG_SRCDIR([src/aitsched.c]) @@ -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)