From: Volker Lendecke Date: Sun, 21 Mar 2010 16:49:06 +0000 (+0100) Subject: s3: Fix bug 7202 for multi-threaded applications X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=68ea9765177f1c343750d9a5d199ec5af52b9678;p=samba.git s3: Fix bug 7202 for multi-threaded applications Thanks to Sergey Tereschenko for providing good feedback! Volker --- diff --git a/source3/configure.in b/source3/configure.in index f744761d00a..a9b9e4789ae 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -6336,6 +6336,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 #################################################