]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45847: Fix xxlimited and xxlimited_35 build conditions (GH-29715)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Tue, 23 Nov 2021 07:51:30 +0000 (08:51 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Nov 2021 07:51:30 +0000 (08:51 +0100)
configure
configure.ac

index dafcce61d132df1cb4982a0e1c0f24b9f9020b89..7c0d866cb92a269aca2d6c686cad83854ac07e86 100755 (executable)
--- a/configure
+++ b/configure
@@ -21849,7 +21849,7 @@ $as_echo_n "checking for stdlib extension module xxlimited... " >&6; }
   *xxlimited*) :
     py_cv_module_xxlimited=n/a ;; #(
   *) :
-    if test "$Py_TRACE_REFS" = no; then :
+    if test "$with_trace_refs" = "no"; then :
   if true; then :
   py_cv_module_xxlimited=yes
 else
@@ -21885,7 +21885,7 @@ $as_echo_n "checking for stdlib extension module xxlimited_35... " >&6; }
   *xxlimited_35*) :
     py_cv_module_xxlimited_35=n/a ;; #(
   *) :
-    if test "$Py_TRACE_REFS" = no; then :
+    if test "$with_trace_refs" = "no"; then :
   if true; then :
   py_cv_module_xxlimited_35=yes
 else
index ec7d1a48a0beebb7907a3e3ab8359c189df9e30c..e63d8af807b785a704b243065b88dea389475dd7 100644 (file)
@@ -6221,8 +6221,8 @@ PY_STDLIB_MOD([_ctypes_test], [test "$TEST_MODULES" = yes], [], [], [-lm])
 
 dnl Limited API template modules.
 dnl The limited C API is not compatible with the Py_TRACE_REFS macro.
-PY_STDLIB_MOD([xxlimited], [test "$Py_TRACE_REFS" = no])
-PY_STDLIB_MOD([xxlimited_35], [test "$Py_TRACE_REFS" = no])
+PY_STDLIB_MOD([xxlimited], [test "$with_trace_refs" = "no"])
+PY_STDLIB_MOD([xxlimited_35], [test "$with_trace_refs" = "no"])
 
 # substitute multiline block, must come after last PY_STDLIB_MOD()
 AC_SUBST([MODULE_BLOCK])