cpython: 58cd710d9dff (original) (raw)
Mercurial > cpython
changeset 75709:58cd710d9dff
- 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. [#14324]
Matthias Klose doko@ubuntu.com | |
---|---|
date | Thu, 15 Mar 2012 20:42:23 +0100 |
parents | 29ee48f843ec |
children | 9e7374779e19 |
files | configure configure.ac |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-)[+] [-] configure 5 configure.ac 7 |
line wrap: on
line diff
--- a/configure +++ b/configure @@ -10854,7 +10854,12 @@ then $as_echo_n "(cached) " >&6 else 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 +fi else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */
--- a/configure.ac +++ b/configure.ac @@ -3009,7 +3009,12 @@ int main() ]]])], [ac_cv_buggy_getaddrinfo=no], [ac_cv_buggy_getaddrinfo=yes], -[ac_cv_buggy_getaddrinfo=yes])) +[ +if test "${enable_ipv6+set}" = set; then