1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

Build aio_fork by default

... only when --with-aio-support and we can pass file descriptors
(This used to be commit fdf4cd99ccb59e126391253d2091707bc8daee43)
This commit is contained in:
Volker Lendecke 2008-03-01 10:22:04 +01:00
parent c534eea866
commit 90300631eb

View File

@ -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