summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2016-09-07 12:29:18 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-04-29 23:31:10 +0200
commitec7cdcc5da27c800c83969215168bc9220a414ab (patch)
treeedcebc99398a4165e414379ca0783bc463a29b38
parenta1d9e8814ad07251fcb787a330989dc788c076c2 (diff)
downloadsamba-ec7cdcc5da27c800c83969215168bc9220a414ab.tar.gz
waf: Search for MIT kadm-server library
This is needed for plugin registration in the KDC. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--wscript_configure_system_mitkrb54
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5
index 9338833d242..8695dc66d98 100644
--- a/wscript_configure_system_mitkrb5
+++ b/wscript_configure_system_mitkrb5
@@ -36,6 +36,10 @@ if conf.env.KRB5_CONFIG:
krb5_define_syslib(conf, "krb5", conf.env['LIB_KRB5'])
conf.CHECK_CFG(path=conf.env.KRB5_CONFIG, args="--cflags --libs",
+ package="kadm-server", uselib_store="KADM-SERVER")
+ conf.CHECK_FUNCS_IN('kadm5_init', 'kadm5srv_mit')
+
+ conf.CHECK_CFG(path=conf.env.KRB5_CONFIG, args="--cflags --libs",
package="kdb", uselib_store="KDB5")
krb5_define_syslib(conf, "kdb5", conf.env['LIB_KDB5'])