aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@es.net>2014-10-16 11:30:07 -0700
committerBruce A. Mah <bmah@es.net>2014-10-16 11:30:07 -0700
commit662a7ca035ac52a5ffa3693142f97d8968f2b045 (patch)
treec9f9e8c59bf77ee814e2037b25c6cac01b9aafa0 /configure
parentddf55791828f96f4b6f622520857ca5ef3381bb3 (diff)
downloadiperf3-662a7ca035ac52a5ffa3693142f97d8968f2b045.tar.gz
Regen.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure b/configure
index e04b76d..9a6d125 100755
--- a/configure
+++ b/configure
@@ -12019,9 +12019,25 @@ fi
# Check for SCTP support
+for ac_header in sys/socket.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_socket_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYS_SOCKET_H 1
+_ACEOF
+
+fi
+
+done
+
for ac_header in netinet/sctp.h
do :
- ac_fn_c_check_header_mongrel "$LINENO" "netinet/sctp.h" "ac_cv_header_netinet_sctp_h" "$ac_includes_default"
+ ac_fn_c_check_header_compile "$LINENO" "netinet/sctp.h" "ac_cv_header_netinet_sctp_h" "#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
+"
if test "x$ac_cv_header_netinet_sctp_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_NETINET_SCTP_H 1