summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-01 10:22:04 +0100
committerVolker Lendecke <vl@samba.org>2008-03-08 12:31:12 +0100
commit90300631ebf07af5760c54d3b611184b5b694445 (patch)
tree2b5b5021b691fe6844bb750d41bc46d590ebc0b6
parentc534eea8665a3b9341db967b7feb454177794d2a (diff)
downloadsamba-90300631ebf07af5760c54d3b611184b5b694445.tar.gz
samba-90300631ebf07af5760c54d3b611184b5b694445.tar.bz2
samba-90300631ebf07af5760c54d3b611184b5b694445.zip
Build aio_fork by default
... only when --with-aio-support and we can pass file descriptors (This used to be commit fdf4cd99ccb59e126391253d2091707bc8daee43)
-rw-r--r--source3/configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index f884d9344a..2e6c109311 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -5341,6 +5341,13 @@ int main() { struct aiocb a; return aio_suspend64(&a, 1, NULL); }],
AC_MSG_RESULT(no)
)
+if test x"$samba_cv_HAVE_AIO" = x"yes"; then
+ if test x"$samba_cv_msghdr_msg_control" = x"yes" -o \
+ x"$samba_cv_msghdr_msg_acctright" = x"yes"; then
+ default_shared_modules="$default_shared_modules vfs_aio_fork"
+ fi
+fi
+
#################################################
# check for sendfile support