Port inet_ntop to Solaris 8 (problem found in coreutils 7.2).
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Apr 2009 20:24:11 +0000 (13:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Apr 2009 20:24:11 +0000 (13:24 -0700)
commit592f5b547d9811dc351e3391599777bd061d6abf
treefe97389d7b72f6eb6f0ed7dacf2381bb71e5a866
parent1b27e233b2a03814157d4f5060b785f48db4f3e5
Port inet_ntop to Solaris 8 (problem found in coreutils 7.2).

* modules/arpa_inet (arpa/inet.h): Depend on arpa_inet.in.h.
* m4/inet_ntop.m4 (gl_INET_NTOP): Search for inet_ntop in -lnsl,
for Solaris 8.  This is a bit of a hack, as it means it's the
caller's responsibility to add -lnsl if needed, but most likely it
won't be needed since only getaddrinfo uses this and getaddrinfo
isn't needed on Solaris 8.
ChangeLog
m4/inet_ntop.m4
modules/arpa_inet