aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-02 10:11:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-02 10:11:48 +0000
commit909887f310ed7785a535e5a0bd7bf894ee9d0791 (patch)
treeb5ec697f6dcbfc750a3a6de90a06ddc5017cf0e4
parentd1d417664ec5983265eabcab128628632d5a4a43 (diff)
check for MSG_NOSIGNAL
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e570e846e..2906a0e05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -332,6 +332,18 @@ AC_HELP_STRING([--disable-nonblocking],[Disable non-blocking socket detection]),
])
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 **********************************************************************