summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2004-07-22 18:44:01 (GMT)
committerGustavo Niemeyer <gustavo@niemeyer.net>2004-07-22 18:44:01 (GMT)
commit7bd33c5e22c67e06042fb7ab1186f7587d78153d (patch)
tree16506bbe1ea96afd7c579802ed92dd1eb8c62a14 /pyconfig.h.in
parent5980ff2d924b55cf963e9fb69f41c86b45f4099a (diff)
downloadcpython-7bd33c5e22c67e06042fb7ab1186f7587d78153d.zip
cpython-7bd33c5e22c67e06042fb7ab1186f7587d78153d.tar.gz
cpython-7bd33c5e22c67e06042fb7ab1186f7587d78153d.tar.bz2
This change implements the following gettext features, as
discussed recently in python-dev: In _locale module: - bind_textdomain_codeset() binding In gettext module: - bind_textdomain_codeset() function - lgettext(), lngettext(), ldgettext(), ldngettext(), which return translated strings encoded in preferred system encoding, if bind_textdomain_codeset() was not used. - Added equivalent functionality in translate() function and catalog classes. Every change was also documented.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 4918ab7..5e1a43c 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -37,6 +37,9 @@
/* Define this if your time.h defines altzone. */
#undef HAVE_ALTZONE
+/* Define to 1 if you have the `bind_textdomain_codeset' function. */
+#undef HAVE_BIND_TEXTDOMAIN_CODESET
+
/* Define to 1 if you have the <bluetooth/bluetooth.h> header file. */
#undef HAVE_BLUETOOTH_BLUETOOTH_H