[Python-checkins] CVS: python/dist/src configure,1.268,1.269 configure.in,1.276,1.277

Martin v. L?wis loewis@users.sourceforge.net
Wed, 24 Oct 2001 07:36:02 -0700


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

Modified Files:
	configure configure.in 
Log Message:



Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.268
retrieving revision 1.269
diff -C2 -d -r1.268 -r1.269
*** configure	2001/10/21 22:32:04	1.268
--- configure	2001/10/24 14:35:57	1.269
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.275 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.276 
  
[...3921 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 7396 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 7471,7475 ****
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7474: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then
--- 7442,7446 ----
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7445: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.276
retrieving revision 1.277
diff -C2 -d -r1.276 -r1.277
*** configure.in	2001/10/21 22:32:04	1.276
--- configure.in	2001/10/24 14:35:59	1.277
***************
*** 1427,1431 ****
  AC_CHECK_FUNCS(gettimeofday, AC_TRY_COMPILE([#include <sys/time.h>], [gettimeofday((struct timeval*)0,(struct timezone*)0);], ,AC_DEFINE(GETTIMEOFDAY_NO_TZ)))
  
! AC_CHECK_FUNCS(getaddrinfo, [dnl
  AC_MSG_CHECKING(getaddrinfo bug)
  AC_TRY_RUN([
--- 1427,1441 ----
  AC_CHECK_FUNCS(gettimeofday, AC_TRY_COMPILE([#include <sys/time.h>], [gettimeofday((struct timeval*)0,(struct timezone*)0);], ,AC_DEFINE(GETTIMEOFDAY_NO_TZ)))
  
! 
! # On OSF/1 V5.1, getaddrinfo is available, but a define
! # for [no]getaddrinfo in netdb.h. 
! AC_MSG_CHECKING(for getaddrinfo)
! AC_TRY_LINK([
! #include <sys/socket.h>
! #include <netdb.h>
! ],[
! getaddrinfo(NULL, NULL, NULL, NULL);
! ], [
! AC_MSG_RESULT(yes)
  AC_MSG_CHECKING(getaddrinfo bug)
  AC_TRY_RUN([
***************
*** 1520,1524 ****
  buggygetaddrinfo=yes,
  AC_MSG_RESULT(buggy)
! buggygetaddrinfo=yes)], [buggygetaddrinfo=yes])
  
  if test "$buggygetaddrinfo" = "yes"; then
--- 1530,1537 ----
  buggygetaddrinfo=yes,
  AC_MSG_RESULT(buggy)
! buggygetaddrinfo=yes)], [
! AC_MSG_RESULT(no)
! buggygetaddrinfo=yes
! ])
  
  if test "$buggygetaddrinfo" = "yes"; then
***************
*** 1528,1531 ****
--- 1541,1546 ----
  		exit 1
  	fi
+ else
+ 	AC_DEFINE(HAVE_GETADDRINFO)
  fi
  AC_CHECK_FUNCS(getnameinfo)