summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/aclocal.m41
-rw-r--r--source3/configure.in2
-rw-r--r--source3/smbd/build_options.c3
3 files changed, 6 insertions, 0 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4
index 5d9070fcd9..744acf6a1b 100644
--- a/source3/aclocal.m4
+++ b/source3/aclocal.m4
@@ -55,6 +55,7 @@ AC_DEFUN(SMB_MODULE,
AC_MSG_RESULT([shared])
elif test x"$DEST" = xSTATIC; then
[init_static_modules_]translit([$4], [A-Z], [a-z])="$[init_static_modules_]translit([$4], [A-Z], [a-z]) $1_init();"
+ string_static_modules="$string_static_modules $1"
$4_STATIC="$$4_STATIC $2"
AC_SUBST($4_STATIC)
AC_MSG_RESULT([static])
diff --git a/source3/configure.in b/source3/configure.in
index 4a1ed3ab4b..a6d078c8ce 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3398,6 +3398,8 @@ SMB_MODULE(auth_domain, auth/auth_domain.o, bin/domain.so, AUTH)
SMB_MODULE(auth_builtin, auth/auth_builtin.o, bin/builtin.so, AUTH)
SMB_SUBSYSTEM(AUTH)
+AC_DEFINE_UNQUOTED(STRING_STATIC_MODULES, "$string_static_modules", [String list of builtin modules])
+
#################################################
# do extra things if we are running insure
diff --git a/source3/smbd/build_options.c b/source3/smbd/build_options.c
index bedfb5ef73..43335666a6 100644
--- a/source3/smbd/build_options.c
+++ b/source3/smbd/build_options.c
@@ -523,6 +523,9 @@ void build_options(BOOL screen)
output(screen," sizeof(uint32): %d\n",sizeof(uint32));
output(screen," sizeof(short): %d\n",sizeof(short));
output(screen," sizeof(void*): %d\n",sizeof(void*));
+
+ output(screen,"\nBuiltin modules:\n");
+ output(screen,"%s\n", STRING_STATIC_MODULES);
}