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

[PATCH 2/5] autoconf: Set NEEDS_LIBICONV unconditionally if there is no iconv in libc

From
Jakub Narebski <jnareb@gmail.com>
Date
Aug 4, 2006, 21:28 UTC
Message-ID
<200608042328.12607.jnareb@gmail.com>
In-Reply-To
<200608042333.19011.jnareb@gmail.com>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5926f3c..61c9fa3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,8 +172,7 @@ AC_CHECK_LIB([expat], [XML_ParserCreate]
 #
 # Define NEEDS_LIBICONV if linking with libc is not enough (Darwin).
 AC_CHECK_LIB([c], [iconv],[],
-[AC_CHECK_LIB([iconv],[iconv],
- [GIT_CONF_APPEND_LINE(NEEDS_LIBICONV=YesPlease)],[])])
+[GIT_CONF_APPEND_LINE(NEEDS_LIBICONV=YesPlease)])
 #
 # Define NEEDS_SOCKET if linking with libc is not enough (SunOS,
 # Patrick Mauritz).
-- 
1.4.1.1
Previous: Jakub NarebskiNext: Jakub Narebski
Message 2 of 6 in “autoconf: Fixes and improvements (was: What's in git.git)”
  1. 0/5 autoconf: Fixes and improvements (was: What's in git.git)Jakub Narebski, Aug 4, 2006
  2. 2/5 autoconf: Set NEEDS_LIBICONV unconditionally if there is no iconv in libcJakub Narebski, Aug 4, 2006
  3. 3/5 autoconf: Fix NEEDS_SSL_WITH_CRYPTO detectionJakub Narebski, Aug 4, 2006
  4. 1/5 autoconf: typofix to detect SHA1_Init in -lcryptoJakub Narebski, Aug 4, 2006
  5. 4/5 autoconf: Double check for IPv6 supportJakub Narebski, Aug 4, 2006
  6. 5/5 autoconf: Unset NO_STH and NEED_STH when it is detected not neededJakub Narebski, Aug 4, 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.