[Python-checkins] CVS: python/dist/src config.h.in,2.91.2.2,2.91.2.3 configure.in,1.215.2.2,1.215.2.3 configure,1.207.2.2,1.207.2.3

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


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

Modified Files:
      Tag: release21-maint
	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.91.2.2
retrieving revision 2.91.2.3
diff -C2 -r2.91.2.2 -r2.91.2.3
*** config.h.in	2001/07/11 12:18:23	2.91.2.2
--- config.h.in	2001/07/11 14:01:07	2.91.2.3
***************
*** 363,366 ****
--- 363,369 ----
  #undef HAVE_GETPID
  
+ /* Define if you have the getpriority function.  */
+ #undef HAVE_GETPRIORITY
+ 
  /* Define if you have the getpwent function.  */
  #undef HAVE_GETPWENT

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.215.2.2
retrieving revision 1.215.2.3
diff -C2 -r1.215.2.2 -r1.215.2.3
*** configure.in	2001/07/11 12:18:24	1.215.2.2
--- configure.in	2001/07/11 14:01:07	1.215.2.3
***************
*** 1009,1013 ****
   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
--- 1009,1013 ----
   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.207.2.2
retrieving revision 1.207.2.3
diff -C2 -r1.207.2.2 -r1.207.2.3
*** configure	2001/07/11 12:18:23	1.207.2.2
--- configure	2001/07/11 14:01:07	1.207.2.3
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.215.2.1 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.215.2.2 
  
  # Guess values for system-dependent variables and create Makefiles.
***************
*** 4248,4252 ****
   sigaction siginterrupt sigrelse strftime strptime symlink sysconf \
   tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
!  truncate uname waitpid _getpty
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
--- 4248,4252 ----
   sigaction siginterrupt sigrelse strftime strptime symlink sysconf \
   tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
!  truncate uname waitpid _getpty getpriority
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6