mirror of https://github.com/python/cpython
fix output for getaddrinfo bug check #7059
This commit is contained in:
parent
b9fe800929
commit
d4694ed1bb
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.in Revision: 86042 .
|
# From configure.in Revision: 86045 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.65 for python 3.2.
|
# Generated by GNU Autoconf 2.65 for python 3.2.
|
||||||
#
|
#
|
||||||
|
@ -10562,6 +10562,9 @@ fi
|
||||||
|
|
||||||
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
|
if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
|
||||||
then
|
then
|
||||||
if test $ipv6 = yes
|
if test $ipv6 = yes
|
||||||
|
@ -10575,6 +10578,7 @@ else
|
||||||
$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
|
$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for ac_func in getnameinfo
|
for ac_func in getnameinfo
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
|
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
|
||||||
|
|
|
@ -2931,6 +2931,8 @@ int main()
|
||||||
[ac_cv_buggy_getaddrinfo=yes]))
|
[ac_cv_buggy_getaddrinfo=yes]))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
|
||||||
|
|
||||||
if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
|
if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
|
||||||
then
|
then
|
||||||
if test $ipv6 = yes
|
if test $ipv6 = yes
|
||||||
|
@ -2942,6 +2944,7 @@ then
|
||||||
else
|
else
|
||||||
AC_DEFINE(HAVE_GETADDRINFO, 1, [Define if you have the getaddrinfo function.])
|
AC_DEFINE(HAVE_GETADDRINFO, 1, [Define if you have the getaddrinfo function.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_FUNCS(getnameinfo)
|
AC_CHECK_FUNCS(getnameinfo)
|
||||||
|
|
||||||
# checks for structures
|
# checks for structures
|
||||||
|
|
Loading…
Reference in New Issue