[Python-checkins] CVS: python/dist/src config.h.in,2.98,2.99 configure.in,1.225,1.226 configure,1.217,1.218

Thomas Wouters twouters@users.sourceforge.net
Wed, 11 Jul 2001 07:45:37 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv5710

Modified Files:
	config.h.in configure.in configure 
Log Message:

Patch #439995 (slightly modified from the uploaded version):

Work around Linux's nonstandard nice() systemcall, which does not return the
new priority.

This closes SF bug #439990.



Index: config.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/config.h.in,v
retrieving revision 2.98
retrieving revision 2.99
diff -C2 -r2.98 -r2.99
*** config.h.in	2001/07/10 16:44:35	2.98
--- config.h.in	2001/07/11 14:45:34	2.99
***************
*** 1,3 ****
! /* config.h.in.  Generated automatically from configure.in by autoheader.  */
  
  /* Define if on AIX 3.
--- 1,3 ----
! /* config.h.in.  Generated automatically from configure.in by autoheader 2.13.  */
  
  /* Define if on AIX 3.
***************
*** 300,303 ****
--- 300,306 ----
  #undef SIZEOF_WCHAR_T
  
+ /* Define if you have the _getpty function.  */
+ #undef HAVE__GETPTY
+ 
  /* Define if you have the alarm function.  */
  #undef HAVE_ALARM
***************
*** 393,398 ****
  #undef HAVE_GETPID
  
! /* Define if you have the _getpty function.  */
! #undef HAVE__GETPTY
  
  /* Define if you have the getpwent function.  */
--- 396,401 ----
  #undef HAVE_GETPID
  
! /* Define if you have the getpriority function.  */
! #undef HAVE_GETPRIORITY
  
  /* Define if you have the getpwent function.  */
***************
*** 558,569 ****
  #undef HAVE_WAITPID
  
! /* Define if you have the <db_185.h> header file.  */
! #undef HAVE_DB_185_H
  
  /* Define if you have the <db1/ndbm.h> header file.  */
  #undef HAVE_DB1_NDBM_H
  
! /* Define if you have the <db.h> header file.  */
! #undef HAVE_DB_H
  
  /* Define if you have the <dirent.h> header file.  */
--- 561,572 ----
  #undef HAVE_WAITPID
  
! /* Define if you have the <db.h> header file.  */
! #undef HAVE_DB_H
  
  /* Define if you have the <db1/ndbm.h> header file.  */
  #undef HAVE_DB1_NDBM_H
  
! /* Define if you have the <db_185.h> header file.  */
! #undef HAVE_DB_185_H
  
  /* Define if you have the <dirent.h> header file.  */

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.225
retrieving revision 1.226
diff -C2 -r1.225 -r1.226
*** configure.in	2001/07/11 06:27:00	1.225
--- configure.in	2001/07/11 14:45:34	1.226
***************
*** 1176,1180 ****
   sigaction siginterrupt sigrelse strftime strptime symlink sysconf \
   tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
!  truncate uname waitpid _getpty)
  
  # check for openpty and forkpty
--- 1176,1180 ----
   sigaction siginterrupt sigrelse strftime strptime symlink sysconf \
   tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
!  truncate uname waitpid _getpty getpriority)
  
  # check for openpty and forkpty

Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.217
retrieving revision 1.218
diff -C2 -r1.217 -r1.218
*** configure	2001/07/11 06:27:56	1.217
--- configure	2001/07/11 14:45:34	1.218
***************
*** 2494,2497 ****
--- 2494,2498 ----
  #include "confdefs.h"
  #include <stdio.h>
+ #include <sys/types.h>
  main()
  {
***************
*** 2502,2506 ****
  }
  EOF
[...3394 lines suppressed...]
  if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6893 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 6928,6932 ****
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:6931: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then
--- 6939,6943 ----
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:6942: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then