Skip to content

Commit 758a23d

Browse files
author
Erlend Egeberg Aasland
authored
bpo-45847: Fix xxlimited and xxlimited_35 build conditions (GH-29715)
1 parent 457e6a6 commit 758a23d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

configure

+2-2
Original file line numberDiff line numberDiff line change
@@ -21849,7 +21849,7 @@ $as_echo_n "checking for stdlib extension module xxlimited... " >&6; }
2184921849
*xxlimited*) :
2185021850
py_cv_module_xxlimited=n/a ;; #(
2185121851
*) :
21852-
if test "$Py_TRACE_REFS" = no; then :
21852+
if test "$with_trace_refs" = "no"; then :
2185321853
if true; then :
2185421854
py_cv_module_xxlimited=yes
2185521855
else
@@ -21885,7 +21885,7 @@ $as_echo_n "checking for stdlib extension module xxlimited_35... " >&6; }
2188521885
*xxlimited_35*) :
2188621886
py_cv_module_xxlimited_35=n/a ;; #(
2188721887
*) :
21888-
if test "$Py_TRACE_REFS" = no; then :
21888+
if test "$with_trace_refs" = "no"; then :
2188921889
if true; then :
2189021890
py_cv_module_xxlimited_35=yes
2189121891
else

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -6221,8 +6221,8 @@ PY_STDLIB_MOD([_ctypes_test], [test "$TEST_MODULES" = yes], [], [], [-lm])
62216221

62226222
dnl Limited API template modules.
62236223
dnl The limited C API is not compatible with the Py_TRACE_REFS macro.
6224-
PY_STDLIB_MOD([xxlimited], [test "$Py_TRACE_REFS" = no])
6225-
PY_STDLIB_MOD([xxlimited_35], [test "$Py_TRACE_REFS" = no])
6224+
PY_STDLIB_MOD([xxlimited], [test "$with_trace_refs" = "no"])
6225+
PY_STDLIB_MOD([xxlimited_35], [test "$with_trace_refs" = "no"])
62266226

62276227
# substitute multiline block, must come after last PY_STDLIB_MOD()
62286228
AC_SUBST([MODULE_BLOCK])

0 commit comments

Comments
 (0)