https://github.com/python/cpython/commit/1687e85343cb35410d3c12495856501787926db0
commit: 1687e85343cb35410d3c12495856501787926db0
branch: 3.11
author: Erlend E. Aasland <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2024-01-05T16:04:25Z
summary:

[3.11] gh-80532: Do not set ipv6type when cross-compiling (GH-17956) (#113741)

(cherry picked from commit 5e1916ba1bf521d6ff9d2c553c057f3ef7008977)

Co-authored-by: Zackery Spytz <[email protected]>
Co-authored-by: Xavier de Gaye <[email protected]>

files:
A Misc/NEWS.d/next/Build/2020-01-11-23-49-17.bpo-36351.ce8BBh.rst
M configure
M configure.ac

diff --git a/Misc/NEWS.d/next/Build/2020-01-11-23-49-17.bpo-36351.ce8BBh.rst 
b/Misc/NEWS.d/next/Build/2020-01-11-23-49-17.bpo-36351.ce8BBh.rst
new file mode 100644
index 00000000000000..d3cfbfc7ea1000
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2020-01-11-23-49-17.bpo-36351.ce8BBh.rst
@@ -0,0 +1 @@
+Do not set ipv6type when cross-compiling.
diff --git a/configure b/configure
index 86228da3ebe22f..cb3db60f9c2322 100755
--- a/configure
+++ b/configure
@@ -14673,7 +14673,7 @@ ipv6type=unknown
 ipv6lib=none
 ipv6trylibc=no
 
-if test "$ipv6" = "yes"; then
+if test "$ipv6" = yes -a "$cross_compiling" = no; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
 $as_echo_n "checking ipv6 stack type... " >&6; }
        for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
diff --git a/configure.ac b/configure.ac
index 4c0d00533606ca..bbe7f891e7dd29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4273,7 +4273,7 @@ ipv6type=unknown
 ipv6lib=none
 ipv6trylibc=no
 
-if test "$ipv6" = "yes"; then
+if test "$ipv6" = yes -a "$cross_compiling" = no; then
        AC_MSG_CHECKING([ipv6 stack type])
        for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
        do

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to