mirror of
https://github.com/samba-team/samba.git
synced 2025-02-22 05:57:43 +03:00
build: Check for krb5 headers
This commit is contained in:
parent
ac9d39d108
commit
33ef088f3d
@ -47,4 +47,12 @@ def configure(conf):
|
||||
conf.CHECK_HEADERS('ldap.h lber.h')
|
||||
conf.CHECK_TYPE('ber_tag_t', 'unsigned int')
|
||||
|
||||
# Check for kerberos
|
||||
conf.find_program('krb5-config', var='KRB5_CONFIG')
|
||||
if conf.env.KRB5_CONFIG:
|
||||
conf.check_cfg(path="krb5-config", args="--cflags --libs",
|
||||
package="gssapi", uselib_store="KRB5")
|
||||
conf.CHECK_HEADERS('krb5.h krb5/locate_plugin.h')
|
||||
conf.CHECK_HEADERS('gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h com_err.h')
|
||||
|
||||
conf.SAMBA_CONFIG_H('include/config.h')
|
||||
|
Loading…
x
Reference in New Issue
Block a user