[Python-checkins] CVS: python/dist/src config.h.in,2.48,2.49 configure,1.103,1.104 configure.in,1.111,1.112

Fred L. Drake fdrake@weyr.cnri.reston.va.us
Tue, 14 Dec 1999 16:11:50 -0500 (EST)


Update of /projects/cvsroot/python/dist/src
In directory weyr:/home/fdrake/projects/python

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

Remove test for getlogin_r(); the interface is not clearly defined, at
least on Solaris (sometimes it's Unix98, sometimes it conforms to an
early draft).

Properly generate config.h.in using autoheader instead of editing it
manually; thanks, Guido!


Index: config.h.in
===================================================================
RCS file: /projects/cvsroot/python/dist/src/config.h.in,v
retrieving revision 2.48
retrieving revision 2.49
diff -C2 -r2.48 -r2.49
*** config.h.in	1999/12/14 20:48:17	2.48
--- config.h.in	1999/12/14 21:11:46	2.49
***************
*** 216,219 ****
--- 216,222 ----
  #undef HAVE_CLOCK
  
+ /* Define if you have the confstr function.  */
+ #undef HAVE_CONFSTR
+ 
  /* Define if you have the ctermid function.  */
  #undef HAVE_CTERMID
***************
*** 240,243 ****
--- 243,249 ----
  #undef HAVE_FORK
  
+ /* Define if you have the fpathconf function.  */
+ #undef HAVE_FPATHCONF
+ 
  /* Define if you have the fseek64 function.  */
  #undef HAVE_FSEEK64
***************
*** 267,273 ****
  #undef HAVE_GETCWD
  
- /* Define if you have the getpeername function.  */
- #undef HAVE_GETPEERNAME
- 
  /* Define if you have the getgroups function.  */
  #undef HAVE_GETGROUPS
--- 273,276 ----
***************
*** 276,281 ****
  #undef HAVE_GETLOGIN
  
! /* Define if you have the getlogin_r function.  */
! #undef HAVE_GETLOGIN_R
  
  /* Define if you have the getpgrp function.  */
--- 279,284 ----
  #undef HAVE_GETLOGIN
  
! /* Define if you have the getpeername function.  */
! #undef HAVE_GETPEERNAME
  
  /* Define if you have the getpgrp function.  */
***************
*** 294,309 ****
  #undef HAVE_GETWD
  
- /* Define if you have the fpathconf function.  */
- #undef HAVE_FPATHCONF
- 
- /* Define if you have the pathconf function.  */
- #undef HAVE_PATHCONF
- 
- /* Define if you have the confstr function.  */
- #undef HAVE_CONFSTR
- 
- /* Define if you have the sysconf function.  */
- #undef HAVE_SYSCONF
- 
  /* Define if you have the hypot function.  */
  #undef HAVE_HYPOT
--- 297,300 ----
***************
*** 330,333 ****
--- 321,327 ----
  #undef HAVE_NICE
  
+ /* Define if you have the pathconf function.  */
+ #undef HAVE_PATHCONF
+ 
  /* Define if you have the pause function.  */
  #undef HAVE_PAUSE
***************
*** 395,398 ****
--- 389,395 ----
  /* Define if you have the symlink function.  */
  #undef HAVE_SYMLINK
+ 
+ /* Define if you have the sysconf function.  */
+ #undef HAVE_SYSCONF
  
  /* Define if you have the tcgetpgrp function.  */

Index: configure
===================================================================
RCS file: /projects/cvsroot/python/dist/src/configure,v
retrieving revision 1.103
retrieving revision 1.104
diff -C2 -r1.103 -r1.104
*** configure	1999/12/14 20:48:17	1.103
--- configure	1999/12/14 21:11:46	1.104
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.110 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.111 
  
[...1197 lines suppressed...]
  #include <stdio.h>
--- 4641,4645 ----
  else
    cat > conftest.$ac_ext <<EOF
! #line 4644 "configure"
  #include "confdefs.h"
  #include <stdio.h>
***************
*** 4661,4665 ****
  }
  EOF
! if { (eval echo configure:4664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_malloc_zero=nonnull
--- 4660,4664 ----
  }
  EOF
! if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_malloc_zero=nonnull

Index: configure.in
===================================================================
RCS file: /projects/cvsroot/python/dist/src/configure.in,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -r1.111 -r1.112
*** configure.in	1999/12/14 20:48:17	1.111
--- configure.in	1999/12/14 21:11:47	1.112
***************
*** 1,4 ****
  dnl Process this file with autoconf 2.0 or later to make a configure script.
! AC_REVISION($Revision: 1.111 $)
  AC_PREREQ(2.0)
  AC_INIT(Include/object.h)
--- 1,4 ----
  dnl Process this file with autoconf 2.0 or later to make a configure script.
! AC_REVISION($Revision: 1.112 $)
  AC_PREREQ(2.0)
  AC_INIT(Include/object.h)
***************
*** 682,687 ****
  AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r dlopen execv \
   flock fork fsync fdatasync fpathconf ftime ftruncate \
!  getgroups getlogin getlogin_r getpeername getpgrp getpid getpwent \
!  gettimeofday getwd \
   kill link lstat mkfifo mktime nice pathconf pause plock pthread_init \
   putenv readlink \
--- 682,686 ----
  AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r dlopen execv \
   flock fork fsync fdatasync fpathconf ftime ftruncate \
!  getgroups getlogin getpeername getpgrp getpid getpwent gettimeofday getwd \
   kill link lstat mkfifo mktime nice pathconf pause plock pthread_init \
   putenv readlink \