From: Tinderbox User Date: Tue, 19 Sep 2017 01:08:19 +0000 (+0000) Subject: regen master X-Git-Tag: v9.12.0b1~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e35e567d1f2c35a10760052ac52e356410cf431;p=thirdparty%2Fbind9.git regen master --- diff --git a/configure b/configure index 72fdfd3a2d0..4d28ad9ec11 100755 --- a/configure +++ b/configure @@ -1014,6 +1014,7 @@ enable_backtrace enable_symtable enable_ipv6 with_kame +enable_tcp_fastopen enable_getifaddrs with_readline enable_isc_spnego @@ -1702,6 +1703,7 @@ Optional Features: --enable-symtable use internal symbol table for backtrace [all|minimal(default)|none] --enable-ipv6 use IPv6 default=autodetect + --disable-tcp-fastopen disable TCP Fast Open support [default=autodetect] --enable-getifaddrs enable the use of getifaddrs() [yes|no]. --disable-isc-spnego use SPNEGO from GSSAPI library --disable-chroot disable chroot @@ -18788,11 +18790,22 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # -# Look for TCP_FASTOPEN +# Allow forcibly disabling TCP Fast Open support as autodetection might yield +# confusing results on some systems (e.g. FreeBSD; see set_tcp_fastopen() +# comment in lib/isc/unix/socket.c). # + +# Check whether --enable-tcp_fastopen was given. +if test "${enable_tcp_fastopen+set}" = set; then : + enableval=$enable_tcp_fastopen; +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TCP_FASTOPEN socket option" >&5 $as_echo_n "checking for TCP_FASTOPEN socket option... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +case "$enable_tcp_fastopen" in +yes|''|autodetect) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -18807,15 +18820,23 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "has_tfo" >/dev/null 2>&1; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - ISC_PLATFORM_HAVETFO="#define ISC_PLATFORM_HAVETFO 1" + ISC_PLATFORM_HAVETFO="#define ISC_PLATFORM_HAVETFO 1" else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - ISC_PLATFORM_HAVETFO="#undef ISC_PLATFORM_HAVETFO" + ISC_PLATFORM_HAVETFO="#undef ISC_PLATFORM_HAVETFO" fi rm -f conftest* + ;; + no) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + ISC_PLATFORM_HAVETFO="#undef ISC_PLATFORM_HAVETFO" + ;; +esac + # # Check for addrinfo