From 20a8574717aef8f946ac9d8f3284e7318eeb9bf8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 30 Mar 2010 16:52:08 +1100 Subject: s4-waf: look in libintl for dgettext() --- source4/heimdal_build/wscript_build | 2 +- source4/heimdal_build/wscript_configure | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/heimdal_build') diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build index e3aeae9f2c..c70e719e43 100644 --- a/source4/heimdal_build/wscript_build +++ b/source4/heimdal_build/wscript_build @@ -309,7 +309,7 @@ bld.SAMBA_SUBSYSTEM('HEIMDAL_KRB5', heimdal_autoproto='../heimdal/lib/krb5/krb5-protos.h', heimdal_autoproto_options='-E KRB5_LIB -q -P comment -o', heimdal_autoproto_private='../heimdal/lib/krb5/krb5-private.h', - deps='HEIMDAL_ROKEN HEIMDAL_PKINIT_ASN1 HEIMDAL_WIND HEIMDAL_KRB5_ASN1 HEIMDAL_HX509 HEIMDAL_HCRYPTO LIBNETIF LIBSAMBA-HOSTCONFIG INTL' + deps='HEIMDAL_ROKEN HEIMDAL_PKINIT_ASN1 HEIMDAL_WIND HEIMDAL_KRB5_ASN1 HEIMDAL_HX509 HEIMDAL_HCRYPTO LIBNETIF LIBSAMBA-HOSTCONFIG intl' ) diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure index 8d39561e77..1f0811969b 100644 --- a/source4/heimdal_build/wscript_configure +++ b/source4/heimdal_build/wscript_configure @@ -25,6 +25,8 @@ 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') -- cgit