|
|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
dnl Process this file with autoconf to produce a configure script. |
|
|
|
|
dnl $Header: /cvsroot/pgsql/configure.in,v 1.229 2003/01/07 06:37:51 momjian Exp $ |
|
|
|
|
dnl $Header: /cvsroot/pgsql/configure.in,v 1.230 2003/01/07 06:43:20 momjian Exp $ |
|
|
|
|
dnl |
|
|
|
|
dnl Developers, please strive to achieve this order: |
|
|
|
|
dnl |
|
|
|
|
@ -788,7 +788,7 @@ AC_CHECK_DECLS(fdatasync, [], [], [#include <unistd.h>]) |
|
|
|
|
|
|
|
|
|
# This exports HAVE_IPV6 to both C files and Makefiles |
|
|
|
|
AC_CHECK_FUNC(getaddrinfo, |
|
|
|
|
[AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_len], |
|
|
|
|
[AC_CHECK_MEMBERS(struct sockaddr_in6.sin6_len, |
|
|
|
|
[HAVE_IPV6="yes"; AC_DEFINE(HAVE_IPV6, 1, [])], [], |
|
|
|
|
[#include <sys/socket.h> |
|
|
|
|
#include <netdb.h>])], |
|
|
|
|
|