commit 742feb4: [Minor] Add open_memstream check

Vsevolod Stakhov vsevolod at highsecure.ru
Sat Jun 29 16:28:07 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-06-29 16:59:50 +0100
URL: https://github.com/rspamd/rspamd/commit/742feb41950bc118b65907dad8bc48d3c0f09c2e

[Minor] Add open_memstream check

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bc0c4e140..00822aecb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -966,6 +966,8 @@ CHECK_SYMBOL_EXISTS(SSL_set_tlsext_host_name "openssl/ssl.h" HAVE_SSL_TLSEXT_HOS
 CHECK_SYMBOL_EXISTS(dirfd "sys/types.h;unistd.h;dirent.h" HAVE_DIRFD)
 CHECK_SYMBOL_EXISTS(fpathconf "sys/types.h;unistd.h" HAVE_FPATHCONF)
 CHECK_SYMBOL_EXISTS(sigaltstack "signal.h" HAVE_SIGALTSTACK)
+CHECK_SYMBOL_EXISTS(open_memstream "stdio.h" HAVE_OPENMEMSTREAM)
+CHECK_SYMBOL_EXISTS(fmemopen "stdio.h" HAVE_FMEMOPEN)
 CHECK_SYMBOL_EXISTS(clock_getcpuclockid "sys/types.h;time.h" HAVE_CLOCK_GETCPUCLOCKID)
 CHECK_SYMBOL_EXISTS(RUSAGE_SELF "sys/types.h;sys/resource.h" HAVE_RUSAGE_SELF)
 


More information about the Commits mailing list