Re: #19212 [Com]: Socket extension won't compile

From: Date: Wed, 04 Sep 2002 14:29:05 +0000
Subject: Re: #19212 [Com]: Socket extension won't compile
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-87908@lists.php.net to get a copy of this message
On 4 Sep 2002 msopacua@idg.nl wrote: >>> >>> Have hunch this is a bug in ext/sockets/config.m4. Index: ext/sockets/config.m4 =================================================================== RCS file: /repository/php4/ext/sockets/config.m4,v retrieving revision 1.10 diff -u -r1.10 config.m4 --- ext/sockets/config.m4 12 May 2002 17:28:12 -0000 1.10 +++ ext/sockets/config.m4 4 Sep 2002 14:27:07 -0000 @@ -12,8 +12,8 @@ AC_TRY_COMPILE([ #include <sys/types.h> #include <sys/socket.h> - ], [static struct msghdr tp; int n = (int) tp.msg_flags; return n], - [AC_DEFINE(MISSING_MSGHDR_MSGFLAGS, 1, [ ])] + ], [static struct msghdr tp; int n = (int) tp.msg_flags; return n], [ ], + [AC_DEFINE(MISSING_MSGHDR_MSGFLAGS, 1, [Whether struct msghdr has msg_flags])] ) AC_DEFINE([HAVE_SOCKETS], 1, [ ]) -- Melvyn.

« previous php.dev (#87908) next »