diff options
author | Volker Lendecke <vl@samba.org> | 2012-06-13 13:05:17 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-06-19 10:27:24 -0700 |
commit | 8b35a4de3880e1a3f64534db9748d5786a2ccb01 (patch) | |
tree | ccf8e28ba87c37a970f878d3fb9e37fff29b43c3 /source3/configure.in | |
parent | 818fd7e917a7e2d6762e7b7f773a34e59c75b0df (diff) | |
download | samba-8b35a4de3880e1a3f64534db9748d5786a2ccb01.tar.gz |
s3: Add a dummy implementation for the pthreadpool API
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in index c5775f810c5..4c2a3620d0c 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -6172,15 +6172,18 @@ fi 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]) AC_SUBST(PTHREADPOOL_OBJ, "lib/pthreadpool/pthreadpool.o") - PTHREADPOOLTEST="bin/pthreadpooltest" - AC_SUBST(PTHREADPOOLTEST) if test x"$samba_cv_HAVE_AIO" = x"yes"; then default_shared_modules="$default_shared_modules vfs_aio_pthread" fi +else + AC_SUBST(PTHREADPOOL_OBJ, "lib/pthreadpool/pthreadpool_sync.o") fi +AC_DEFINE(WITH_PTHREADPOOL, 1, [Whether to include pthreadpool helpers]) +PTHREADPOOLTEST="bin/pthreadpooltest" +AC_SUBST(PTHREADPOOLTEST) + ################################################# # Check to see if we should use the included iniparser |