mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
check for MSG_NOSIGNAL
This commit is contained in:
parent
d1d417664e
commit
909887f310
12
configure.ac
12
configure.ac
@ -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 **********************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user