summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/wscript_configure
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-08-01 22:28:05 +0200
committerChristian Ambach <ambi@samba.org>2013-08-09 22:46:57 +0200
commit07b3a048724a6b41282e1f673aea5ce2c1202a5e (patch)
tree74f0fc72835969aaf34bc2a732b71df5da0874d2 /source4/heimdal_build/wscript_configure
parenta742e87b39bed97ac59f5ec8bff9bf3cedf8b68a (diff)
downloadsamba-07b3a048724a6b41282e1f673aea5ce2c1202a5e.tar.gz
samba-07b3a048724a6b41282e1f673aea5ce2c1202a5e.tar.bz2
samba-07b3a048724a6b41282e1f673aea5ce2c1202a5e.zip
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>
Diffstat (limited to 'source4/heimdal_build/wscript_configure')
-rwxr-xr-xsource4/heimdal_build/wscript_configure4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure
index 2bb465a1fd..bed63d67ba 100755
--- a/source4/heimdal_build/wscript_configure
+++ b/source4/heimdal_build/wscript_configure
@@ -19,7 +19,7 @@ conf.CHECK_HEADERS('ifaddrs.h')
conf.CHECK_HEADERS('''crypt.h errno.h inttypes.h netdb.h signal.h sys/bswap.h
sys/file.h sys/stropts.h sys/timeb.h sys/times.h sys/uio.h sys/un.h
sys/utsname.h time.h timezone.h ttyname.h netinet/in.h
- netinet/in6.h netinet6/in6.h libintl.h''')
+ netinet/in6.h netinet6/in6.h''')
conf.CHECK_HEADERS('curses.h term.h termcap.h', together=True)
@@ -42,8 +42,6 @@ conf.CHECK_FUNCS_IN('''getnameinfo sendmsg socket getipnodebyname gethostent get
'socket nsl',
checklibc=True)
-conf.CHECK_FUNCS_IN('dgettext gettext', 'intl', headers='libintl.h')
-
conf.CHECK_FUNCS('iruserok')
conf.CHECK_FUNCS('bswap16')