waf: consolidate libintl related checks
commit202f7b98abc2a01708a7ee1b1871b2e37d9beeca
authorChristian Ambach <ambi@samba.org>
Thu, 1 Aug 2013 20:28:05 +0000 (1 22:28 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Aug 2013 08:53:18 +0000 (20 10:53 +0200)
treee1cfef198fe6a56b754d09ceaa0815fa17d82b08
parent9a197573e246369b36cdcddeceb26e5d139b4adf
waf: consolidate libintl related checks

consolidate the dealing with functions from libintl and the
handling of checking if libiconv is required or not
to a common place in lib/replace

also add a new samba_intl subsystem that has dependencies
on the appropriate set of libraries (libintl, libintl+libiconv or none)
that can be used as a general dependency by code that depends
on the internationalization libraries

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 07b3a048724a6b41282e1f673aea5ce2c1202a5e)
lib/replace/wscript
source3/wscript
source4/heimdal_build/wscript_configure