[issue17226] libintl should also check for libiconv
Alan Hourihane
report at bugs.python.org
Mon Sep 16 17:58:13 CEST 2013
Alan Hourihane added the comment:
This works for me...
--- configure.ac.old 2013-09-10 14:37:20.000000000 +0000
+++ configure.ac 2013-09-10 14:56:27.000000000 +0000
@@ -2190,7 +2190,11 @@
AC_CHECK_LIB(intl, textdomain,
[AC_DEFINE(WITH_LIBINTL, 1,
[Define to 1 if libintl is needed for locale functions.])
- LIBS="-lintl $LIBS"])
+ LIBS="-lintl $LIBS"],
+ [AC_SEARCH_LIBS(textdomain, intl,
+ [AC_DEFINE(WITH_LIBINTL, 1,
+ [Define to 1 if libintl is needed for locale functions.])
+ LIBS="-lintl -liconv $LIBS"], , "-liconv")])
# checks for system dependent C++ extensions support
case "$ac_sys_system" in
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17226>
_______________________________________
More information about the Python-bugs-list
mailing list