https://github.com/python/cpython/commit/17c6818bfd52d130fddcb6e8b8697e3ebf49eee2
commit: 17c6818bfd52d130fddcb6e8b8697e3ebf49eee2
branch: 3.14
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: encukou <encu...@gmail.com>
date: 2025-06-25T12:08:27Z
summary:

[3.14] gh-131591: Make --without-remote-debug work (GH-135925) (GH-135931)

gh-131591: Make --without-remote-debug work (GH-135925)

The feature is checked using `defined(Py_REMOTE_DEBUG)`; defining
the macro (even as `0`) enables it.
(cherry picked from commit c2f2fd4eca3b342e781355f9b9e716827fc81a5b)

Co-authored-by: Petr Viktorin <encu...@gmail.com>

files:
M configure
M configure.ac

diff --git a/configure b/configure
index bc996235c700b5..827df044daf955 100755
--- a/configure
+++ b/configure
@@ -29933,9 +29933,6 @@ printf "%s\n" "#define Py_REMOTE_DEBUG 1" >>confdefs.h
   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 printf "%s\n" "yes" >&6; }
 else
-
-printf "%s\n" "#define Py_REMOTE_DEBUG 0" >>confdefs.h
-
   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
 printf "%s\n" "no" >&6; }
 fi
diff --git a/configure.ac b/configure.ac
index 47198c8722e872..a57205ede02ef0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7168,8 +7168,6 @@ if test "$with_remote_debug" = yes; then
     [Define if you want to enable remote debugging support.])
   AC_MSG_RESULT([yes])
 else
-  AC_DEFINE([Py_REMOTE_DEBUG], [0],
-    [Define if you want to enable remote debugging support.])
   AC_MSG_RESULT([no])
 fi
 

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to