socklen problems with Libgcrypt 1.2.4 on mingw32
Simon Josefsson
simon at josefsson.org
Fri Feb 2 14:12:19 CET 2007
Werner Koch <wk at gnupg.org> writes:
> On Fri, 2 Feb 2007 11:37, simon at josefsson.org 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
More information about the Gcrypt-devel
mailing list