aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2016-04-25 06:28:34 +0000
committerVincent Richard <[email protected]>2016-04-25 06:28:34 +0000
commit4d1a6ad2f267e3b83f7c04122af8d8e7ee9a2113 (patch)
tree7a709519b99cfc20f55e9de71cde762d7c27e1df /CMakeLists.txt
parentLink with 'anl' only when building shared lib. (diff)
downloadvmime-4d1a6ad2f267e3b83f7c04122af8d8e7ee9a2113.tar.gz
vmime-4d1a6ad2f267e3b83f7c04122af8d8e7ee9a2113.zip
Issue #138: fixed MSG_NOSIGNAL on Mac OS.
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 aaec1d15..c157e4b6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -977,6 +977,9 @@ CHECK_FUNCTION_EXISTS(syscall VMIME_HAVE_SYSCALL)
CHECK_SYMBOL_EXISTS(SYS_gettid sys/syscall.h VMIME_HAVE_SYSCALL_GETTID)
CHECK_SYMBOL_EXISTS(SO_KEEPALIVE sys/socket.h VMIME_HAVE_SO_KEEPALIVE)
+CHECK_SYMBOL_EXISTS(SO_NOSIGPIPE sys/socket.h VMIME_HAVE_SO_NOSIGPIPE)
+
+CHECK_SYMBOL_EXISTS(MSG_NOSIGNAL sys/socket.h VMIME_HAVE_MSG_NOSIGNAL)
CHECK_SYMBOL_EXISTS(strerror_r string.h VMIME_HAVE_STRERROR_R)