com php-src: Remove obsolete AC_TYPE_SIGNAL: Zend/Zend .m4
| From: | Peter Kokot | Date: | Sun, 29 Jul 2018 14:06:46 +0000 |
| Subject: | com php-src: Remove obsolete AC_TYPE_SIGNAL: Zend/Zend .m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102715@lists.php.net to get a copy of this message | ||
Commit: 17de277a2fde5a4ad3df03b7acb73a61137d1f95
Author: Peter Kokot <peterkokot@gmail.com> Mon, 23 Jul 2018 07:25:38 +0200
Parents: daaf706df07f045bfe85a3d48905857ca93dc27f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=17de277a2fde5a4ad3df03b7acb73a61137d1f95
Log:
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
Changed paths:
M Zend/Zend.m4
Diff:
diff --git a/Zend/Zend.m4 b/Zend/Zend.m4
index 7d6b763...2b489a8 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"])