summaryrefslogtreecommitdiff
path: root/source3/build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-26 00:55:25 -0600
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:08 +1000
commit6b3a72dd45a1d8ff2aa087764a361a5370f84672 (patch)
tree4086921555723a6f48749e602ff338562e8e6735 /source3/build
parent8b14d217c4a6912f85889f146cc3281ac4c7a0dc (diff)
downloadsamba-6b3a72dd45a1d8ff2aa087764a361a5370f84672.tar.gz
samba-6b3a72dd45a1d8ff2aa087764a361a5370f84672.tar.bz2
samba-6b3a72dd45a1d8ff2aa087764a361a5370f84672.zip
s3-waf: fixed tests for charsets
Pair-Programmed-With: Kai
Diffstat (limited to 'source3/build')
-rw-r--r--source3/build/charset.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/build/charset.py b/source3/build/charset.py
index fce1f4af31..d1940c3ef1 100644
--- a/source3/build/charset.py
+++ b/source3/build/charset.py
@@ -13,19 +13,19 @@ def CHECK_SAMBA3_CHARSET(conf, crossbuild=False):
# check for default dos charset name
for charset in ['CP850', 'IBM850']:
- if conf.CHECK_CHARSET_EXISTS(charset):
+ if conf.CHECK_CHARSET_EXISTS(charset, headers='iconv.h'):
default_dos_charset=charset
break
# check for default display charset name
for charset in ['ASCII', '646']:
- if conf.CHECK_CHARSET_EXISTS(charset):
+ if conf.CHECK_CHARSET_EXISTS(charset, headers='iconv.h'):
default_display_charset=charset
break
# check for default unix charset name
for charset in ['UTF-8', 'UTF8']:
- if conf.CHECK_CHARSET_EXISTS(charset):
+ if conf.CHECK_CHARSET_EXISTS(charset, headers='iconv.h'):
default_unix_charset=charset
break