mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
c61089219b
I plan to convert all objectfile group to use SMB_SUBSYSTEM
later I'll add a SMB_BINARY() and SMB_LIBRARY(), then there will be no more need
to touch Makefile.in, because all make rules will be autogenerated by configure
- convert the PROCESS_MODEL subsystem to this new scheme
and move the pthread test to smbd/process_model.m4
- convert the CHARSET subsystem to this new scheme
and move the iconv test to lib/iconv.m4
(This used to be commit 2e57ee884e
)
28 lines
750 B
Plaintext
28 lines
750 B
Plaintext
dnl # Server process model subsystem
|
|
|
|
SMB_MODULE(process_model_single,PROCESS_MODEL,STATIC,[smbd/process_single.o])
|
|
SMB_MODULE(process_model_standard,PROCESS_MODEL,STATIC,[smbd/process_standard.o])
|
|
|
|
#################################################
|
|
# check for pthread support
|
|
AC_MSG_CHECKING(whether to use pthreads)
|
|
AC_ARG_WITH(pthreads,
|
|
[ --with-pthreads Include pthreads (default=no) ],
|
|
[ case "$withval" in
|
|
yes)
|
|
AC_MSG_RESULT(yes)
|
|
SMB_MODULE_DEFAULT(process_model_thread,STATIC)
|
|
;;
|
|
*)
|
|
AC_MSG_RESULT(no)
|
|
;;
|
|
esac ],
|
|
AC_MSG_RESULT(no)
|
|
)
|
|
|
|
SMB_MODULE(process_model_thread,PROCESS_MODEL,NOT,
|
|
[smbd/process_thread.o],[],[-lpthread])
|
|
|
|
SMB_SUBSYSTEM(PROCESS_MODEL,smbd/process_model.o,
|
|
[],smbd/process_model_public_proto.h)
|