summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/aclocal.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index f261c8ba0..1f4009dc9 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -159,6 +159,13 @@ define(DECLARE_SYS_ERRLIST,[
AC_COMPILE_CHECK([sys_errlist declaration],
[#include <errno.h>], [sys_nerr;], , AC_DEFINE(NEED_SYS_ERRLIST))])dnl
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
+dnl
dnl check for <stdarg.h> -- CHECK_STDARG
dnl (name used for consistency with krb5/config.h)
dnl