From 35dd972a1db8760a9fdfb7d6c08b4bcd6189277d Mon Sep 17 00:00:00 2001 From: Raimo Niskanen Date: Tue, 9 Oct 2012 17:02:22 +0200 Subject: erts: Add configure test for IPV6_V6ONLY --- erts/configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'erts') diff --git a/erts/configure.in b/erts/configure.in index 8d70a1b74a..43f6cf39c9 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -2000,8 +2000,12 @@ case "$erts_cv_have_in6addr_loopback" in [Define to 1 if you have the variable in6addr_loopback declared.]) esac -AC_CHECK_DECLS([IN6ADDR_ANY_INIT, IN6ADDR_LOOPBACK_INIT], [], [], - [#include ]) +AC_CHECK_DECLS([IN6ADDR_ANY_INIT, IN6ADDR_LOOPBACK_INIT, IPV6_V6ONLY], [], [], + [ + #include + #include + #include + ]) dnl ---------------------------------------------------------------------- dnl Checks for features/quirks in the system that affects Erlang. -- cgit v1.2.3