From 80b7bcb5fbc98964014b5c8082a626aef24c5feb Mon Sep 17 00:00:00 2001 From: "Gerald (Jerry) Carter" Date: Fri, 19 Oct 2007 08:14:12 -0500 Subject: Add test for "struct in6_addr" to the HAVE_IPV6 configure test. Also make use of "if defined(HAVE_IPV6)" rather than testing for AF_INET6 since this is not sufficient on HP-UX 11.11 to ensure a working IPv6 implementation. (This used to be commit 620785df4e57b72471ff0315e22e0d2f28a2b1a5) --- source3/configure.in | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 5d236237a1..a96e2d91f6 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3038,6 +3038,7 @@ AC_TRY_COMPILE([ [ struct sockaddr_storage sa_store; struct addrinfo *ai = NULL; +struct in6_addr in6addr; int s = socket(AF_INET6, SOCK_STREAM, 0); int ret = getaddrinfo(NULL, NULL, NULL, &ai); if (ret != 0) { -- cgit