summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/gensec.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/auth/gensec.m4')
-rw-r--r--source4/libcli/auth/gensec.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/libcli/auth/gensec.m4 b/source4/libcli/auth/gensec.m4
index 8f8faf5d7c..673db77f82 100644
--- a/source4/libcli/auth/gensec.m4
+++ b/source4/libcli/auth/gensec.m4
@@ -1,5 +1,8 @@
+if test t$SMB_EXT_LIB_ENABLE_KRB5 = tYES; then
+ SMB_MODULE_DEFAULT(gensec_krb5, STATIC)
+fi
+
SMB_SUBSYSTEM_MK(GENSEC,libcli/auth/gensec.mk)
SMB_MODULE_MK(gensec_krb5, GENSEC, NOT, libcli/auth/gensec.mk)
SMB_MODULE_MK(gensec_ntlmssp, GENSEC, STATIC, libcli/auth/gensec.mk)
SMB_MODULE_MK(gensec_spnego, GENSEC, STATIC, libcli/auth/gensec.mk)
-