summaryrefslogtreecommitdiffstats
path: root/m4/want_prefetch.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/want_prefetch.m4')
-rw-r--r--m4/want_prefetch.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/want_prefetch.m4 b/m4/want_prefetch.m4
new file mode 100644
index 0000000..49d2f65
--- /dev/null
+++ b/m4/want_prefetch.m4
@@ -0,0 +1,8 @@
+AC_DEFUN([DOVECOT_WANT_PREFETCH], [
+ if test $want_prefetch_userdb != no; then
+ AC_DEFINE(USERDB_PREFETCH,, [Build with prefetch userdb support])
+ userdb="$userdb prefetch"
+ else
+ not_userdb="$not_userdb prefetch"
+ fi
+])