This is the mail archive of the
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
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
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?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple