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)')
16 if (bld
.CONFIG_SET('HAVE_LIBTASN1') and
17 bld
.env
.ASN1PARSER
and
18 bld
.CONFIG_SET('HAVE_GNUTLS_PKCS7_GET_EMBEDDED_DATA_OID')):
20 bld
.SAMBA_GENERATOR('MSCAT_PARSER',
22 target
='mscat_asn1_tab.c',
23 rule
='${ASN1PARSER} --output ${TGT} ${SRC}',
26 bld
.SAMBA_LIBRARY('mscat',
40 bld
.SAMBA_BINARY('dumpmscat',