Gordon Matzigkeit <[EMAIL PROTECTED]> writes:

> I'm not sure if you care about supporting glibc-2.0.7, but I found
> only a few problems compiling lsh against it, both related to the
> getaddrinfo function in src/io.c.

[ ... AI_NUMERICHOST, gai_strerror not defined ]

Would it help to just undefined HAVE_GETADDRINFO? I guess one could
add some configure tests to detect broken implementations of rfc 2553
(Basic Socket Interface Extensions for IPv6). It should be fairly
straight-forward to check for the existence of AI_NUMERICHOST. Patches
appreciated.

On the other hand, the longer term goal is to use adns rather than
getaddrinfo or gethostbyname.

/Niels

Reply via email to