diff options
Diffstat (limited to 'source4/auth/gensec/config.m4')
-rw-r--r-- | source4/auth/gensec/config.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/auth/gensec/config.m4 b/source4/auth/gensec/config.m4 new file mode 100644 index 00000000000..1af0a1d9c89 --- /dev/null +++ b/source4/auth/gensec/config.m4 @@ -0,0 +1,12 @@ +SMB_MODULE_DEFAULT(gensec_krb5, NOT) +SMB_MODULE_DEFAULT(gensec_gssapi, NOT) +SMB_MODULE_DEFAULT(gensec_gsskrb5, NOT) + +if test x"$SMB_EXT_LIB_ENABLE_KRB5" = x"YES"; then + # krb5 is now disabled at runtime, not build time + SMB_MODULE_DEFAULT(gensec_krb5, STATIC) + SMB_MODULE_DEFAULT(gensec_gssapi, STATIC) + if test x"$samba_cv_GSS_C_DCE_STYLE" = x"yes"; then + SMB_MODULE_DEFAULT(gensec_gsskrb5, STATIC) + fi +fi |