summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1994-06-16 05:18:03 +0000
committerMark Eichin <eichin@mit.edu>1994-06-16 05:18:03 +0000
commit7820aacc18ce62800cbe21e4b80031108ed7e6af (patch)
tree024dc15b0ea5803ff2951c8ef336fd6d40d596ff
parentbe5b381afa25fd6299d77199d3aa164a4671a96e (diff)
downloadkrb5-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.m48
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)