This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]