From: Mark Eichin Date: Thu, 16 Jun 1994 05:18:03 +0000 (+0000) Subject: check for sigmask first, then use sigprocmask X-Git-Tag: krb5-1.0-beta4~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7820aacc18ce62800cbe21e4b80031108ed7e6af;p=krb5.git check for sigmask first, then use sigprocmask git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3837 dc483132-0cff-0310-8789-dd5450dbe970 --- 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)