waf: improve iconv checks
authorChristian Ambach <ambi@samba.org>
Wed, 4 Dec 2013 21:50:11 +0000 (22:50 +0100)
committerChristian Ambach <ambi@samba.org>
Fri, 3 Jan 2014 04:04:44 +0000 (05:04 +0100)
commit15b2d1a658b3fc428c20a7a461168f464951f40f
treef961569da2cf69e2c6d37a1e1ff25cafd9f0d914
parentc20753ce7aea9562f3731e2e749d8267a526db4f
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>
source3/build/charset.py