2012-11-07 06:01:21 +01:00
|
|
|
Disable buggy_getaddrinfo configure test when cross-compiling with IPv6 support
|
|
|
|
|
|
|
|
Signed-off-by: Vanya Sergeev <vsergeev at gmail.com>
|
|
|
|
|
|
|
|
---
|
|
|
|
configure.ac | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2014-02-18 21:40:01 +01:00
|
|
|
Index: b/configure.ac
|
2012-11-07 06:01:21 +01:00
|
|
|
===================================================================
|
2014-02-18 21:40:01 +01:00
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2015-04-26 14:26:36 +02:00
|
|
|
@@ -3432,7 +3432,7 @@
|
2012-11-07 06:01:21 +01:00
|
|
|
|
|
|
|
AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
|
|
|
|
|
|
|
|
-if test $have_getaddrinfo = no || test "$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
|