1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00

Print list of builtin modules in 'smbd -b'

This commit is contained in:
Jelmer Vernooij 0001-01-01 00:00:00 +00:00
parent 0f724be384
commit 3a2ed0da40
3 changed files with 6 additions and 0 deletions

1
source/aclocal.m4 vendored
View File

@ -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])

View File

@ -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

View File

@ -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);
}