From 909887f310ed7785a535e5a0bd7bf894ee9d0791 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 2 Dec 2003 10:11:48 +0000 Subject: [PATCH] check for MSG_NOSIGNAL --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configure.ac b/configure.ac index e570e84..2906a0e 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 ], + [ 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 ********************************************************************** -- 2.7.4