Brian Dessent <[EMAIL PROTECTED]> writes:

> Simon Josefsson wrote:
>
>> continue to work under cygwin.  Btw, could you quote the part from
>> config.log which explains _why_ the m4 macro fails under cygwin?  It
>> isn't clear from the M4 check that it would fail under cygwin, but maybe
>> it is just my lack of knowledge with cygwin.  Still, if it is obscure,
>> we might add a comment.
>
> It fails because gl_HEADER_SYS_SOCKET sets HAVE_WINSOCK2_H=0 if
> ac_cv_header_sys_socket_h = yes, and so winsock2.h is never included in
> the AC_TRY_LINK in gl_SOCKETS:
>
> configure:4791: checking if we need to call WSAStartup in winsock2.h and
> -lws2_32
> configure:4827: gcc -o conftest.exe -g -O2   conftest.c  -lws2_32 >&5
> conftest.c: In function `main':
> conftest.c:30: error: `WORD' undeclared (first use in this function)

Thanks for testing.  I think the test "just happens" to fail under
cygwin, but as long as that is always consistent, I think that is fine.

/Simon


Reply via email to