On Tue, Mar 16, 2010 at 12:24:47AM -0700, Junio C Hamano wrote:
"Gary V. Vaughan" [off-list ref] writes:
quoted
@@ -526,11 +526,22 @@ test -n "$NEEDS_SOCKET" && LIBS="$LIBS -
#
# Define NEEDS_RESOLV if linking with -lnsl and/or -lsocket is not enough.
-# Notably on Solaris hstrerror resides in libresolv and on Solaris 7
-# inet_ntop and inet_pton additionally reside there.
-AC_CHECK_LIB([c], [hstrerror],
+# Notably on Solaris 7 inet_ntop and inet_pton additionally reside there.
You lost the thing they are "additional" to, so this needs a bit of
rewording?
I did that to minimise the changes in this patch. no-inet_ntop.patch
rewrites the inet_ntop test and deletes the incomplete comment line
too.
Cheers,
--
Gary V. Vaughan (gary@thewrittenword.com)