- Issue #14324: Fix configure tests for cross builds.
when configured with --(en|dis)able-ipv6 for cross builds, don't fail the configury due to the missing buggy-getaddrinfo check.
This commit is contained in:
parent
b17289e199
commit
9635013a8f
|
@ -10854,7 +10854,12 @@ $as_echo_n "checking getaddrinfo bug... " >&6; }
|
||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
else
|
else
|
||||||
if test "$cross_compiling" = yes; then :
|
if test "$cross_compiling" = yes; then :
|
||||||
|
|
||||||
|
if test "${enable_ipv6+set}" = set; then
|
||||||
|
ac_cv_buggy_getaddrinfo="no -- configured with --(en|dis)able-ipv6"
|
||||||
|
else
|
||||||
ac_cv_buggy_getaddrinfo=yes
|
ac_cv_buggy_getaddrinfo=yes
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
|
|
@ -3009,7 +3009,12 @@ int main()
|
||||||
]]])],
|
]]])],
|
||||||
[ac_cv_buggy_getaddrinfo=no],
|
[ac_cv_buggy_getaddrinfo=no],
|
||||||
[ac_cv_buggy_getaddrinfo=yes],
|
[ac_cv_buggy_getaddrinfo=yes],
|
||||||
[ac_cv_buggy_getaddrinfo=yes]))
|
[
|
||||||
|
if test "${enable_ipv6+set}" = set; then
|
||||||
|
ac_cv_buggy_getaddrinfo="no -- configured with --(en|dis)able-ipv6"
|
||||||
|
else
|
||||||
|
ac_cv_buggy_getaddrinfo=yes
|
||||||
|
fi]))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
|
AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
|
||||||
|
|
Loading…
Reference in New Issue