--- libaitrpc/configure 2015/05/18 15:10:55 1.34.2.1 +++ libaitrpc/configure 2015/07/02 17:52:50 1.34.2.2 @@ -623,6 +623,7 @@ ac_includes_default="\ #endif" ac_subst_vars='LTLIBOBJS +ONLY_CLI LIBOBJS EGREP GREP @@ -692,9 +693,11 @@ ac_subst_files='' ac_user_opts=' enable_option_checking enable_debug +enable_server enable_cli_res_zcpy enable_tcp_sess_exp with_timeout_period +with_blob_timeout ' ac_precious_vars='build_alias host_alias @@ -1320,13 +1323,15 @@ Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-debug Build library with debug information and additional messages + --disable-server Disable RPC server --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 + --with-timeout_period=s Build library with RPC timeout period + --with-blob_timeout=sec Build library with BLOB timeout period Some influential environment variables: CC C compiler command @@ -4579,6 +4584,18 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 $as_echo "$DEBUG" >&6; } +ONLY_CLI=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Build only RPC client" >&5 +$as_echo_n "checking Build only RPC client... " >&6; } +# Check whether --enable-server was given. +if test "${enable_server+set}" = set; then : + enableval=$enable_server; if [ "$enableval" = "no" ]; then ONLY_CLI="yes"; fi +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ONLY_CLI" >&5 +$as_echo "$ONLY_CLI" >&6; } + + CLI_RES_ZC=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking Client zero-copy return variables" >&5 $as_echo_n "checking Client zero-copy return variables... " >&6; } @@ -4635,6 +4652,23 @@ _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEF_RPC_TIMEOUT" >&5 $as_echo "$DEF_RPC_TIMEOUT" >&6; } + +DEF_RPC_BLOB_TIMEOUT=60 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking RPC BLOB server timeout period" >&5 +$as_echo_n "checking RPC BLOB server timeout period... " >&6; } + +# Check whether --with-blob_timeout was given. +if test "${with_blob_timeout+set}" = set; then : + withval=$with_blob_timeout; DEF_RPC_BLOB_TIMEOUT=$withval +fi + + +cat >>confdefs.h <<_ACEOF +#define DEF_RPC_BLOB_TIMEOUT $DEF_RPC_BLOB_TIMEOUT +_ACEOF + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEF_RPC_BLOB_TIMEOUT" >&5 +$as_echo "$DEF_RPC_BLOB_TIMEOUT" >&6; } ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"