From 90300631ebf07af5760c54d3b611184b5b694445 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 1 Mar 2008 10:22:04 +0100 Subject: Build aio_fork by default ... only when --with-aio-support and we can pass file descriptors (This used to be commit fdf4cd99ccb59e126391253d2091707bc8daee43) --- source3/configure.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/configure.in') 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 -- cgit