version 1.32, 2015/01/15 01:42:36
|
version 1.36, 2015/07/22 20:01:46
|
Line 2
|
Line 2
|
# $Author$ |
# $Author$ |
# $Id$ |
# $Id$ |
# |
# |
AC_INIT(libaitrpc, 7.2, misho@elwix.org) | AC_INIT(libaitrpc, 9.2, misho@elwix.org) |
AC_CONFIG_SRCDIR([src/aitrpc.c]) |
AC_CONFIG_SRCDIR([src/aitrpc.c]) |
AC_CONFIG_HEADERS([inc/config.h]) |
AC_CONFIG_HEADERS([inc/config.h]) |
|
|
Line 68 AC_ARG_ENABLE(debug,
|
Line 68 AC_ARG_ENABLE(debug,
|
esac ],) |
esac ],) |
AC_MSG_RESULT($DEBUG) |
AC_MSG_RESULT($DEBUG) |
|
|
|
ONLY_CLI=no |
|
AC_MSG_CHECKING(Build only RPC client) |
|
AC_ARG_ENABLE(server, |
|
[ --disable-server Disable RPC server ], |
|
[ if [[ "$enableval" = "no" ]]; then |
|
ONLY_CLI="yes" |
|
AC_DEFINE(ONLY_CLI, 1, [ Disable RPC server ]) |
|
else |
|
AC_DEFINE(ONLY_CLI, 0, [ Disable RPC server ]) |
|
fi ], AC_DEFINE(ONLY_CLI, 0, [ Disable RPC server ])) |
|
AC_MSG_RESULT($ONLY_CLI) |
|
AC_SUBST(ONLY_CLI) |
|
|
CLI_RES_ZC=no |
CLI_RES_ZC=no |
AC_MSG_CHECKING(Client zero-copy return variables) |
AC_MSG_CHECKING(Client zero-copy return variables) |
AC_ARG_ENABLE(cli-res-zcpy, |
AC_ARG_ENABLE(cli-res-zcpy, |
Line 101 AC_MSG_RESULT($TCP_SESSION_TIMEOUT)
|
Line 114 AC_MSG_RESULT($TCP_SESSION_TIMEOUT)
|
DEF_RPC_TIMEOUT=60 |
DEF_RPC_TIMEOUT=60 |
AC_MSG_CHECKING(RPC server timeout period) |
AC_MSG_CHECKING(RPC server timeout period) |
AC_ARG_WITH(timeout_period, |
AC_ARG_WITH(timeout_period, |
[ --with-timeout_period Build library with TCP timeout period], | [ --with-timeout_period=s Build library with RPC timeout period ], |
[ DEF_RPC_TIMEOUT=$withval ],) |
[ DEF_RPC_TIMEOUT=$withval ],) |
AC_DEFINE_UNQUOTED(DEF_RPC_TIMEOUT, $DEF_RPC_TIMEOUT, [Build library with TCP timeout period]) | AC_DEFINE_UNQUOTED(DEF_RPC_TIMEOUT, $DEF_RPC_TIMEOUT, [Build library with RPC timeout period]) |
AC_MSG_RESULT($DEF_RPC_TIMEOUT) |
AC_MSG_RESULT($DEF_RPC_TIMEOUT) |
|
|
|
DEF_RPC_BLOB_TIMEOUT=60 |
|
AC_MSG_CHECKING(RPC BLOB server timeout period) |
|
AC_ARG_WITH(blob_timeout, |
|
[ --with-blob_timeout=sec Build library with BLOB timeout period ], |
|
[ DEF_RPC_BLOB_TIMEOUT=$withval ],) |
|
AC_DEFINE_UNQUOTED(DEF_RPC_BLOB_TIMEOUT, $DEF_RPC_BLOB_TIMEOUT, [Build library with BLOB timeout period]) |
|
AC_MSG_RESULT($DEF_RPC_BLOB_TIMEOUT) |
|
|
|
|
AC_CONFIG_FILES([Makefile |
AC_CONFIG_FILES([Makefile |