Bruno Haible <[EMAIL PROTECTED]> writes:
> Simon Josefsson wrote:
>> Unless there is a simple concrete solution to this, I'm inclined to
>> install the patch below and document that people using this module
>> will have to call WSAStartup manually,
>
> I don't know the simple concrete solution eit
Simon Josefsson wrote:
> Unless there is a simple concrete solution to this, I'm inclined to
> install the patch below and document that people using this module
> will have to call WSAStartup manually,
I don't know the simple concrete solution either :-), so I would do like
you say.
> +#define W
The follow patch make getaddrinfo work (it seems Windows has a
getaddrinfo implementation, although it doesn't have gai_strerror)
_except_ that applications need to initialize Windows' socket code
manually, by calling WSAStartup. I'm not sure how to handle that.
One solution is to create gl_getadd
Simon Josefsson wrote:
> AC_SEARCH_LIBS(gethostbyname, [inet nsl])
> ...
> if test "$ac_cv_search_gethostbyname" = "no"; then
> save_LIBS="$LIBS"
> LIBS="$LIBS -lwsock32"
> AC_MSG_CHECKING([whether we need -lwsock32])
> AC_LINK_IFELSE([
> AC_LANG_PROGRAM([[
> #include
Wh
Bruno Haible <[EMAIL PROTECTED]> writes:
> Simon Josefsson wrote:
>> My problem is getting
>> AC_SEARCH_LIBS to find functions in the mingw32 libraries. It seems a
>> __stdcall is required in the prototype to make it link correctly.
>
> The prototype with __stdcall must be contained in a public i