summaryrefslogtreecommitdiff
path: root/source4/auth/gensec/config.m4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-16 03:17:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:46 -0500
commitd44193098720b0b81f7f7add884c9ece92bf32b1 (patch)
treec201c78290bbd40fd487504bc9c984ec458db4d8 /source4/auth/gensec/config.m4
parentbc6312f74d19a0e561acc186c2e185e140bd22c5 (diff)
downloadsamba-d44193098720b0b81f7f7add884c9ece92bf32b1.tar.gz
samba-d44193098720b0b81f7f7add884c9ece92bf32b1.tar.bz2
samba-d44193098720b0b81f7f7add884c9ece92bf32b1.zip
r6810: Rename auth/{ntlmssp,gensec,kerberos} mk and m4 files to be called
config.mk and config.m4 to be consistent with the rest of Samba. (This used to be commit f377c71e4f0d60684326906dfb65e4581294ec34)
Diffstat (limited to 'source4/auth/gensec/config.m4')
-rw-r--r--source4/auth/gensec/config.m412
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 0000000000..1af0a1d9c8
--- /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