--- libaitrpc/configure 2013/09/05 00:43:03 1.22 +++ libaitrpc/configure 2020/06/25 19:11:00 1.38 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libaitrpc 6.2. +# Generated by GNU Autoconf 2.69 for libaitrpc 9.4. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libaitrpc' PACKAGE_TARNAME='libaitrpc' -PACKAGE_VERSION='6.2' -PACKAGE_STRING='libaitrpc 6.2' +PACKAGE_VERSION='9.4' +PACKAGE_STRING='libaitrpc 9.4' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -623,6 +623,7 @@ ac_includes_default="\ #endif" ac_subst_vars='LTLIBOBJS +ONLY_CLI LIBOBJS EGREP GREP @@ -640,6 +641,7 @@ build_os build_vendor build_cpu build +RANLIB INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM @@ -692,7 +694,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 @@ -1243,7 +1249,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.2 to adapt to many kinds of systems. +\`configure' configures libaitrpc 9.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1309,7 +1315,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libaitrpc 6.2:";; + short | recursive ) echo "Configuration of libaitrpc 9.4:";; esac cat <<\_ACEOF @@ -1318,8 +1324,16 @@ 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=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 CFLAGS C compiler flags @@ -1396,7 +1410,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libaitrpc configure 6.2 +libaitrpc configure 9.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1949,7 +1963,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.2, which was +It was created by libaitrpc $as_me 9.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3216,7 +3230,99 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 @@ -3406,7 +3512,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:) @@ -3422,8 +3528,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. @@ -4571,6 +4677,31 @@ 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" + +$as_echo "#define ONLY_CLI 1" >>confdefs.h + + else + +$as_echo "#define ONLY_CLI 0" >>confdefs.h + + fi +else + +$as_echo "#define ONLY_CLI 0" >>confdefs.h + +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; } @@ -4591,6 +4722,61 @@ 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; } + +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" cat >confcache <<\_ACEOF @@ -5099,7 +5285,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.2, which was +This file was extended by libaitrpc $as_me 9.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5161,7 +5347,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.2 +libaitrpc config.status 9.4 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"