com php-src: Remove AC_FUNC_MEMCMP: Zend/Zend.m4 ext/mbstring/config.m4

From: Date: Tue, 04 Sep 2018 10:02:47 +0000
Subject: com php-src: Remove AC_FUNC_MEMCMP: Zend/Zend.m4 ext/mbstring/config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102999@lists.php.net to get a copy of this message
Commit: 6db3c105f2937cb01ced82c3943ff41b5176315a Author: Peter Kokot <peterkokot@gmail.com> Mon, 3 Sep 2018 21:35:01 +0200 Committer: Joe Watkins <krakjoe@php.net> Tue, 4 Sep 2018 12:02:47 +0200 Parents: 4318a58023e3faeaf921c21d4d6c1a198f8b3f29 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6db3c105f2937cb01ced82c3943ff41b5176315a Log: Remove AC_FUNC_MEMCMP Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems anymore, including the AC_FUNC_MEMCMP. On some old systems such as SunOS 4.1.3 (EOL in 2003) and NeXT x86 OpenStep (discontinued) the memcmp function wasn't present or it didn't work properly. [2] On current systems including at least Solaris 10+ this check is not relevant anymore. Refs: [1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS [2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html Changed paths: M Zend/Zend.m4 M ext/mbstring/config.m4 Diff: diff --git a/Zend/Zend.m4 b/Zend/Zend.m4 index acf0080..1f753de 100644 --- a/Zend/Zend.m4 +++ b/Zend/Zend.m4 @@ -92,7 +92,6 @@ LIBZEND_CHECK_INT_TYPE(int32_t) LIBZEND_CHECK_INT_TYPE(uint32_t) dnl Checks for library functions. -AC_FUNC_MEMCMP AC_FUNC_ALLOCA AC_CHECK_FUNCS(memcpy strdup getpid kill strtod strtol finite fpclass sigsetjmp) AC_ZEND_BROKEN_SPRINTF diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4 index a1a9f21..d97ed88 100644 --- a/ext/mbstring/config.m4 +++ b/ext/mbstring/config.m4 @@ -99,7 +99,6 @@ int main() { return foo(10, "", 3.14); } AC_CHECK_SIZEOF(short, 2) AC_CHECK_SIZEOF(long, 4) AC_FUNC_ALLOCA - AC_FUNC_MEMCMP AC_CHECK_HEADER([stdarg.h], [ AC_DEFINE([HAVE_STDARG_PROTOTYPES], [1], [Define to 1 if you have the <stdarg.h> header file.]) ], [])

« previous php.cvs (#102999) next »