2 dnl $Heimdal: retsigtype.m4 13338 2004-02-12 14:21:14Z lha $
5 dnl Figure out return type of signal handlers, and define SIGRETURN macro
6 dnl that can be used to return from one
8 AC_DEFUN([rk_RETSIGTYPE],[
10 if test "$ac_cv_type_signal" = "void" ; then
11 AC_DEFINE(VOID_RETSIGTYPE, 1, [Define if signal handlers return void.])
13 AC_SUBST(VOID_RETSIGTYPE)
14 AH_BOTTOM([#ifdef VOID_RETSIGTYPE
15 #define SIGRETURN(x) return
17 #define SIGRETURN(x) return (RETSIGTYPE)(x)