Skip to content
Snippets Groups Projects
Commit 909887f3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

check for MSG_NOSIGNAL

parent d1d41766
No related branches found
No related tags found
No related merge requests found
......@@ -331,6 +331,18 @@ AC_HELP_STRING([--disable-nonblocking],[Disable non-blocking socket detection]),
CURL_CHECK_NONBLOCKING_SOCKET
])
dnl **********************************************************************
dnl Check for MSG_NOSIGNAL
dnl **********************************************************************
AC_MSG_CHECKING(for MSG_NOSIGNAL)
AC_TRY_COMPILE([#include <sys/socket.h>],
[ int f = MSG_NOSIGNAL; ],
[ AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_MSG_NOSIGNAL, 1,
[Define this symbol if you have MSG_NOSIGNAL]) ],
[ AC_MSG_RESULT(no)]
)
dnl **********************************************************************
dnl Check for the random seed preferences
dnl **********************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment