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 <encukou@gmail.com>
{ 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
[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