675a9c01df
PR: ports/85633 Submitted by: Andrej Zverev <az@inec.ru>
14 lines
452 B
Plaintext
14 lines
452 B
Plaintext
--- configure.in.orig Sun Nov 24 03:59:24 2002
|
|
+++ configure.in Fri Sep 2 16:04:11 2005
|
|
@@ -18,7 +18,9 @@
|
|
AC_CHECK_FUNCS(getaddrinfo, , AC_MSG_ERROR([Your system doesn't support IPv6.]))
|
|
|
|
AC_MSG_CHECKING([for AF_INET6])
|
|
-AC_TRY_COMPILE([#include <netinet/in.h>], [int x = AF_INET6;], [
|
|
+AC_TRY_COMPILE([#include <sys/types.h>
|
|
+#include <sys/socket.h>
|
|
+#include <netinet/in.h>], [int x = AF_INET6;], [
|
|
AC_MSG_RESULT(yes)
|
|
], [
|
|
AC_MSG_RESULT(no)
|