summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/config.m4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-01-09 04:04:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:16 -0500
commite0e96ae80d21c6b94e05fbf3af457001a005ce09 (patch)
treef5c50ceb4dd0cb464cab8ab848e46ba19ff0a976 /source4/ntvfs/posix/config.m4
parent2ed11961292c928be5166b1774e05676bbfabce8 (diff)
downloadsamba-e0e96ae80d21c6b94e05fbf3af457001a005ce09.tar.gz
samba-e0e96ae80d21c6b94e05fbf3af457001a005ce09.tar.bz2
samba-e0e96ae80d21c6b94e05fbf3af457001a005ce09.zip
r20624: added AIO read to pvfs backend
(This used to be commit d6e20d6d8c5c207e7f04b0d0523224437b209917)
Diffstat (limited to 'source4/ntvfs/posix/config.m4')
-rw-r--r--source4/ntvfs/posix/config.m46
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