bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sockets


From: Simon Josefsson
Subject: Re: sockets
Date: Thu, 24 Jan 2008 17:09:55 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Brian Dessent <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]