adds support for --with-pydebug configure option

This commit is contained in:
Skip Montanaro 2000-08-30 22:29:48 +00:00
parent e68140dd3c
commit cb853261bd
4 changed files with 523 additions and 461 deletions

View File

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

View File

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

962
configure vendored

File diff suppressed because it is too large Load Diff

View File

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