From: Peter Kokot Date: Mon, 23 Jul 2018 05:25:38 +0000 (+0200) Subject: Remove obsolete AC_TYPE_SIGNAL X-Git-Tag: php-7.3.0beta1~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17de277a2fde5a4ad3df03b7acb73a61137d1f95;p=php Remove obsolete AC_TYPE_SIGNAL The AC_TYPE_SIGNAL macro defined the RETSIGTYPE based on the signal type defined in the signal.h. On pre C89 sistems (K&R C) it could be void or int. Since C89 it can be safely assumed that the signal and therefore the RETSIGTYPE is always void, so the RETSIGTYPE can be replaced with void in the code if it uses it. PHP doesn't use the RETSIGTYPE in current code anyway. Refs: - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html --- diff --git a/Zend/Zend.m4 b/Zend/Zend.m4 index 7d6b7638cb..2b489a82f2 100644 --- a/Zend/Zend.m4 +++ b/Zend/Zend.m4 @@ -61,7 +61,6 @@ stdlib.h \ dlfcn.h) AC_TYPE_SIZE_T -AC_TYPE_SIGNAL AC_DEFUN([LIBZEND_LIBDL_CHECKS],[ AC_CHECK_LIB(dl, dlopen, [LIBS="-ldl $LIBS"])