[Python-checkins] python/dist/src configure,1.370,1.371 configure.in,1.381,1.382 pyconfig.h.in,1.66,1.67
loewis@users.sourceforge.net
loewis@users.sourceforge.net
2002年12月31日 04:55:17 -0800
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv27086
Modified Files:
configure configure.in pyconfig.h.in
Log Message:
Patch #656590: /dev/ptmx support for ptys.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.370
retrieving revision 1.371
diff -C2 -d -r1.370 -r1.371
*** configure 30 Dec 2002 22:23:38 -0000 1.370
--- configure 31 Dec 2002 12:55:08 -0000 1.371
***************
*** 1,4 ****
#! /bin/sh
! # From configure.in Revision: 1.380 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
--- 1,4 ----
#! /bin/sh
! # From configure.in Revision: 1.381 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
***************
*** 909,913 ****
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
--- 909,913 ----
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
***************
*** 16658,16661 ****
--- 16658,16678 ----
fi
+ echo "$as_me:$LINENO: checking for /dev/ptmx" >&5
+ echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6
+
+ if test -e /dev/ptmx
+ then
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_DEV_PTMX 1
+ _ACEOF
+
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+
echo "$as_me:$LINENO: checking for socklen_t" >&5
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
***************
*** 17484,17488 ****
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
--- 17501,17505 ----
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.381
retrieving revision 1.382
diff -C2 -d -r1.381 -r1.382
*** configure.in 30 Dec 2002 22:23:38 -0000 1.381
--- configure.in 31 Dec 2002 12:55:13 -0000 1.382
***************
*** 2487,2490 ****
--- 2487,2501 ----
fi
+ AC_MSG_CHECKING(for /dev/ptmx)
+
+ if test -e /dev/ptmx
+ then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_DEV_PTMX, 1,
+ [Define if we have /dev/ptmx.])
+ else
+ AC_MSG_RESULT(no)
+ fi
+
AC_CHECK_TYPE(socklen_t,,
AC_DEFINE(socklen_t,int,
Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** pyconfig.h.in 30 Dec 2002 16:25:41 -0000 1.66
--- pyconfig.h.in 31 Dec 2002 12:55:13 -0000 1.67
***************
*** 66,69 ****
--- 66,72 ----
#undef HAVE_DEVICE_MACROS
+ /* Define if we have /dev/ptmx. */
+ #undef HAVE_DEV_PTMX
+
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/