com php-src: Remove AC_FUNC_VPRINTF: UPGRADING.INTERN ALS Zend/Zend.m4 configure.ac win32/build/confi g.w32.h.in
| From: | Peter Kokot | Date: | Wed, 29 Aug 2018 19:31:55 +0000 |
| Subject: | com php-src: Remove AC_FUNC_VPRINTF: UPGRADING.INTERN ALS Zend/Zend.m4 configure.ac win32/build/confi g.w32.h.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102932@lists.php.net to get a copy of this message | ||
Commit: ef12e9621517ba33f11c6983c607fae56cefc54a
Author: Peter Kokot <peterkokot@gmail.com> Wed, 29 Aug 2018 05:02:37 +0200
Parents: cbc785dc8c89a5ff085909e555d677d4d8d7c9a1
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ef12e9621517ba33f11c6983c607fae56cefc54a
Log:
Remove AC_FUNC_VPRINTF
Autoconf 2.59d (released in 2006) 1 started promoting several macros
as not relevant for newer systems anymore, including the AC_FUNC_VPRINTF.
This macro checks for presence of the vprint function otherwise checks
for presence of the _doprnt function. This check was relevant on very
old systems and today can be omitted since it should be well supported
by now. [2]
Also PHP doesn't use the HAVE_VPRINTF or HAVE_DOPRNT symbols.
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 UPGRADING.INTERNALS
M Zend/Zend.m4
M configure..ac
M win32/build/config.w32.h.in
Diff:
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index a7399d1..af5a36b 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -29,6 +29,8 @@ PHP 7.4 INTERNALS UPGRADE NOTES
a. Unix build system changes
- configure --help now also outputs --program-suffix and --program-prefix
information by using the Autoconf AC_ARG_PROGRAM macro.
+ - Obsolescent macro AC_FUNC_VPRINTF has been removed and the HAVE_VPRINTF
+ symbol is no longer defined since it is not needed on current systems.
b. Windows build system changes
diff --git a/Zend/Zend.m4 b/Zend/Zend..m4
index 8d5cfe5..5dadb84 100644
--- a/Zend/Zend.m4
+++ b/Zend/Zend.m4
@@ -91,7 +91,6 @@ LIBZEND_CHECK_INT_TYPE(int32_t)
LIBZEND_CHECK_INT_TYPE(uint32_t)
dnl Checks for library functions.
-AC_FUNC_VPRINTF
AC_FUNC_MEMCMP
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(memcpy strdup getpid kill strtod strtol finite fpclass sigsetjmp)
diff --git a/configure.ac b/configure.ac
index b8350fe..4758c92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -596,7 +596,6 @@ AC_CACHE_CHECK([for IPv6 support], ac_cv_ipv6_support,
dnl Checks for library functions.
dnl -------------------------------------------------------------------------
-AC_FUNC_VPRINTF
AC_CHECK_FUNCS(
alphasort \
asctime_r \
diff --git a/win32/build/config.w32.h.in b/win32/build/config.w32.h.in
index 7434209..92d27dd 100644
--- a/win32/build/config.w32.h.in
+++ b/win32/build/config.w32.h.in
@@ -70,7 +70,6 @@
#undef HAVE_STRUCT_STAT_ST_BLOCKS
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_UTIME_NULL 1
-#define HAVE_VPRINTF 1
#define STDC_HEADERS 1
#define REGEX 1
#define HSREGEX 1