Author: tridge Date: 2005-07-22 10:48:22 +0000 (Fri, 22 Jul 2005) New Revision: 8711
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8711 Log: add m4 for finding return type for signal handlers this patch brought to you by the continuing saga of HPUX portability Modified: branches/SAMBA_4_0/source/heimdal_build/config.m4 Changeset: Modified: branches/SAMBA_4_0/source/heimdal_build/config.m4 =================================================================== --- branches/SAMBA_4_0/source/heimdal_build/config.m4 2005-07-22 10:01:26 UTC (rev 8710) +++ branches/SAMBA_4_0/source/heimdal_build/config.m4 2005-07-22 10:48:22 UTC (rev 8711) @@ -161,6 +161,11 @@ 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)], [], [