Sam Steingold <[EMAIL PROTECTED]> writes:

> note: woe32 does have gethostname, so mingw is fully covered.

Not quite, MinGW only has gethostname if you link to -lws2_32.  The
current m4 test doesn't check for this, so it fails to detect that
gethostname exists.  My patch attempts to test for gethostname in that
library, a'la similar code for getaddrinfo etc, but it is rather messy.
Possibly this link-to-ws2_32-if-it-makes-sense code should be
re-factored out to a separate m4 test.

/Simon


Reply via email to