bug-gnulib
[Top][All Lists]
Advanced

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

Re: socklen problems with Libgcrypt 1.2.4 on mingw32


From: Simon Josefsson
Subject: Re: socklen problems with Libgcrypt 1.2.4 on mingw32
Date: Fri, 02 Feb 2007 14:12:19 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

Werner Koch <address@hidden> writes:

> On Fri,  2 Feb 2007 11:37, address@hidden said:
>
>> Hi!  Cross-compiling libgcrypt 1.2.4 to mingw32 fails:
>
> Have you tested your 
>
> # socklen.m4 serial 4
>
> for cross-compiling?

Yes.  socklen_t exists on mingw32 if you include ws2tcpip.h.  Code
will have to include the same headers as the M4 test.

> Hmm, there seems to be a bug in it anyway:
>
>    AC_CHECK_TYPE([socklen_t], ,
>      [AC_MSG_CHECKING([for socklen_t equivalent])
>       AC_CACHE_VAL([gl_cv_gl_cv_socklen_t_equiv],
>                     ^^^^^^^^^^^
>       [# Systems have either "struct sockaddr *" or
>        # "void *" as the second argument to getpeername
>        gl_cv_socklen_t_equiv=
>          ^^^^^

Oops.  I have fixed that in gnulib CVS, thanks!  It didn't modify how
the test worked, though, it only prevented caching from working.

/Simon




reply via email to

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