[Python-checkins] python/dist/src configure,1.383,1.384 configure.in,1.394,1.395 pyconfig.h.in,1.73,1.74

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Thu, 20 Mar 2003 17:43:01 -0800


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv13668

Modified Files:
	configure configure.in pyconfig.h.in 
Log Message:
/dev/ptmx doesn't exist on AIX, they had to be different and use /dev/ptc.
Otherwise, the 2 devices seem to work the same for allocating a pseudo-tty.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.383
retrieving revision 1.384
diff -C2 -d -r1.383 -r1.384
*** configure	17 Mar 2003 15:44:10 -0000	1.383
--- configure	21 Mar 2003 01:42:56 -0000	1.384
***************
*** 1,4 ****
  #! /bin/sh
! # From configure.in Revision: 1.393 .
  # 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.394 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53 for python 2.3.
***************
*** 16815,16818 ****
--- 16815,16835 ----
  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 /dev/ptc" >&5
+ echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
+ 
+ if test -e /dev/ptc
+ then
+   echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_DEV_PTC 1
  _ACEOF
  

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.394
retrieving revision 1.395
diff -C2 -d -r1.394 -r1.395
*** configure.in	17 Mar 2003 15:43:34 -0000	1.394
--- configure.in	21 Mar 2003 01:42:58 -0000	1.395
***************
*** 2603,2606 ****
--- 2603,2617 ----
  fi
  
+ AC_MSG_CHECKING(for /dev/ptc)
+ 
+ if test -e /dev/ptc
+ then
+   AC_MSG_RESULT(yes)
+   AC_DEFINE(HAVE_DEV_PTC, 1,
+   [Define if we have /dev/ptc.])
+ 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.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** pyconfig.h.in	14 Mar 2003 21:51:32 -0000	1.73
--- pyconfig.h.in	21 Mar 2003 01:42:58 -0000	1.74
***************
*** 69,72 ****
--- 69,75 ----
  #undef HAVE_DEVICE_MACROS
  
+ /* Define if we have /dev/ptc. */
+ #undef HAVE_DEV_PTC
+ 
  /* Define if we have /dev/ptmx. */
  #undef HAVE_DEV_PTMX