mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
heimdal_build: Provide C defines showing which Kerberos library is in use
Squashed from patches by Stefan Metzmacher as part of his Heimdal update branch Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
7b4aef782c
commit
d62917d3d7
@ -4,4 +4,5 @@ if not conf.env['FLEX']:
|
||||
if not conf.env['BISON']:
|
||||
conf.fatal("Embedded Heimdal build requires bison but it was not found. Install bison or use --with-system-mitkrb5 or --with-system-heimdalkrb5")
|
||||
|
||||
conf.define('USING_EMBEDDED_HEIMDAL', 1)
|
||||
conf.RECURSE('source4/heimdal_build')
|
||||
|
@ -99,4 +99,6 @@ finally:
|
||||
check_system_heimdal_binary("compile_et")
|
||||
check_system_heimdal_binary("asn1_compile")
|
||||
|
||||
conf.env.KRB5_VENDOR = 'heimdal'
|
||||
conf.define('USING_SYSTEM_KRB5', 1)
|
||||
conf.define('USING_SYSTEM_HEIMDAL', 1)
|
||||
|
@ -79,6 +79,7 @@ if conf.env.KRB5_CONFIG:
|
||||
|
||||
if parse_version(krb5_version) < parse_version('1.18'):
|
||||
conf.DEFINE('HAVE_MIT_KRB5_PRE_1_18', 1)
|
||||
conf.define('USING_SYSTEM_MITKRB5', '"%s"' % krb5_version)
|
||||
|
||||
conf.CHECK_CFG(args="--cflags --libs", package="com_err", uselib_store="com_err")
|
||||
conf.CHECK_FUNCS_IN('_et_list', 'com_err')
|
||||
|
Loading…
Reference in New Issue
Block a user