From b904a787af07ad5cd3a6fb86f2a9a50a67f5e834 Mon Sep 17 00:00:00 2001 From: "Bruce A. Mah" Date: Thu, 10 Apr 2014 11:22:49 -0700 Subject: [PATCH] Regen. --- configure | 41 +++++++++++++++++++++++++++++++++++++++++ src/config.h.in | 3 +++ 2 files changed, 44 insertions(+) diff --git a/configure b/configure index 5d58448..1dabdd1 100755 --- a/configure +++ b/configure @@ -11845,6 +11845,47 @@ _ACEOF fi +# Check for IPv6 flowlabel support (believed to be Linux only) +# We check for IPV6_FLOWLABEL_MGR in even though we +# don't use that file directly (we have our own stripped-down +# copy, see src/flowlabel.h for more details). +{ $as_echo "$as_me:$LINENO: checking IPv6 flowlabel support" >&5 +$as_echo_n "checking IPv6 flowlabel support... " >&6; } +if test "${iperf3_cv_header_flowlabel+set}" = set; then + $as_echo_n "(cached) " >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#ifdef IPV6_FLOWLABEL_MGR + yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + iperf3_cv_header_flowlabel=yes +else + iperf3_cv_header_flowlabel=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:$LINENO: result: $iperf3_cv_header_flowlabel" >&5 +$as_echo "$iperf3_cv_header_flowlabel" >&6; } +if test "x$iperf3_cv_header_flowlabel" = "xyes"; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_FLOWLABEL 1 +_ACEOF + +fi + ac_config_files="$ac_config_files Makefile src/Makefile examples/Makefile" cat >confcache <<\_ACEOF diff --git a/src/config.h.in b/src/config.h.in index 5a8c0a0..196024b 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -3,6 +3,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H +/* Have IPv6 flowlabel support. */ +#undef HAVE_FLOWLABEL + /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H