This is the mail archive of the
cygwin
mailing list for the Cygwin project.
python: fix for locale.bind_textdomain_codeset
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 23 Dec 2010 20:45:33 -0600
- Subject: python: fix for locale.bind_textdomain_codeset
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