[Python-checkins] CVS: python/dist/src configure,1.270,1.271 configure.in,1.279,1.280

Martin v. L?wis loewis@users.sourceforge.net
2001年11月09日 09:50:54 -0800


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv13902
Modified Files:
	configure configure.in 
Log Message:
Add sys/types.h and stdio.h into getaddrinfo test, based on itojun's message 
in http://mail.python.org/pipermail/python-dev/2001-November/018473.html
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.270
retrieving revision 1.271
diff -C2 -d -r1.270 -r1.271
*** configure	2001年10月31日 12:11:47	1.270
--- configure	2001年11月09日 17:50:51	1.271
***************
*** 1,5 ****
 #! /bin/sh
 
! # From configure.in Revision: 1.278 
 
 # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
 #! /bin/sh
 
! # From configure.in Revision: 1.279 
 
[...1633 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 7476 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
***************
*** 7520,7524 ****
 SRCDIRS="Parser Grammar Objects Python Modules"
 echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7523: checking for build directories" >&5
 for dir in $SRCDIRS; do
 if test ! -d $dir; then
--- 7522,7526 ----
 SRCDIRS="Parser Grammar Objects Python Modules"
 echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7525: 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.279
retrieving revision 1.280
diff -C2 -d -r1.279 -r1.280
*** configure.in	2001年10月31日 12:11:47	1.279
--- configure.in	2001年11月09日 17:50:52	1.280
***************
*** 1432,1437 ****
--- 1432,1439 ----
 AC_MSG_CHECKING(for getaddrinfo)
 AC_TRY_LINK([
+ #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
+ #include <stdio.h>
 ],[
 getaddrinfo(NULL, NULL, NULL, NULL);

AltStyle によって変換されたページ (->オリジナル) /