summaryrefslogtreecommitdiff
path: root/source4/smbd/process_model.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-13 10:20:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:36 -0500
commitf236700ef67d4f93ec56ec7808584552e94e0dfe (patch)
tree3572ba5a82860e9dc60661161997b77704867cdc /source4/smbd/process_model.m4
parentb2d1f7890765fca5a119d43f4906e885c245005f (diff)
downloadsamba-f236700ef67d4f93ec56ec7808584552e94e0dfe.tar.gz
samba-f236700ef67d4f93ec56ec7808584552e94e0dfe.tar.bz2
samba-f236700ef67d4f93ec56ec7808584552e94e0dfe.zip
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 (This used to be commit c78a2ddb28ec50d6570a83b1f66f18a5c3621731)
Diffstat (limited to 'source4/smbd/process_model.m4')
-rw-r--r--source4/smbd/process_model.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/smbd/process_model.m4 b/source4/smbd/process_model.m4
index a7f6fb0793..93dfeddcef 100644
--- a/source4/smbd/process_model.m4
+++ b/source4/smbd/process_model.m4
@@ -12,6 +12,7 @@ AC_ARG_WITH(pthreads,
yes)
AC_MSG_RESULT(yes)
SMB_MODULE_DEFAULT(process_model_thread,STATIC)
+ SMB_EXT_LIB_ENABLE(PTHREAD,YES)
;;
*)
AC_MSG_RESULT(no)
@@ -20,8 +21,9 @@ AC_ARG_WITH(pthreads,
AC_MSG_RESULT(no)
)
+SMB_EXT_LIB(PTHREAD,[-lpthread])
+
SMB_MODULE(process_model_thread,PROCESS_MODEL,NOT,
- [smbd/process_thread.o],[],[-lpthread])
+ [smbd/process_thread.o],[],[PTHREAD])
-SMB_SUBSYSTEM(PROCESS_MODEL,smbd/process_model.o,
- [],smbd/process_model_public_proto.h)
+SMB_SUBSYSTEM(PROCESS_MODEL,smbd/process_model.o)