--- libaitrpc/configure 2012/07/22 20:45:41 1.11.2.1 +++ libaitrpc/configure 2012/11/05 16:14:10 1.11.2.2 @@ -692,6 +692,7 @@ ac_subst_files='' ac_user_opts=' enable_option_checking enable_debug +enable_cli_res_zcpy ' ac_precious_vars='build_alias host_alias @@ -1317,6 +1318,7 @@ 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 + --enable-cli-res-zcpy Build library with zero-copy return array from RPC client Some influential environment variables: CC C compiler command @@ -4610,6 +4612,26 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 $as_echo "$DEBUG" >&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; } +# Check whether --enable-cli-res-zcpy was given. +if test "${enable_cli_res_zcpy+set}" = set; then : + enableval=$enable_cli_res_zcpy; CLI_RES_ZC=$enableval + case "$enableval" in + yes) + +$as_echo "#define CLI_RES_ZCOPY /**/" >>confdefs.h + + ;; + *) + ;; + esac +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLI_RES_ZC" >&5 +$as_echo "$CLI_RES_ZC" >&6; } ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"