1dnl 2dnl $Id$ 3dnl 4dnl Figure out return type of signal handlers, and define SIGRETURN macro 5dnl that can be used to return from one 6dnl 7AC_DEFUN([rk_RETSIGTYPE],[ 8AC_TYPE_SIGNAL 9if test "$ac_cv_type_signal" = "void" ; then 10 AC_DEFINE(VOID_RETSIGTYPE, 1, [Define if signal handlers return void.]) 11fi 12 13AH_BOTTOM([#ifdef VOID_RETSIGTYPE 14#define SIGRETURN(x) return 15#else 16#define SIGRETURN(x) return (RETSIGTYPE)(x) 17#endif]) 18])