Hi, On Fri, Mar 06, 2015 at 01:07:38PM -0600, Nicholas Hall wrote: > Autotools configure check fails to detect res_init on recent glibc > versions. It appears that resolv.h in recent glibc maps res_init to > __res_init which autotools doesn't catch.
Thanks for your patch.
Looking at it, I wonder why we're calling res_init() anyway. From a
cursory reading of "man res_init" it seems to be a prerequisite to
calling stuff like res_query(), res_search() or dn_comp() (etc) - but
we actually call *none* of them, nor do we intend to...
We use getaddrinfo() and getnameinfo() extensively, which do not require
res_init() to be called first...
So, instead of adding more convolutions to configure.ac, I propose to
throw out res_init() and everything related to it :-) - much easier.
Arne, what do you think? You're the last one to have touched the code :-)
(though you didn't introduce res_init(), that came into 2.1_rc8, back
in the SVN days)
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
pgplb8AgCFG9N.pgp
Description: PGP signature
