--- libaitsched/configure 2014/01/21 16:03:38 1.31.2.2 +++ libaitsched/configure 2014/01/27 14:56:26 1.31.2.3 @@ -694,6 +694,7 @@ ac_user_opts=' enable_option_checking enable_debug enable_aio +enable_kqueue with_kq_events ' ac_precious_vars='build_alias @@ -1321,6 +1322,7 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-debug Build library with debug information and additional messages --enable-aio Build scheduler library with AIO operations + --disable-kqueue Disable kqueue support Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -4083,6 +4085,26 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5 $as_echo "$AIO" >&6; } + +KQSUP=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking kqueue support" >&5 +$as_echo_n "checking kqueue support... " >&6; } +# Check whether --enable-kqueue was given. +if test "${enable_kqueue+set}" = set; then : + enableval=$enable_kqueue; KQSUP=$enableval + case "$enableval" in + no) + +$as_echo "#define KQ_DISABLE /**/" >>confdefs.h + + ;; + *) + ;; + esac +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $KQSUP" >&5 +$as_echo "$KQSUP" >&6; } KQ_EVENTS=24 { $as_echo "$as_me:${as_lineno-$LINENO}: checking How many kqueue events can scheduling at one time" >&5