--- libaitsched/configure 2013/10/21 13:38:05 1.29 +++ libaitsched/configure 2014/01/28 13:17:33 1.32 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libaitsched 4.4. +# Generated by GNU Autoconf 2.69 for libaitsched 4.7. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitsched' PACKAGE_TARNAME='libaitsched' -PACKAGE_VERSION='4.4' -PACKAGE_STRING='libaitsched 4.4' +PACKAGE_VERSION='4.7' +PACKAGE_STRING='libaitsched 4.7' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -694,6 +694,7 @@ ac_user_opts=' enable_option_checking enable_debug enable_aio +enable_kqueue with_kq_events ' ac_precious_vars='build_alias @@ -1245,7 +1246,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 4.4 to adapt to many kinds of systems. +\`configure' configures libaitsched 4.7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1311,7 +1312,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitsched 4.4:";; + short | recursive ) echo "Configuration of libaitsched 4.7:";; esac cat <<\_ACEOF @@ -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] @@ -1403,7 +1405,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitsched configure 4.4 +libaitsched configure 4.7 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1826,7 +1828,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 4.4, which was +It was created by libaitsched $as_me 4.7, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3391,8 +3393,8 @@ fi -CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" -LDFLAGS="-L/usr/local/lib ${LDFLAGS}" +CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" +LDFLAGS="${LDFLAGS}" # Checks for libraries. @@ -4084,6 +4086,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 $as_echo_n "checking How many kqueue events can scheduling at one time... " >&6; } @@ -4611,7 +4633,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 4.4, which was +This file was extended by libaitsched $as_me 4.7, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4673,7 +4695,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 4.4 +libaitsched config.status 4.7 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"