diff options
author | Mark Eichin <eichin@mit.edu> | 1994-06-16 05:18:03 +0000 |
---|---|---|
committer | Mark Eichin <eichin@mit.edu> | 1994-06-16 05:18:03 +0000 |
commit | 7820aacc18ce62800cbe21e4b80031108ed7e6af (patch) | |
tree | 024dc15b0ea5803ff2951c8ef336fd6d40d596ff | |
parent | be5b381afa25fd6299d77199d3aa164a4671a96e (diff) | |
download | krb5-7820aacc18ce62800cbe21e4b80031108ed7e6af.tar.gz krb5-7820aacc18ce62800cbe21e4b80031108ed7e6af.tar.xz krb5-7820aacc18ce62800cbe21e4b80031108ed7e6af.zip |
check for sigmask first, then use sigprocmask
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3837 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/aclocal.m4 | 8 |
1 files 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 <signal.h>], [sigprocmask(SIG_SETMASK,0,0);], -AC_DEFINE(USE_SIGPROCMASK),)])dnl +AC_COMPILE_CHECK([sigmask] +[#include <signal.h>], [sigmask(1);], , + AC_COMPILE_CHECK([sigprocmask], + [#include <signal.h>], [sigprocmask(SIG_SETMASK,0,0);], + AC_DEFINE(USE_SIGPROCMASK),))])dnl dnl dnl check for <stdarg.h> -- CHECK_STDARG dnl (name used for consistency with krb5/config.h) |