git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 4/6] Fix detection of ipv6 on Solaris

From
DSDennis Stosberg <dennis@stosberg.net>
Date
Aug 15, 2006, 09:01 UTC
Message-ID
<20060815090127.5223.89277.stgit@leonov.stosberg.net>
In-Reply-To
<20060815090031.5223.27458.stgit@leonov.stosberg.net>

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>
---
 configure.ac |    1 +
 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.
Previous: Dennis StosbergNext: Dennis Stosberg
Message 5 of 10 in “Configuration tweaks for Solaris”
  1. 0/6 Configuration tweaks for SolarisDennis Stosberg, Aug 15, 2006
  2. 1/6 Solaris has strlcpy() at least since version 8Dennis Stosberg, Aug 15, 2006
  3. 2/6 Solaris does not support C99 format strings before version 10Dennis Stosberg, Aug 15, 2006
  4. 3/6 Look for sockaddr_storage in sys/socket.hDennis Stosberg, Aug 15, 2006
  5. 4/6 Fix detection of ipv6 on SolarisDennis Stosberg, Aug 15, 2006
  6. 5/6 On Solaris nanosleep() is not in libc but in librtDennis Stosberg, Aug 15, 2006
  7. Junio C HamanoAug 15, 2006
  8. Alex RiesenAug 15, 2006
  9. Documentation/technical/racy-git.txtJunio C Hamano, Aug 15, 2006
  10. 6/6 Fix compilation with Sun CCDennis Stosberg, Aug 15, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.