blob: dd44ec15586c742813e7e7b58f89f9751ef9c388 [file] [log] [blame]
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -3353,7 +3353,7 @@
AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
-if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
+if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes
then
if test $ipv6 = yes
then