1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-05 04:23:51 +03:00
Files
samba-mirror/source/smbd/process_model.m4
Stefan Metzmacher c78a2ddb28 r665: merge over the new build system from my tmp branch
to the main SAMBA_4_0 tree.

NOTE: that it's not completely ready, but it's functional:-)

metze
2007-10-10 12:53:36 -05:00

30 lines
776 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)
SMB_EXT_LIB_ENABLE(PTHREAD,YES)
;;
*)
AC_MSG_RESULT(no)
;;
esac ],
AC_MSG_RESULT(no)
)
SMB_EXT_LIB(PTHREAD,[-lpthread])
SMB_MODULE(process_model_thread,PROCESS_MODEL,NOT,
[smbd/process_thread.o],[],[PTHREAD])
SMB_SUBSYSTEM(PROCESS_MODEL,smbd/process_model.o)