summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-21 17:49:06 +0100
committerVolker Lendecke <vl@samba.org>2010-03-21 17:50:36 +0100
commitfc80ff40025a35a61aa1a0c7666f98b4c0b78924 (patch)
tree5f2a30afd2066887e26402d24aaa8185765e33f7 /source3
parentd097d9fb09ff1f4acc4c8407a1a7903b6ef197de (diff)
downloadsamba-fc80ff40025a35a61aa1a0c7666f98b4c0b78924.tar.gz
samba-fc80ff40025a35a61aa1a0c7666f98b4c0b78924.tar.xz
samba-fc80ff40025a35a61aa1a0c7666f98b4c0b78924.zip
s3: Fix bug 7202 for multi-threaded applications
Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for providing good feedback! Volker
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index f0dabbf4440..32754e7f37b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -6280,6 +6280,7 @@ if test x"$PTHREAD_CFLAGS" != xerror -a x"$PTHREAD_LDFLAGS" != xerror; then
AC_CHECK_HEADERS(pthread.h)
CFLAGS=$ac_save_CFLAGS
LDFLAGS=$ac_save_LDFLAGS
+ AC_DEFINE(HAVE_PTHREAD, 1, [Do we have pthreads around?])
fi
#################################################