--- libaitsched/configure 2013/06/03 20:54:05 1.21.2.1 +++ libaitsched/configure 2013/06/11 16:07:24 1.21.2.2 @@ -694,6 +694,7 @@ ac_user_opts=' enable_option_checking enable_debug enable_aio +with_kq_events ' ac_precious_vars='build_alias host_alias @@ -1321,6 +1322,11 @@ Optional Features: --enable-debug Build library with debug information and additional messages --enable-aio Build scheduler library with AIO operations +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-kq_events Set how many kqueue events can scheduling at one time + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -4077,6 +4083,25 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5 $as_echo "$AIO" >&6; } + +KQ_EVENTS=24 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking How many kqueue events can scheduling at one time" >&5 +$as_echo_n "checking How many kqueue events can scheduling at one time... " >&6; } + +# Check whether --with-kq_events was given. +if test "${with_kq_events+set}" = set; then : + withval=$with_kq_events; KQ_EVENTS=$withval +else + KQ_EVENTS=32 +fi + + +cat >>confdefs.h <<_ACEOF +#define KQ_EVENTS $KQ_EVENTS +_ACEOF + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $KQ_EVENTS" >&5 +$as_echo "$KQ_EVENTS" >&6; } ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"