summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-22 10:48:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:57 -0500
commitf4691cf6f64644d48d895b9aaa7cd9b2faae4ffc (patch)
tree97c3697bcf6b9f0518ea45508d88ba25889c40c0 /source4/heimdal_build
parent0edd0f43c0d25c31e893a4200aa583d83f81ba9c (diff)
downloadsamba-f4691cf6f64644d48d895b9aaa7cd9b2faae4ffc.tar.gz
samba-f4691cf6f64644d48d895b9aaa7cd9b2faae4ffc.tar.bz2
samba-f4691cf6f64644d48d895b9aaa7cd9b2faae4ffc.zip
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)
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/config.m45
1 files changed, 5 insertions, 0 deletions
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)], [], [