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>
Dennis Stosberg committed
Aug 15, 2006 at 11:01 UTC
d1b9944db8f66131b259be407472e53db33718ea
1 file changed
+1
configure.ac
+1
@@ -154,6 +154,7 @@ AC_CHECK_LIB([c], [socket],
154
[NEEDS_SOCKET=],
155
[NEEDS_SOCKET=YesPlease])
156
AC_SUBST(NEEDS_SOCKET)
157
+test -n "$NEEDS_SOCKET" && LIBS="$LIBS -lsocket"
158
159
160
## Checks for header files.