[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