From 7820aacc18ce62800cbe21e4b80031108ed7e6af Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Thu, 16 Jun 1994 05:18:03 +0000 Subject: [PATCH] check for sigmask first, then use sigprocmask git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3837 dc483132-0cff-0310-8789-dd5450dbe970 --- src/aclocal.m4 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 1f4009dc9..84f635def 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -162,9 +162,11 @@ dnl dnl check for sigmask/sigprocmask -- CHECK_SIGPROCMASK dnl define(CHECK_SIGPROCMASK,[ -AC_COMPILE_CHECK([sigprocmask], -[#include ], [sigprocmask(SIG_SETMASK,0,0);], -AC_DEFINE(USE_SIGPROCMASK),)])dnl +AC_COMPILE_CHECK([sigmask] +[#include ], [sigmask(1);], , + AC_COMPILE_CHECK([sigprocmask], + [#include ], [sigprocmask(SIG_SETMASK,0,0);], + AC_DEFINE(USE_SIGPROCMASK),))])dnl dnl dnl check for -- CHECK_STDARG dnl (name used for consistency with krb5/config.h) -- 2.26.2