From 15a3e05144785bfcaddcf2d11b6c549edd9f62ee Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 12 Feb 2012 12:29:56 +0000 Subject: Add experimental "TCP Nice" mode, disabled by default. --- infrastructure/m4/boxbackup_tests.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'infrastructure') diff --git a/infrastructure/m4/boxbackup_tests.m4 b/infrastructure/m4/boxbackup_tests.m4 index 98ab7069..dce061af 100644 --- a/infrastructure/m4/boxbackup_tests.m4 +++ b/infrastructure/m4/boxbackup_tests.m4 @@ -131,7 +131,7 @@ AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([dlfcn.h fcntl.h getopt.h process.h pwd.h signal.h]) AC_CHECK_HEADERS([syslog.h time.h cxxabi.h]) -AC_CHECK_HEADERS([netinet/in.h]) +AC_CHECK_HEADERS([netinet/in.h netinet/tcp.h]) AC_CHECK_HEADERS([sys/file.h sys/param.h sys/socket.h sys/time.h sys/types.h sys/wait.h]) AC_CHECK_HEADERS([sys/uio.h sys/xattr.h]) AC_CHECK_HEADERS([bsd/unistd.h]) @@ -193,10 +193,14 @@ AC_CHECK_MEMBERS([struct sockaddr_in.sin_len],,, [[ ]]) AC_CHECK_MEMBERS([DIR.d_fd],,, [[#include ]]) AC_CHECK_MEMBERS([DIR.dd_fd],,, [[#include ]]) +AC_CHECK_MEMBERS([struct tcp_info.tcpi_rtt],,, [[#include ]]) AC_CHECK_DECLS([INFTIM],,, [[#include ]]) AC_CHECK_DECLS([SO_PEERCRED],,, [[#include ]]) +AC_CHECK_DECLS([SO_SNDBUF],,, [[#include ]]) AC_CHECK_DECLS([O_BINARY],,,) +AC_CHECK_DECLS([SOL_TCP],,, [[#include ]]) +AC_CHECK_DECLS([TCP_INFO],,, [[#include ]]) # Solaris provides getpeerucred() instead of getpeereid() or SO_PEERCRED AC_CHECK_HEADERS([ucred.h]) -- cgit v1.2.3