aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Stosberg <dennis@stosberg.net>2006-08-15 11:01:27 +0200
committerJunio C Hamano <junkio@cox.net>2006-08-15 02:58:47 -0700
commitd1b9944db8f66131b259be407472e53db33718ea (patch)
treeadb429ceb2cfbc585b199ebe01b8c2ea72339b29
parentab5573ae9f4178a7b6f6920f04c73a65feb3c690 (diff)
downloadgit-d1b9944db8f66131b259be407472e53db33718ea.tar.gz
git-d1b9944db8f66131b259be407472e53db33718ea.tar.xz
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 <dennis@stosberg.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
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.