python: fix for locale.bind_textdomain_codeset
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Fri Dec 24 22:59:00 GMT 2010
Jason,
Support for bind_textdomain_codeset() in Python's locale module (namely
Modules/_localemodule.c) is dependent on an AC_CHECK_FUNC test.
Unfortunately, this only looks in libc, where we (and other non-glibc
platforms) rely on libintl for these functions, resulting in a false
negative.
Since _locale is already linked against libintl, an easy fix is to just
add ac_cv_func_bind_textdomain_codeset=yes to CYGCONF_ARGS. When you
updated Python to 2.6.6, could you include this as well?
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list