5 from waflib
import Logs
11 if conf
.CHECK_BUNDLED_SYSTEM_PKG(pkg_name
, minversion
=pkg_minversion
):
12 if not conf
.find_program('asn1Parser', var
='ASN1PARSER'):
13 Logs
.warn('WARNING: ans1Parser hasn\'t been found! Please install it (e.g. libtasn1-bin)')
15 conf
.CHECK_FUNCS_IN('gnutls_pkcs7_get_embedded_data_oid', 'gnutls')
18 if (bld
.CONFIG_SET('HAVE_LIBTASN1') and
19 bld
.env
.ASN1PARSER
and
20 bld
.CONFIG_SET('HAVE_GNUTLS_PKCS7_GET_EMBEDDED_DATA_OID')):
22 bld
.SAMBA_GENERATOR('MSCAT_PARSER',
24 target
='mscat_asn1_tab.c',
25 rule
='${ASN1PARSER} --output ${TGT} ${SRC}',
28 bld
.SAMBA_LIBRARY('mscat',
42 bld
.SAMBA_BINARY('dumpmscat',