summaryrefslogtreecommitdiff
path: root/m4/package_aiodev.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/package_aiodev.m4')
-rw-r--r--m4/package_aiodev.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/package_aiodev.m4 b/m4/package_aiodev.m4
new file mode 100644
index 00000000..0cc4d2fc
--- /dev/null
+++ b/m4/package_aiodev.m4
@@ -0,0 +1,4 @@
+AC_DEFUN([AC_PACKAGE_WANT_AIO],
+ [ AC_CHECK_HEADERS(libaio.h, [ have_aio=true ], [ have_aio=false ])
+ AC_SUBST(have_aio)
+ ])