diff --git a/configure b/configure index 04405454096..69adabb1ce6 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 85556 . +# From configure.in Revision: 86043 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for python 2.7. # @@ -10799,6 +10799,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 @@ -10812,6 +10815,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 8f828de2f41..a499a9b9719 100644 --- a/configure.in +++ b/configure.in @@ -3109,6 +3109,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 @@ -3120,6 +3122,7 @@ then else AC_DEFINE(HAVE_GETADDRINFO, 1, [Define if you have the getaddrinfo function.]) fi + AC_CHECK_FUNCS(getnameinfo) # checks for structures