summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/config.m410
-rw-r--r--source4/auth/gensec/config.mk1
2 files changed, 3 insertions, 8 deletions
diff --git a/source4/auth/gensec/config.m4 b/source4/auth/gensec/config.m4
index af17e896a4..b945afeea0 100644
--- a/source4/auth/gensec/config.m4
+++ b/source4/auth/gensec/config.m4
@@ -1,8 +1,2 @@
-SMB_MODULE_DEFAULT(gensec_krb5, NOT)
-SMB_MODULE_DEFAULT(gensec_gssapi, NOT)
-
-if test x"$HAVE_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)
-fi
+SMB_ENABLE(gensec_krb5, $HAVE_KRB5)
+SMB_ENABLE(gensec_gssapi, $HAVE_KRB5)
diff --git a/source4/auth/gensec/config.mk b/source4/auth/gensec/config.mk
index d1a89038ad..57f7bc4f0d 100644
--- a/source4/auth/gensec/config.mk
+++ b/source4/auth/gensec/config.mk
@@ -4,6 +4,7 @@
MAJOR_VERSION = 0
MINOR_VERSION = 0
RELEASE_VERSION = 1
+PUBLIC_HEADERS = gensec.h
INIT_FUNCTION = gensec_init
INIT_OBJ_FILES = gensec.o
REQUIRED_SUBSYSTEMS = \