waf: consolidate libintl related checks
authorChristian Ambach <ambi@samba.org>
Thu, 1 Aug 2013 20:28:05 +0000 (22:28 +0200)
committerChristian Ambach <ambi@samba.org>
Fri, 9 Aug 2013 20:46:57 +0000 (22:46 +0200)
commit07b3a048724a6b41282e1f673aea5ce2c1202a5e
tree74f0fc72835969aaf34bc2a732b71df5da0874d2
parenta742e87b39bed97ac59f5ec8bff9bf3cedf8b68a
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>
lib/replace/wscript
source3/wscript
source4/heimdal_build/wscript_configure