From c6d936e23f75d6de6c9eb50d5b380d33fb823825 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sun, 7 Jun 2009 20:09:53 +0000 Subject: When _locale became a built-in module it was discovered that ``-lintl`` was not added as a build flag as needed. This then led to the discovery that OS X framework builds did not have the LIBS var to pick up this flag. Fixes issue #6154. Thanks to Benjamin Peterson, Roumen Petrov, Erick Tryzelaar, Mark Dickinson, Evan Behar, and Ronald Oussoren for helping. --- configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 4e77f11172..73472bdc53 100644 --- a/configure.in +++ b/configure.in @@ -1819,8 +1819,9 @@ fi # check if we need libintl for locale functions AC_CHECK_LIB(intl, textdomain, - AC_DEFINE(WITH_LIBINTL, 1, - [Define to 1 if libintl is needed for locale functions.])) + [AC_DEFINE(WITH_LIBINTL, 1, + [Define to 1 if libintl is needed for locale functions.]) + LIBS="-lintl $LIBS"]) # checks for system dependent C++ extensions support case "$ac_sys_system" in -- cgit v1.2.1