 f32ed23aa8
			
		
	
	f32ed23aa8
	
	
	
		
			
			git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13338 ec53bebd-3082-4978-b11e-865c3cabbd6b
		
			
				
	
	
		
			18 lines
		
	
	
		
			447 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			447 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| dnl
 | |
| dnl $Id$
 | |
| dnl
 | |
| dnl Figure out return type of signal handlers, and define SIGRETURN macro
 | |
| dnl that can be used to return from one
 | |
| dnl
 | |
| AC_DEFUN([rk_RETSIGTYPE],[
 | |
| 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)
 | |
| AH_BOTTOM([#ifdef VOID_RETSIGTYPE
 | |
| #define SIGRETURN(x) return
 | |
| #else
 | |
| #define SIGRETURN(x) return (RETSIGTYPE)(x)
 | |
| #endif])
 | |
| ]) |