From f4691cf6f64644d48d895b9aaa7cd9b2faae4ffc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Jul 2005 10:48:22 +0000 Subject: r8711: add m4 for finding return type for signal handlers this patch brought to you by the continuing saga of HPUX portability (This used to be commit 4d63bd27d482ec84078c4541166b16cd82cfeb6a) --- source4/heimdal_build/config.m4 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4') 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)], [], [ -- cgit