waf: improve iconv checks
commitad1dac1610c18d1e74d9dfc257cee49cb5552c1e
authorChristian Ambach <ambi@samba.org>
Wed, 4 Dec 2013 21:50:11 +0000 (4 22:50 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 10 Mar 2014 15:13:13 +0000 (10 16:13 +0100)
tree2fbf098886fbfa9b9c30cca26a3f92d135e7ce25
parentf2774ce7b5aa44718d7071492bae9259973fa138
waf: improve iconv checks

there are broken iconv implementations around (e.g. on AIX) that you
can compile against but that refuse any mapping requests

make sure we do the same as the autoconf-based build did and
fall back to our own code

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10308

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 15b2d1a658b3fc428c20a7a461168f464951f40f)
(cherry picked from commit f5cbfd6ce5e5a0977e5c1a53046ee883b3431246)
source3/build/charset.py