lib/util/charset: add back loading of charset modules
authorAndrew Bartlett <abartlet@samba.org>
Fri, 9 Sep 2011 13:51:06 +0000 (23:51 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 10 Sep 2011 12:18:06 +0000 (14:18 +0200)
commitfc6bb5d47a985d0215c2a8ea9a00c21abf131ad9
treeda89f2d6208c0241b2e70dad23a6fc847aa1eed5
parent258ffddf1cc1ac6b1ff5a07585940ca552170807
lib/util/charset: add back loading of charset modules

For autoconf builds these remain as modules, for waf builds they are
built into the charset library.

This is required to provide the CP850 charset when iconv is not available.

The charset modules static for the waf builds because with proper
shared libs, there isn't the same need for these to be in seperate .so
files.  The modules are also not produced if a system iconv is found,
except for developers, to allow testing of both code paths.

Andrew Bartlett
lib/util/charset/iconv.c
lib/util/charset/wscript_build
source3/wscript