diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-19 14:54:42 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-19 14:55:02 +0100 |
commit | 82bb01e1f894af9777625bfbfb9049e5083e0e56 (patch) | |
tree | 43fb7b3435dea59fcaf1f88626ead5a687f70968 /CMakeLists.txt | |
parent | e139768a0dae674fa42528fe4297d67e8203eacb (diff) | |
download | rspamd-82bb01e1f894af9777625bfbfb9049e5083e0e56.tar.gz rspamd-82bb01e1f894af9777625bfbfb9049e5083e0e56.zip |
[Fix] Another try to deal with posix idiotizm
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3163e6a94..882d46a8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -965,6 +965,8 @@ CHECK_SYMBOL_EXISTS(O_ASYNC "sys/types.h;sys/fcntl.h" HAVE_OASYNC) CHECK_SYMBOL_EXISTS(O_NOFOLLOW "sys/types.h;sys/fcntl.h" HAVE_ONOFOLLOW) LIST(APPEND CMAKE_REQUIRED_INCLUDES "${LIBSSL_INCLUDE}") CHECK_SYMBOL_EXISTS(SSL_set_tlsext_host_name "openssl/ssl.h" HAVE_SSL_TLSEXT_HOSTNAME) +CHECK_SYMBOL_EXISTS(dirfd "sys/types.h;unistd.h;dirent.h" HAVE_DIRFD) +CHECK_SYMBOL_EXISTS(fpathconf "sys/types.h;unistd.h" HAVE_FPATHCONF) IF(ENABLE_PCRE2 MATCHES "ON") IF(HAVE_PCRE_JIT) |