mirror of
https://github.com/samba-team/samba.git
synced 2025-01-01 21:18:10 +03:00
Print list of builtin modules in 'smbd -b'
This commit is contained in:
parent
0f724be384
commit
3a2ed0da40
1
source/aclocal.m4
vendored
1
source/aclocal.m4
vendored
@ -55,6 +55,7 @@ AC_DEFUN(SMB_MODULE,
|
|||||||
AC_MSG_RESULT([shared])
|
AC_MSG_RESULT([shared])
|
||||||
elif test x"$DEST" = xSTATIC; then
|
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();"
|
[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"
|
$4_STATIC="$$4_STATIC $2"
|
||||||
AC_SUBST($4_STATIC)
|
AC_SUBST($4_STATIC)
|
||||||
AC_MSG_RESULT([static])
|
AC_MSG_RESULT([static])
|
||||||
|
@ -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_MODULE(auth_builtin, auth/auth_builtin.o, bin/builtin.so, AUTH)
|
||||||
SMB_SUBSYSTEM(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
|
# do extra things if we are running insure
|
||||||
|
|
||||||
|
@ -523,6 +523,9 @@ void build_options(BOOL screen)
|
|||||||
output(screen," sizeof(uint32): %d\n",sizeof(uint32));
|
output(screen," sizeof(uint32): %d\n",sizeof(uint32));
|
||||||
output(screen," sizeof(short): %d\n",sizeof(short));
|
output(screen," sizeof(short): %d\n",sizeof(short));
|
||||||
output(screen," sizeof(void*): %d\n",sizeof(void*));
|
output(screen," sizeof(void*): %d\n",sizeof(void*));
|
||||||
|
|
||||||
|
output(screen,"\nBuiltin modules:\n");
|
||||||
|
output(screen,"%s\n", STRING_STATIC_MODULES);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user