Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix detection of ipv6 on Solaris
author
Dennis Stosberg
<dennis@stosberg.net>
Tue, 15 Aug 2006 09:01:27 +0000
(11:01 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 15 Aug 2006 09:58:47 +0000
(
02:58
-0700)
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>
configure.ac
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
ab5573a
)
diff --git
a/configure.ac
b/configure.ac
index 0321d437d981cbdc9ce616d11ec83700e4c998fb..36f9cd94d847f1dc95d293ebafbab74cf37fec53 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-154,6
+154,7
@@
AC_CHECK_LIB([c], [socket],
[NEEDS_SOCKET=],
[NEEDS_SOCKET=YesPlease])
AC_SUBST(NEEDS_SOCKET)
[NEEDS_SOCKET=],
[NEEDS_SOCKET=YesPlease])
AC_SUBST(NEEDS_SOCKET)
+test -n "$NEEDS_SOCKET" && LIBS="$LIBS -lsocket"
## Checks for header files.
## Checks for header files.