diff options
Diffstat (limited to 'source4/ntvfs/posix/config.m4')
-rw-r--r-- | source4/ntvfs/posix/config.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/config.m4 b/source4/ntvfs/posix/config.m4 index c2cdf0ecaf..fe1997b437 100644 --- a/source4/ntvfs/posix/config.m4 +++ b/source4/ntvfs/posix/config.m4 @@ -29,3 +29,9 @@ if test x"$ac_cv_func_ext_blkid_get_cache" = x"yes"; then AC_DEFINE(HAVE_LIBBLKID,1,[Whether we have blkid support (e2fsprogs)]) SMB_ENABLE(BLKID,YES) fi + +AC_CHECK_HEADERS(libaio.h) +SMB_ENABLE(pvfs_aio,NO) +if test x"$ac_cv_header_libaio_h" = x"yes"; then + SMB_ENABLE(pvfs_aio,YES) +fi |