[Python-checkins] CVS: python/dist/src acconfig.h,1.35,1.36 config.h.in,2.69,2.70 configure,1.139,1.140 configure.in,1.150,1.151
Skip Montanaro
python-dev@python.org
Wed, 30 Aug 2000 15:29:51 -0700
Update of /cvsroot/python/python/dist/src
In directory slayer.i.sourceforge.net:/tmp/cvs-serv22625
Modified Files:
acconfig.h config.h.in configure configure.in
Log Message:
adds support for --with-pydebug configure option
Index: acconfig.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/acconfig.h,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** acconfig.h 2000/08/23 21:33:04 1.35
--- acconfig.h 2000/08/30 22:29:47 1.36
***************
*** 152,155 ****
--- 152,158 ----
#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
Index: config.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/config.h.in,v
retrieving revision 2.69
retrieving revision 2.70
diff -C2 -r2.69 -r2.70
*** config.h.in 2000/08/25 01:14:08 2.69
--- config.h.in 2000/08/30 22:29:47 2.70
***************
*** 211,214 ****
--- 211,217 ----
#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
***************
*** 267,273 ****
#undef SIZEOF_VOID_P
- /* Define if you have the _getpty function. */
- #undef HAVE__GETPTY
-
/* Define if you have the alarm function. */
#undef HAVE_ALARM
--- 270,273 ----
***************
*** 356,359 ****
--- 356,362 ----
/* 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. */
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.139
retrieving revision 1.140
diff -C2 -r1.139 -r1.140
*** configure 2000/08/29 15:06:47 1.139
--- configure 2000/08/30 22:29:47 1.140
***************
*** 4,8 ****
# Guess values for system-dependent variables and create Makefiles.
! # Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
--- 4,8 ----
# Guess values for system-dependent variables and create Makefiles.
! # Generated automatically using autoconf version 2.14.1
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
[...4611 lines suppressed...]
! echo "$CONFIG_STATUS generated by autoconf version 2.13"
exit 0 ;;
-help | --help | --hel | --he | --h)
--- 5952,5956 ----
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
! echo "$CONFIG_STATUS generated by autoconf version 2.14.1"
exit 0 ;;
-help | --help | --hel | --he | --h)
***************
*** 6207,6210 ****
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
! test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
--- 6253,6256 ----
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
! test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.150
retrieving revision 1.151
diff -C2 -r1.150 -r1.151
*** configure.in 2000/08/29 15:06:49 1.150
--- configure.in 2000/08/30 22:29:48 1.151
***************
*** 659,662 ****
--- 659,672 ----
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