summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-11-23 07:51:30 (GMT)
committerGitHub <noreply@github.com>2021-11-23 07:51:30 (GMT)
commit758a23d1c4db97b578bc16e0ea110074d65c4c52 (patch)
tree2e7755ca0bf2e98fd790e9409041303a636d4d61
parent457e6a6e96b5afad403a0bc892508a77beef4d33 (diff)
downloadcpython-758a23d1c4db97b578bc16e0ea110074d65c4c52.zip
cpython-758a23d1c4db97b578bc16e0ea110074d65c4c52.tar.gz
cpython-758a23d1c4db97b578bc16e0ea110074d65c4c52.tar.bz2
bpo-45847: Fix xxlimited and xxlimited_35 build conditions (GH-29715)
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index dafcce6..7c0d866 100755
--- 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
diff --git a/configure.ac b/configure.ac
index ec7d1a4..e63d8af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])