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