On Tue, Sep 29, 2015 at 10:59:15PM +0300, Dmitry Sivachenko wrote: > > I *think* that getaddrinfo() provides this. You can try to build by > > adding USE_GETADDRINFO=1 to your makefile. It's not enabled by default > > because there are numerous bogus implementations on various systems. > > If it works for you it could be the best solution as other programs > > which work are likely using it. I don't know if it's safe to enable > > it by default on FreeBSD. > > > > > I do have this enabled: > > Build options : > TARGET = freebsd > CPU = generic > CC = cc > CFLAGS = -O2 -pipe -O2 -fno-strict-aliasing -pipe -fstack-protector > -DFREEBSD_PORTS > OPTIONS = USE_GETADDRINFO=1 USE_ZLIB=1 USE_OPENSSL=1 USE_STATIC_PCRE=1 > USE_PCRE_JIT=1
Then I have no idea how other programs retrieve the information allowing them to respect your system-global choices :-( Willy

