summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-22 10:40:26 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-23 13:47:27 +0200
commit4d2c56c4b1a4f846b44f24c6f73e1b95fdf3a9bb (patch)
tree9bb31b76650a6cbe558bfa2d357396220fc94abc /source3/wscript
parentfb3d5ade9d3f935a69834aaee0046a54dbf38ca1 (diff)
downloadsamba-4d2c56c4b1a4f846b44f24c6f73e1b95fdf3a9bb.tar.gz
samba-4d2c56c4b1a4f846b44f24c6f73e1b95fdf3a9bb.tar.bz2
samba-4d2c56c4b1a4f846b44f24c6f73e1b95fdf3a9bb.zip
s3-net: Bind our gettext results to 'unix charset'
This ensures that the translations and any embedded strings are in the same charset. It won't be the one from the user's locale (we no longer auto-detect that), but it will be self-consistent. Thanks to Steve Langasek for pointing this function out! Andrew Bartlett
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index a3a14f0607..d88faa2104 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -138,7 +138,7 @@ def configure(conf):
conf.CHECK_FUNCS('memalign posix_memalign hstrerror')
conf.CHECK_FUNCS('shmget')
conf.CHECK_FUNCS_IN('shm_open', 'rt', checklibc=True)
- conf.CHECK_FUNCS('gettext dgettext bindtextdomain textdomain')
+ conf.CHECK_FUNCS('gettext dgettext bindtextdomain textdomain bind_textdomain_codeset')
#FIXME: for some reason this one still fails
conf.CHECK_FUNCS_IN('yp_get_default_domain', 'nsl')
conf.CHECK_FUNCS_IN('dn_expand _dn_expand __dn_expand', 'resolv')