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.
This commit is contained in:
Brett Cannon 2009-06-07 20:09:53 +00:00
parent b7a515609d
commit c6d936e23f
4 changed files with 14 additions and 5 deletions

View file

@ -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