1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

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)
This commit is contained in:
Andrew Tridgell 2005-07-22 10:48:22 +00:00 committed by Gerald (Jerry) Carter
parent 0edd0f43c0
commit f4691cf6f6

View File

@ -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)], [], [