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.
This commit is contained in:
Petr Viktorin
2025-06-25 13:51:32 +02:00
committed by GitHub
parent 1b1ae82fab
commit c2f2fd4eca
2 changed files with 0 additions and 5 deletions

3
configure generated vendored
View File

@@ -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

View 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