diff options
author | Dennis Stosberg <dennis@stosberg.net> | 2006-08-15 13:01:27 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-15 13:58:47 +0400 |
commit | d1b9944db8f66131b259be407472e53db33718ea (patch) | |
tree | adb429ceb2cfbc585b199ebe01b8c2ea72339b29 | |
parent | ab5573ae9f4178a7b6f6920f04c73a65feb3c690 (diff) |
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.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0321d437d9..36f9cd94d8 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. |