summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-01-29 12:42:25 +0100
committerBjörn Jacke <bj@sernet.de>2010-01-29 12:43:13 +0100
commit118725c892e445fcc1dc5947cb919cf99c49373f (patch)
tree4f4bfb519378569eef1eb27606fb9e501a34eacb
parentad6ea7b189a467833fcde6a0acdb8ceb7e7198c9 (diff)
downloadsamba-118725c892e445fcc1dc5947cb919cf99c49373f.tar.gz
samba-118725c892e445fcc1dc5947cb919cf99c49373f.tar.bz2
samba-118725c892e445fcc1dc5947cb919cf99c49373f.zip
s3: by default don't use pthread pool support
-rw-r--r--source3/configure.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 3c21bd61ec..7740b3a7fc 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -6388,14 +6388,14 @@ fi
#################################################
# Check if user wants pthreadpool support
+AC_ARG_ENABLE(pthreadpool,
+[AS_HELP_STRING([--enable-pthreadpool], [Enable pthreads pool helper support (default=no)])])
+
if test x"$enable_pthreadpool" = xyes -a x"$samba_cv_HAVE_PTHREAD" != x"yes"; then
- AC_MSG_ERROR([pthread support cannot be enabled when pthread header file not found])
+ AC_MSG_ERROR([pthreadpool support cannot be enabled when pthread support was found])
fi
-AC_ARG_ENABLE(pthreadpool,
-[AS_HELP_STRING([--enable-pthreadpool], [Enable pthreads pool helper support (default=auto)])])
-
-if test x"$enable_pthreadpool" != x"no" -a x"$samba_cv_HAVE_PTHREAD" = x"yes"; then
+if test x"$enable_pthreadpool" = x"yes" -a x"$samba_cv_HAVE_PTHREAD" = x"yes"; then
LIBS="$LIBS $PTHREAD_LDFLAGS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
AC_DEFINE(WITH_PTHREADPOOL, 1, [Whether to include pthreadpool helpers])