--- libaitrpc/configure 2013/11/11 22:48:52 1.23 +++ libaitrpc/configure 2013/11/14 21:44:13 1.24 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libaitrpc 6.3. +# Generated by GNU Autoconf 2.69 for libaitrpc 6.4. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitrpc' PACKAGE_TARNAME='libaitrpc' -PACKAGE_VERSION='6.3' -PACKAGE_STRING='libaitrpc 6.3' +PACKAGE_VERSION='6.4' +PACKAGE_STRING='libaitrpc 6.4' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -693,6 +693,8 @@ ac_user_opts=' enable_option_checking enable_debug enable_cli_res_zcpy +enable_tcp_sess_exp +with_timeout_period ' ac_precious_vars='build_alias host_alias @@ -1243,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 libaitrpc 6.3 to adapt to many kinds of systems. +\`configure' configures libaitrpc 6.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1309,7 +1311,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitrpc 6.3:";; + short | recursive ) echo "Configuration of libaitrpc 6.4:";; esac cat <<\_ACEOF @@ -1319,7 +1321,13 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-debug Build library with debug information and additional messages --enable-cli-res-zcpy Build library with zero-copy return array from RPC client + --enable-tcp_sess_exp Build library with TCP session expiration +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-timeout_period Build library with TCP timeout period + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1396,7 +1404,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitrpc configure 6.3 +libaitrpc configure 6.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1949,7 +1957,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 libaitrpc $as_me 6.3, which was +It was created by libaitrpc $as_me 6.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4591,6 +4599,43 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLI_RES_ZC" >&5 $as_echo "$CLI_RES_ZC" >&6; } +TCP_SESSION_TIMEOUT=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking RPC server can to do expiring for TCP sessions" >&5 +$as_echo_n "checking RPC server can to do expiring for TCP sessions... " >&6; } +# Check whether --enable-tcp_sess_exp was given. +if test "${enable_tcp_sess_exp+set}" = set; then : + enableval=$enable_tcp_sess_exp; TCP_SESSION_TIMEOUT=$enableval + case "$enableval" in + yes) + +$as_echo "#define TCP_SESSION_TIMEOUT /**/" >>confdefs.h + + ;; + *) + ;; + esac +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCP_SESSION_TIMEOUT" >&5 +$as_echo "$TCP_SESSION_TIMEOUT" >&6; } + +DEF_RPC_TIMEOUT=60 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking RPC server timeout period" >&5 +$as_echo_n "checking RPC server timeout period... " >&6; } + +# Check whether --with-timeout_period was given. +if test "${with_timeout_period+set}" = set; then : + withval=$with_timeout_period; DEF_RPC_TIMEOUT=$withval +fi + + +cat >>confdefs.h <<_ACEOF +#define DEF_RPC_TIMEOUT $DEF_RPC_TIMEOUT +_ACEOF + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEF_RPC_TIMEOUT" >&5 +$as_echo "$DEF_RPC_TIMEOUT" >&6; } + ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" cat >confcache <<\_ACEOF @@ -5099,7 +5144,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 libaitrpc $as_me 6.3, which was +This file was extended by libaitrpc $as_me 6.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5161,7 +5206,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="\\ -libaitrpc config.status 6.3 +libaitrpc config.status 6.4 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"