summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal_build/config.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4
index bdfcf0dea4..bffb3c5605 100644
--- a/source4/heimdal_build/config.m4
+++ b/source4/heimdal_build/config.m4
@@ -161,6 +161,11 @@ AC_EGREP_HEADER(ws_ypixel, termios.h,
AC_KRB_STRUCT_WINSIZE
+AC_TYPE_SIGNAL
+if test "$ac_cv_type_signal" = "void" ; then
+ AC_DEFINE(VOID_RETSIGTYPE, 1, [Define if signal handlers return void.])
+fi
+AC_SUBST(VOID_RETSIGTYPE)
AC_CHECK_DECL(h_errno,
[AC_DEFINE(HAVE_DECL_H_ERRNO,1,whether h_errno is declared)], [], [