summaryrefslogtreecommitdiff
path: root/modules/arpa_inet
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2009-04-03 13:24:11 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2009-04-03 13:24:11 -0700
commit592f5b547d9811dc351e3391599777bd061d6abf (patch)
treefe97389d7b72f6eb6f0ed7dacf2381bb71e5a866 /modules/arpa_inet
parent1b27e233b2a03814157d4f5060b785f48db4f3e5 (diff)
downloadgnulib-592f5b547d9811dc351e3391599777bd061d6abf.tar.gz
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.
Diffstat (limited to 'modules/arpa_inet')
-rw-r--r--modules/arpa_inet2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/arpa_inet b/modules/arpa_inet
index 3691fd5cb8..d799403a78 100644
--- a/modules/arpa_inet
+++ b/modules/arpa_inet
@@ -19,7 +19,7 @@ BUILT_SOURCES += $(ARPA_INET_H)
# We need the following in order to create <arpa/inet.h> when the system
# doesn't have one.
-arpa/inet.h:
+arpa/inet.h: arpa_inet.in.h
@MKDIR_P@ arpa
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \