aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorG√ľnther Deschner <gd@samba.org>2014-05-09 13:44:05 +0200
committerAndrew Bartlett <abartlet@samba.org>2016-03-17 04:32:27 +0100
commit1092324f7f3b52a363ebbbadae2aa6749cd3123a (patch)
tree827842df73d6ac358fca733af11cc649a7bde6c9
parent2467032a3e90754ff1d2d8c4146d9f479fffc6d4 (diff)
downloadsamba-1092324f7f3b52a363ebbbadae2aa6749cd3123a.tar.gz
samba-1092324f7f3b52a363ebbbadae2aa6749cd3123a.tar.xz
samba-1092324f7f3b52a363ebbbadae2aa6749cd3123a.zip
wscript: detect if we have libkdb5 and kdb.h.
Guenther Signed-off-by: G√ľnther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--wscript_configure_system_mitkrb55
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5
index 5b5d870f733..0d47ccb4f69 100644
--- a/wscript_configure_system_mitkrb5
+++ b/wscript_configure_system_mitkrb5
@@ -26,6 +26,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="kdb", uselib_store="KDB5")
+ krb5_define_syslib(conf, "kdb5", conf.env['LIB_KDB5'])
+
+ conf.CHECK_CFG(path=conf.env.KRB5_CONFIG, args="--cflags --libs",
package="gssapi", uselib_store="GSSAPI")
krb5_define_syslib(conf, "gssapi", conf.env['LIB_GSSAPI'])
if 'k5crypto' in conf.env['LIB_GSSAPI']:
@@ -57,6 +61,7 @@ if conf.env.KRB5_CONFIG:
conf.CHECK_CFG(args="--cflags --libs", package="com_err", uselib_store="com_err")
conf.CHECK_FUNCS_IN('_et_list', 'com_err')
conf.CHECK_HEADERS('com_err.h', lib='com_err')
+conf.CHECK_HEADERS('kdb.h', lib='kdb5')
conf.CHECK_HEADERS('krb5.h krb5/locate_plugin.h', lib='krb5')
possible_gssapi_headers="gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h gssapi/gssapi_ext.h gssapi/gssapi_krb5.h gssapi/gssapi_oid.h"