[Python-checkins] python/dist/src configure.in, 1.463,
1.464 pyconfig.h.in, 1.101, 1.102
davecole at users.sourceforge.net
davecole at users.sourceforge.net
Mon Aug 9 06:51:42 CEST 2004
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20818
Modified Files:
configure.in pyconfig.h.in
Log Message:
Patch #1003700: Add socketpair function to socket module.
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.463
retrieving revision 1.464
diff -C2 -d -r1.463 -r1.464
*** configure.in 22 Jul 2004 18:43:59 -0000 1.463
--- configure.in 9 Aug 2004 04:51:39 -0000 1.464
***************
*** 2469,2472 ****
--- 2469,2483 ----
AC_MSG_RESULT($works)
+ # check for socketpair
+ AC_MSG_CHECKING(for socketpair)
+ AC_TRY_COMPILE([
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ ], void *x=socketpair,
+ AC_DEFINE(HAVE_SOCKETPAIR, 1, Define if you have the 'socketpair' function.)
+ AC_MSG_RESULT(yes),
+ AC_MSG_RESULT(no)
+ )
+
# check if sockaddr has sa_len member
AC_MSG_CHECKING(if sockaddr has sa_len member)
Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.101
retrieving revision 1.102
diff -C2 -d -r1.101 -r1.102
*** pyconfig.h.in 22 Jul 2004 18:43:59 -0000 1.101
--- pyconfig.h.in 9 Aug 2004 04:51:40 -0000 1.102
***************
*** 429,432 ****
--- 429,435 ----
#undef HAVE_SNPRINTF
+ /* Define to 1 if you have the `socketpair' function. */
+ #undef HAVE_SOCKETPAIR
+
/* Define if sockaddr has sa_len member */
#undef HAVE_SOCKADDR_SA_LEN
More information about the Python-checkins
mailing list