aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-17 18:34:02 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-17 18:34:02 +0300
commitaf6dc0cb170aea3e773a94a040e0e1f3f24591cf (patch)
tree74d392e3ce5d9a7c905e69ae9ddddf5bde82dd86 /CMakeLists.txt
parent65e10b3980aad74e23b4d09e13aacee20796522b (diff)
downloadrspamd-af6dc0cb170aea3e773a94a040e0e1f3f24591cf.tar.gz
rspamd-af6dc0cb170aea3e773a94a040e0e1f3f24591cf.zip
* Implement file backend.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b074d8c18..e9e41b6a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -676,6 +676,9 @@ CHECK_SYMBOL_EXISTS(MAXPATHLEN sys/param.h HAVE_MAXPATHLEN)
CHECK_SYMBOL_EXISTS(MAP_SHARED sys/mman.h HAVE_MMAP_SHARED)
CHECK_SYMBOL_EXISTS(MAP_ANON sys/mman.h HAVE_MMAP_ANON)
CHECK_SYMBOL_EXISTS(MAP_NOCORE sys/mman.h HAVE_MMAP_NOCORE)
+CHECK_SYMBOL_EXISTS(O_DIRECT fcntl.h HAVE_O_DIRECT)
+CHECK_SYMBOL_EXISTS(posix_fadvise fcntl.h HAVE_FADVISE)
+CHECK_SYMBOL_EXISTS(fdatasync unistd.h HAVE_FDATASYNC)
CHECK_SYMBOL_EXISTS(_SC_NPROCESSORS_ONLN unistd.h HAVE_SC_NPROCESSORS_ONLN)
IF(HAVE_SIGINFO_H)
CHECK_SYMBOL_EXISTS(SA_SIGINFO "signal.h;siginfo.h" HAVE_SA_SIGINFO)