From fdf4cd99ccb59e126391253d2091707bc8daee43 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 1 Mar 2008 10:22:04 +0100 Subject: [PATCH] Build aio_fork by default ... only when --with-aio-support and we can pass file descriptors --- source/configure.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/configure.in b/source/configure.in index f884d9344ad..2e6c1093119 100644 --- a/source/configure.in +++ b/source/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 -- 2.11.4.GIT