1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4-waf: look in libintl for dgettext()

This commit is contained in:
Andrew Tridgell 2010-03-30 16:52:08 +11:00
parent 0a6a808113
commit 20a8574717
3 changed files with 3 additions and 2 deletions

View File

@ -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'
)

View File

@ -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')

View File

@ -21,7 +21,6 @@ bld.TARGET_ALIAS('RPC_NDR_SRVSVC', 'NDR_SRVSVC')
bld.TARGET_ALIAS('RPC_NDR_MGMT', 'dcerpc_mgmt')
# missing subsystems - need looking at
bld.SAMBA_SUBSYSTEM('INTL', '') # external gettext library
bld.SAMBA_SUBSYSTEM('NETAPI', '') # for external libnet
bld.SAMBA_SUBSYSTEM('OPENPTY', '') # external openpty library
bld.SAMBA_SUBSYSTEM('SMBCLIENT', '') # for external libsmbclient