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

[PATCH 0/1] Make libintl in libc detection more robust

From
John Szakmeister <john@szakmeister.net>
Date
Feb 18, 2012, 19:38 UTC
Message-ID
<1329593884-9999-1-git-send-email-john@szakmeister.net>

When building the latest release, I noticed that pthreads support was disabled. It turns out that the libintl in libc support is adding "-lintl" to LIBS, even though I don't have that library on my Mac. This patch fixes the issue by moving the check for libintl.h closer to the checks for libintl in libc, and only adding "-lintl" when NO_GETTEXT is empty.

This is my first time submitting a patch to git. I hope I've done things correctly!

John Szakmeister (1):
  Don't append -lintl when there is no gettext support
 configure.ac |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)
-- 
1.7.9.1
Next: John Szakmeister
Message 1 of 4 in “Make libintl in libc detection more robust”
  1. 0/1 Make libintl in libc detection more robustJohn Szakmeister, Feb 18, 2012
  2. 1/1 Don't append -lintl when there is no gettext supportJohn Szakmeister, Feb 18, 2012
  3. Junio C HamanoFeb 20, 2012
  4. John SzakmeisterFeb 20, 2012

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.