diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2133dc9d..f9d28b21 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -141,6 +141,7 @@ AC_CHECK_HEADERS([sys/select.h sys/types.h sys/time.h sys/msg.h netdb.h netinet/ | |||
141 | # IPv6 | 141 | # IPv6 |
142 | AC_MSG_CHECKING(for IPv6) | 142 | AC_MSG_CHECKING(for IPv6) |
143 | AC_TRY_COMPILE([ | 143 | AC_TRY_COMPILE([ |
144 | #include <stdio.h> | ||
144 | #if HAVE_NETINET_IN_H | 145 | #if HAVE_NETINET_IN_H |
145 | #include <netinet/in.h> | 146 | #include <netinet/in.h> |
146 | #endif | 147 | #endif |
@@ -151,6 +152,7 @@ AC_TRY_COMPILE([ | |||
151 | int af=AF_INET6; | 152 | int af=AF_INET6; |
152 | int pf=PF_INET6; | 153 | int pf=PF_INET6; |
153 | struct sockaddr_in6 sa; | 154 | struct sockaddr_in6 sa; |
155 | printf("%d %d %p\n", af, pf, &sa); | ||
154 | ],[ | 156 | ],[ |
155 | have_inet6=yes; | 157 | have_inet6=yes; |
156 | AC_DEFINE([HAVE_INET6], [1], [Provides IPv6 headers]) | 158 | AC_DEFINE([HAVE_INET6], [1], [Provides IPv6 headers]) |