do we need inet_ntop check?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: do we need inet_ntop check?
Date: 2005-08-17 13:46:13
Message-ID: 43033FA5.2010405@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Currently the IPv6 check in configure.in says this:

HAVE_IPV6=no
AC_CHECK_TYPE([struct sockaddr_in6],
[AC_CHECK_FUNC(inet_ntop,
[AC_DEFINE(HAVE_IPV6, 1, [Define to 1 if
you have support for IPv6.])
HAVE_IPV6=yes])],
[],
[$ac_includes_default
#include <netinet/in.h>])
AC_SUBST(HAVE_IPV6)

However, we don't use inet_ntop anywhere in our code that I can see,
either in the HEAD or REL8_0_STABLE branch. So why do we need that extra
check (which fails on Windows)?

cheers

andrew

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Fuhr 2005-08-17 13:59:16 Re: transactions not working properly ?
Previous Message Douglas McNaught 2005-08-17 13:34:39 Re: transactions not working properly ?