summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-06-07 20:09:53 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-06-07 20:09:53 (GMT)
commitc6d936e23f75d6de6c9eb50d5b380d33fb823825 (patch)
tree60d586d6e4fddaf3ca5e365bb6d084b1d84b7572 /configure.in
parentb7a515609d5029772243c1c7cda807cfd9bb9f4a (diff)
downloadcpython-c6d936e23f75d6de6c9eb50d5b380d33fb823825.zip
cpython-c6d936e23f75d6de6c9eb50d5b380d33fb823825.tar.gz
cpython-c6d936e23f75d6de6c9eb50d5b380d33fb823825.tar.bz2
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.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 4e77f11..73472bd 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