--- libaitsched/configure 2012/08/02 12:58:02 1.12.2.2 +++ libaitsched/configure 2013/08/15 19:10:47 1.23 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libaitsched 2.6. +# Generated by GNU Autoconf 2.69 for libaitsched 3.8. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitsched' PACKAGE_TARNAME='libaitsched' -PACKAGE_VERSION='2.6' -PACKAGE_STRING='libaitsched 2.6' +PACKAGE_VERSION='3.8' +PACKAGE_STRING='libaitsched 3.8' PACKAGE_BUGREPORT='misho@openbsd-bg.org' PACKAGE_URL='' @@ -694,6 +694,7 @@ ac_user_opts=' enable_option_checking enable_debug enable_aio +with_kq_events ' ac_precious_vars='build_alias host_alias @@ -1244,7 +1245,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libaitsched 2.6 to adapt to many kinds of systems. +\`configure' configures libaitsched 3.8 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1310,7 +1311,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitsched 2.6:";; + short | recursive ) echo "Configuration of libaitsched 3.8:";; esac cat <<\_ACEOF @@ -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 @@ -1397,7 +1403,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitsched configure 2.6 +libaitsched configure 3.8 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1820,7 +1826,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libaitsched $as_me 2.6, which was +It was created by libaitsched $as_me 3.8, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2172,6 +2178,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers inc/config.h" +ac_cv_func_malloc_0_nonnull="yes" +ac_cv_func_realloc_0_nonnull="yes" + # Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -4014,7 +4023,7 @@ $as_echo "#define malloc rpl_malloc" >>confdefs.h fi -for ac_func in clock_gettime memset strerror +for ac_func in clock_gettime memset strerror timer_create timer_settime do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -4075,6 +4084,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" cat >confcache <<\_ACEOF @@ -4583,7 +4611,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libaitsched $as_me 2.6, which was +This file was extended by libaitsched $as_me 3.8, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4645,7 +4673,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libaitsched config.status 2.6 +libaitsched config.status 3.8 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"