]> granicus.if.org Git - php/commitdiff
Remove obsolete AC_TYPE_SIGNAL
authorPeter Kokot <peterkokot@gmail.com>
Mon, 23 Jul 2018 05:25:38 +0000 (07:25 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 29 Jul 2018 14:06:46 +0000 (16:06 +0200)
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

Zend/Zend.m4

index 7d6b7638cbff27bd8fdd916209ba73ae4aa42b82..2b489a82f2b44e72b5fe6802121ab2aa1cc3178f 100644 (file)
@@ -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"])