--- libaitsched/configure 2014/04/27 16:20:36 1.34 +++ libaitsched/configure 2014/05/19 23:27:48 1.34.2.6 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libaitsched 5.1. +# Generated by GNU Autoconf 2.69 for libaitsched 5.2. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitsched' PACKAGE_TARNAME='libaitsched' -PACKAGE_VERSION='5.1' -PACKAGE_STRING='libaitsched 5.1' +PACKAGE_VERSION='5.2' +PACKAGE_STRING='libaitsched 5.2' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -694,6 +694,7 @@ ac_user_opts=' enable_option_checking enable_debug enable_aio +enable_epoll enable_kqueue with_kq_events ' @@ -1246,7 +1247,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 5.1 to adapt to many kinds of systems. +\`configure' configures libaitsched 5.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1312,7 +1313,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitsched 5.1:";; + short | recursive ) echo "Configuration of libaitsched 5.2:";; esac cat <<\_ACEOF @@ -1322,6 +1323,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 + --enable-epoll Enable epoll support (only under Linux) --disable-kqueue Disable kqueue support Optional Packages: @@ -1405,7 +1407,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitsched configure 5.1 +libaitsched configure 5.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1828,7 +1830,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 5.1, which was +It was created by libaitsched $as_me 5.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3377,7 +3379,7 @@ $as_echo "no" >&6; } fi if test "x$ac_ct_MKDEP" = x; then - MKDEP="no" + MKDEP="../mkdep" else case $cross_compiling:$ac_tool_warned in yes:) @@ -4025,7 +4027,7 @@ $as_echo "#define malloc rpl_malloc" >>confdefs.h fi -for ac_func in clock_gettime memset strerror timer_create timer_settime timer_delete +for ac_func in clock_gettime memset strerror timer_create timer_settime timer_delete strlcat strlcpy 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" @@ -4086,7 +4088,44 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5 $as_echo "$AIO" >&6; } -KQSUP=yes + +$as_echo "#define NO_SUPPORT 0" >>confdefs.h + + +$as_echo "#define KQ_SUPPORT 1" >>confdefs.h + + +$as_echo "#define EP_SUPPORT 2" >>confdefs.h + + + +$as_echo "#define SUP_ENABLE KQ_SUPPORT" >>confdefs.h + + +EPSUP=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll support" >&5 +$as_echo_n "checking epoll support... " >&6; } +# Check whether --enable-epoll was given. +if test "${enable_epoll+set}" = set; then : + enableval=$enable_epoll; EPSUP=$enableval + case "$enableval" in + yes) + +$as_echo "#define SUP_ENABLE EP_SUPPORT" >>confdefs.h + + KQSUP=no + ;; + *) + KQSUP=yes + ;; + esac +else + KQSUP=yes +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPSUP" >&5 +$as_echo "$EPSUP" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking kqueue support" >&5 $as_echo_n "checking kqueue support... " >&6; } # Check whether --enable-kqueue was given. @@ -4095,7 +4134,7 @@ if test "${enable_kqueue+set}" = set; then : case "$enableval" in no) -$as_echo "#define KQ_DISABLE /**/" >>confdefs.h +$as_echo "#define SUP_ENABLE NO_SUPPORT" >>confdefs.h ;; *) @@ -4633,7 +4672,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 5.1, which was +This file was extended by libaitsched $as_me 5.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4695,7 +4734,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 5.1 +libaitsched config.status 5.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"