summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDennis Stosberg <dennis@stosberg.net>2006-08-15 09:01:27 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-08-15 09:58:47 (GMT)
commitd1b9944db8f66131b259be407472e53db33718ea (patch)
treeadb429ceb2cfbc585b199ebe01b8c2ea72339b29 /configure.ac
parentab5573ae9f4178a7b6f6920f04c73a65feb3c690 (diff)
downloadgit-d1b9944db8f66131b259be407472e53db33718ea.zip
git-d1b9944db8f66131b259be407472e53db33718ea.tar.gz
git-d1b9944db8f66131b259be407472e53db33718ea.tar.bz2
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>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0321d43..36f9cd9 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.