From 118725c892e445fcc1dc5947cb919cf99c49373f Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Fri, 29 Jan 2010 12:42:25 +0100 Subject: s3: by default don't use pthread pool support --- source3/configure.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3') 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]) -- cgit