From: Dennis Stosberg Date: Tue, 15 Aug 2006 09:01:27 +0000 (+0200) Subject: Fix detection of ipv6 on Solaris X-Git-Tag: v1.4.3-rc1~235 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d1b9944db8f66131b259be407472e53db33718ea;p=git.git Fix detection of ipv6 on Solaris The configuration script detects whether linking with -lsocket is necessary but doesn't add -lsocket to LIBS. This lets the ipv6 test fail. Signed-off-by: Dennis Stosberg Signed-off-by: Junio C Hamano --- diff --git a/configure.ac b/configure.ac index 0321d437d..36f9cd94d 100644 --- a/configure.ac +++ b/configure.ac @@ -154,6 +154,7 @@ AC_CHECK_LIB([c], [socket], [NEEDS_SOCKET=], [NEEDS_SOCKET=YesPlease]) AC_SUBST(NEEDS_SOCKET) +test -n "$NEEDS_SOCKET" && LIBS="$LIBS -lsocket" ## Checks for header files.