Skip to content

Commit

Permalink
bpo-45847: Fix xxlimited and xxlimited_35 build conditions (GH-29715)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erlend Egeberg Aasland authored Nov 23, 2021
1 parent 457e6a6 commit 758a23d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 758a23d

Please sign in to comment.