summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2012-03-15 20:42:23 +0100
committerMatthias Klose <doko@ubuntu.com>2012-03-15 20:42:23 +0100
commit5e20be8f65734a04eb667f1f6b5a70c94b39885d (patch)
tree8beb0e50c5d9523a18b816735bb8d830c9a2e027 /configure
parent2db54cc3390b2e190cdc625bfcfe2f218c8718f2 (diff)
downloadcpython-5e20be8f65734a04eb667f1f6b5a70c94b39885d.tar.gz
- 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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index ee518ccbaa..7c83bb4a96 100755
--- a/configure
+++ b/configure
@@ -10854,7 +10854,12 @@ $as_echo_n "checking getaddrinfo bug... " >&6; }
$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. */