Kaydet (Commit) cb853261 authored tarafından Skip Montanaro's avatar Skip Montanaro

adds support for --with-pydebug configure option

üst e68140dd
......@@ -151,6 +151,9 @@
(shared library plus accessory files). */
#undef WITH_NEXT_FRAMEWORK
/* Define if you want to build an interpreter with many run-time checks */
#undef Py_DEBUG
/* The number of bytes in an off_t. */
#undef SIZEOF_OFF_T
......
......@@ -210,6 +210,9 @@
(shared library plus accessory files). */
#undef WITH_NEXT_FRAMEWORK
/* Define if you want to build an interpreter with many run-time checks */
#undef Py_DEBUG
/* The number of bytes in an off_t. */
#undef SIZEOF_OFF_T
......@@ -266,9 +269,6 @@
/* The number of bytes in a void *. */
#undef SIZEOF_VOID_P
/* Define if you have the _getpty function. */
#undef HAVE__GETPTY
/* Define if you have the alarm function. */
#undef HAVE_ALARM
......@@ -356,6 +356,9 @@
/* Define if you have the getpid function. */
#undef HAVE_GETPID
/* Define if you have the _getpty function. */
#undef HAVE__GETPTY
/* Define if you have the getpwent function. */
#undef HAVE_GETPWENT
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -658,6 +658,16 @@ AC_MSG_RESULT($LINKFORSHARED)
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
# Check for --with-pydebug
AC_MSG_CHECKING(for --with-pydebug)
AC_ARG_WITH(pydebug,
[ --with-pydebug build with Py_DEBUG defined], [
if test "$withval" != no
then AC_DEFINE(Py_DEBUG) AC_MSG_RESULT(yes)
else AC_MSG_RESULT(no)
fi],
[AC_MSG_RESULT(no)])
# checks for system dependent C++ extensions support
case "$ac_sys_system" in
AIX*) AC_MSG_CHECKING(for genuine AIX C++ extensions support)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment