From: Benjamin Peterson Date: Mon, 1 Nov 2010 01:44:30 +0000 (+0000) Subject: fix output for getaddrinfo bug check #7059 X-Git-Tag: v3.2a4~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4694ed1bbea0adc6f2b5de42e62a424483f2e3d;p=python fix output for getaddrinfo bug check #7059 --- diff --git a/configure b/configure index 9135d4a45d..83dc72736a 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 86042 . +# From configure.in Revision: 86045 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for python 3.2. # @@ -10562,6 +10562,9 @@ fi fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5 +$as_echo "$ac_cv_buggy_getaddrinfo" >&6; } + if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes then if test $ipv6 = yes @@ -10575,6 +10578,7 @@ else $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h fi + for ac_func in getnameinfo do : ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" diff --git a/configure.in b/configure.in index 56dbd0e165..a2cb73aa07 100644 --- a/configure.in +++ b/configure.in @@ -2931,6 +2931,8 @@ int main() [ac_cv_buggy_getaddrinfo=yes])) fi +AC_MSG_RESULT($ac_cv_buggy_getaddrinfo) + if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes then if test $ipv6 = yes @@ -2942,6 +2944,7 @@ then else AC_DEFINE(HAVE_GETADDRINFO, 1, [Define if you have the getaddrinfo function.]) fi + AC_CHECK_FUNCS(getnameinfo) # checks for structures