diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-01-01 01:54:35 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-01-01 04:00:03 +0100 |
commit | 4ea992428bbfea18b261ce28417228be730ffbc8 (patch) | |
tree | dceefdb9b16c63dbf1a7875f41345e8620bfb525 /source4/heimdal_build/wscript_build | |
parent | 3febaed9ba9e02ba43259023c4e8255e53c0ad85 (diff) | |
download | samba-4ea992428bbfea18b261ce28417228be730ffbc8.tar.gz samba-4ea992428bbfea18b261ce28417228be730ffbc8.tar.bz2 samba-4ea992428bbfea18b261ce28417228be730ffbc8.zip |
heimdal_build: Allow using system heimntlm.
Diffstat (limited to 'source4/heimdal_build/wscript_build')
-rw-r--r-- | source4/heimdal_build/wscript_build | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build index c71e22494b..217eb22747 100644 --- a/source4/heimdal_build/wscript_build +++ b/source4/heimdal_build/wscript_build @@ -493,18 +493,20 @@ HEIMDAL_LIBRARY('kdc', source=KDC_SOURCE, HEIMDAL_AUTOPROTO('kdc/kdc-protos.h', KDC_SOURCE) HEIMDAL_AUTOPROTO_PRIVATE('kdc/kdc-private.h', KDC_SOURCE) -HEIMDAL_ERRTABLE('HEIMNTLM_ET', - 'lib/ntlm/ntlm_err.et') - -HEIMNTLM_SOURCE = 'lib/ntlm/ntlm.c' -HEIMDAL_LIBRARY('heimntlm', - source=HEIMNTLM_SOURCE, - includes='../heimdal/lib/ntlm', - deps='roken hcrypto krb5', - vnum='1.0.1', - version_script='lib/ntlm/version-script.map', - ) -HEIMDAL_AUTOPROTO('lib/ntlm/heimntlm-protos.h', HEIMNTLM_SOURCE) + +if not bld.CONFIG_SET("USING_SYSTEM_HEIMNTLM"): + HEIMDAL_ERRTABLE('HEIMNTLM_ET', + 'lib/ntlm/ntlm_err.et') + + HEIMNTLM_SOURCE = 'lib/ntlm/ntlm.c' + HEIMDAL_LIBRARY('heimntlm', + source=HEIMNTLM_SOURCE, + includes='../heimdal/lib/ntlm', + deps='roken hcrypto krb5', + vnum='1.0.1', + version_script='lib/ntlm/version-script.map', + ) + HEIMDAL_AUTOPROTO('lib/ntlm/heimntlm-protos.h', HEIMNTLM_SOURCE) HEIMDAL_SUBSYSTEM('HEIMDAL_HDB_KEYS', |