summaryrefslogtreecommitdiffstats
path: root/m4/fdatasync.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/fdatasync.m4')
-rw-r--r--m4/fdatasync.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/fdatasync.m4 b/m4/fdatasync.m4
new file mode 100644
index 0000000..bb17e94
--- /dev/null
+++ b/m4/fdatasync.m4
@@ -0,0 +1,5 @@
+AC_DEFUN([DOVECOT_FDATASYNC], [
+ AC_SEARCH_LIBS(fdatasync, rt, [
+ AC_DEFINE(HAVE_FDATASYNC,, [Define if you have fdatasync()])
+ ])
+])