]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-131591: Make --without-remote-debug work (GH-135925)
authorPetr Viktorin <encukou@gmail.com>
Wed, 25 Jun 2025 11:51:32 +0000 (13:51 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Jun 2025 11:51:32 +0000 (13:51 +0200)
The feature is checked using `defined(Py_REMOTE_DEBUG)`; defining
the macro (even as `0`) enables it.

configure
configure.ac

index 8334e247c3e1bbd7e21cf762ef46e5f6faba1ee5..50223d81cd976ee29caf16521ddffc2910db2a80 100755 (executable)
--- 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
index 82fb2d8c492d48b9697f2d829008c1de4671759c..f58e16c774f4aaf4dd0256fca580445bdb6b90b6 100644 (file)
@@ -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