#
29dc0470 |
| 01-Sep-2018 |
Peter Kokot |
Remove AC_FUNC_UTIME_NULL Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems, including the AC_FUNC_UTIME_NULL. This macro
Remove AC_FUNC_UTIME_NULL Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems, including the AC_FUNC_UTIME_NULL. This macro checks if `utime(file, NULL)` sets file's timestamp to the current time and defines the `HAVE_UTIME_NULL` symbol. This check was relevant on very old systems (for example, 4.3BSD released in 1986) and today can be omitted for systems with utime since it should be well supported by now. [2] 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
show more ...
|
#
eff22dc5 |
| 03-Sep-2018 |
Peter Kokot |
Remove AC_HEADER_DIRENT Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems anymore, including the `AC_HEADER_DIRENT`. This
Remove AC_HEADER_DIRENT Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems anymore, including the `AC_HEADER_DIRENT`. This macro checks which header defines the `DIR` type. If `<dirent.h>` is available it defines the `HAVE_DIRENT_H` symbol. Since the `<dirent.h>` header is already checked in the `configure.ac`, this check is not needed anymore. This macro also additionally checks for SCO Xenix (discontinued, latest release 1989) dir and x libraries. [2] Commit 6ed790685f9ddae11834f36b0ba4fea58afc805a introduced also `<sys/dir.h>`. This header exists from times of UNIX System V and provided definition of DIR type on these systems such as 4.3BSD. Today `<sys/dir.h>` is kept for backwards compatibility and includes the `<dirent.h>` on current systems. With `dirent.h>` present this include is no longer required. 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 Remove unused dirent.h includes
show more ...
|
#
ef12e962 |
| 29-Aug-2018 |
Peter Kokot |
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
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
show more ...
|
#
cbc785dc |
| 26-Aug-2018 |
Peter Kokot |
Remove AC_STRUCT_TM macro Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems anymore, including the `AC_STRUCT_TM`. This ma
Remove AC_STRUCT_TM macro Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems anymore, including the `AC_STRUCT_TM`. This macro checks if `struct tm` is defined in either `<sys/time.h>` or `<time.h>` and defines the `TM_IN_SYS_TIME` symbol accordingly. This check was relevant in times before the C89 for some embedded systems, microcontrollers or very old systems. For newer systems it can be avoided and the `<time.h>` should be included instead since current systems should be well supported by now. [2] Since PHP requires at least C89, this patch removes the obsolescent call and time.h checks. Refs: - [1]: http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS - [2]: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Particular-Structures.html
show more ...
|
#
3748d807 |
| 25-Aug-2018 |
Peter Kokot |
Implement #64517: Add AC_ARG_PROGRAM macro The AC_ARG_PROGRAM Autoconf macro provides program name transformations when installing. This patch implements #64517 and prepares the impl
Implement #64517: Add AC_ARG_PROGRAM macro The AC_ARG_PROGRAM Autoconf macro provides program name transformations when installing. This patch implements #64517 and prepares the implementation for the request #60518. In ./configure --help it additionally outputs --program-prefix=PREFIX, --program-suffix=SUFFIX and the upcoming --program-transform-name=PROGRAM option. Macro AC_ARG_PROGRAM is available since Autoconf 2.0 and needs to be called after the AC_CANONICAL_TARGET macro. Refs: - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Transforming-Names.html
show more ...
|
#
7353dae8 |
| 28-Aug-2018 |
Remi Collet |
bump to 7.2.11-dev
|
#
99020cc0 |
| 04-Aug-2018 |
Peter Kokot |
Remove outdated comment with PEAR xmlrpc dependency The xmlrpc extension is not required to install PEAR anymore.
|
#
a63c99ba |
| 31-Jul-2018 |
Christoph M. Becker |
Prepare for PHP 7.4
|
#
6399fa1e |
| 30-Jul-2018 |
Peter Kokot |
[ci skip] Fix typo
|
#
4371945b |
| 29-Jul-2018 |
Peter Kokot |
Replace obsolete AC_TRY_FOO with AC_FOO_IFELSE Autoconf 2.50 released in 2001 made several macros obsolete including the AC_TRY_RUN, AC_TRY_COMPILE and AC_TRY_LINK: http://git.savann
Replace obsolete AC_TRY_FOO with AC_FOO_IFELSE Autoconf 2.50 released in 2001 made several macros obsolete including the AC_TRY_RUN, AC_TRY_COMPILE and AC_TRY_LINK: http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.2 These macros should be replaced with the current AC_FOO_IFELSE instead: - AC_TRY_RUN with AC_RUN_IFELSE and AC_LANG_SOURCE - AC_TRY_LINK with AC_LINK_IFELSE and AC_LANG_PROGRAM - AC_TRY_COMPILE with AC_COMPILE_IFELSE and AC_LANG_PROGRAM PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require 2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which are all greater than above mentioned 2.50 version therefore systems should be well supported by now. This patch was created with the help of autoupdate script: autoupdate <file> Reference docs: - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html - https://www.gnu.org/software/autoconf/manual/autoconf-2.59/autoconf.pdf
show more ...
|
#
f2b5ac79 |
| 29-Jul-2018 |
Gabriel Caruso |
[ci skip] Fix typo
|
#
daaf706d |
| 28-Jul-2018 |
Peter Kokot |
Upgrade deprecated AC_OUTPUT macro calls Autoconf 2.50 made several changes to macro calls. These include also arguments passed to AC_OUTPUT macro. The upgrading chapter in Autoconf
Upgrade deprecated AC_OUTPUT macro calls Autoconf 2.50 made several changes to macro calls. These include also arguments passed to AC_OUTPUT macro. The upgrading chapter in Autoconf documentation include an example of using AC_OUTPUT with AC_CONFIG_FILES and AC_CONFIG_COMMANDS: - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html PHP 5.4 to 7.1 require Autoconf 2.59+, PHP 7.2+ require Autoconf 2.64+, and PHP 7.2 phpize script requires Autoconf 2.59+ which are all greater than above mentioned 2.50 version. Systems out there should well support this by now. This patch was created with the help of autoupdate script: autoupdate <file> More info on where exactly this got deprecated: - ftp://ftp.gnu.org/old-gnu/Manuals/autoconf-2.13/html_mono/autoconf.html - ftp://ftp.auckland.ac.nz/pub/gnu/Manuals/autoconf-2.52/html_chapter/autoconf_15.html - http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
show more ...
|
#
d2184efb |
| 29-Jul-2018 |
Peter Kokot |
Replace obsolete AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV Autoconf 2.50 released in 2001 has made several macros obsolete. Instead of the AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV the
Replace obsolete AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV Autoconf 2.50 released in 2001 has made several macros obsolete. Instead of the AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV the new AC_CHECK_MEMBERS should be used. When checking for the presence of stat struct members st_blkzize and st_rdev the new AC_CHECK_MEMBERS macro defines new constants HAVE_STRUCT_STAT_ST_BLKSIZE and HAVE_STRUCT_STAT_ST_RDEV. Old constants HAVE_ST_BLKSIZE and HAVE_ST_RDEV need to be replaced respectively in PHP code (this patch) and in PHP extenstions if they use them. PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require 2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which are all greater than above mentioned 2.50 version.
show more ...
|
#
b12cece8 |
| 25-Jul-2018 |
Peter Kokot |
Replace obsolete AC_AIX with AC_USE_SYSTEM_EXTENSIONS Since Autoconf 2.62 the AC_AIX macro has been made obsolete and should be replaced with the AC_USE_SYSTEM_EXTENSIONS instead.
Replace obsolete AC_AIX with AC_USE_SYSTEM_EXTENSIONS Since Autoconf 2.62 the AC_AIX macro has been made obsolete and should be replaced with the AC_USE_SYSTEM_EXTENSIONS instead. Both macro behaviors are the same since the old one is just a wrapper around the new AC_USE_SYSTEM_EXTENSIONS: http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/specific.m4 PHP 7.2+ and the main configure.ac script require minimum Autoconf 2.64+. Refs: - http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
show more ...
|
#
cf3b8521 |
| 29-Jul-2018 |
Peter Kokot |
Trim trailing whitespaces in build files Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: -
Trim trailing whitespaces in build files Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
show more ...
|
#
a5e80b22 |
| 25-Jul-2018 |
Peter Kokot |
Fix typos in code comments
|
#
8d3f8ca1 |
| 03-Jul-2018 |
Peter Kokot |
Remove unused Git attributes ident The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last use
Remove unused Git attributes ident The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
show more ...
|
#
956446bd |
| 04-Jul-2018 |
Peter Kokot |
Bump Autoconf version in configure.ac to 2.64 Since PHP 7.2 the minimum autoconf version is 2.64. The configure.ac script file includes also AX_CHECK_COMPILE_FLAG macro call so besides
Bump Autoconf version in configure.ac to 2.64 Since PHP 7.2 the minimum autoconf version is 2.64. The configure.ac script file includes also AX_CHECK_COMPILE_FLAG macro call so besides only checking it in buildconf script this bumps the autoconf here too. The phpize.m4 script is for now still relaxed to 2.59 version since some still supported systems such as CentOS 6 still include autoconf 2.63 version and might require calling phpize on some old extensions.
show more ...
|
#
491f1477 |
| 05-Jul-2018 |
Peter Kokot |
Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS Autoconf doesn't mention the AC_CONFIG_HEADER macro since the v2.13 released in 1999 anywhere in the documentation. Future of this macro i
Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS Autoconf doesn't mention the AC_CONFIG_HEADER macro since the v2.13 released in 1999 anywhere in the documentation. Future of this macro is unclear and commented as possible candidate for obsoletion in the autoconf source code. Since it is just a wrapper around the main AC_CONFIG_HEADERS macro, the functionality is the same, and also more clear to find it in the autoconf documentation and avoid possible future obsoletion.
show more ...
|
#
67352cb2 |
| 28-Jun-2018 |
Peter Kokot |
Fix bug #76392 On systems without glibc, such as Alpine with Musl libc, the function attributes are not supported. GCC 6 doesn't properly omit some systems. This is already fixed in
Fix bug #76392 On systems without glibc, such as Alpine with Musl libc, the function attributes are not supported. GCC 6 doesn't properly omit some systems. This is already fixed in GCC 7 but for systems with GCC 6 and ones without glibc, this additional check fixes this bug.
show more ...
|
#
b7368fe0 |
| 03-Jul-2018 |
Peter Kokot |
Add missing autoconf m4 quotes Two macro calls were missing quotes and in order to be able to run the autoupdate script, this patch adds them.
|
#
8bf21adb |
| 03-Jul-2018 |
Remi Collet |
bump to 7.2.9-dev
|
#
bbd7b2d0 |
| 14-Jun-2018 |
Peter Kokot |
Remove old and unused warnings when building apache The configure script already warns users at the beginning with unrecognized options warning so additional check is not required. These
Remove old and unused warnings when building apache The configure script already warns users at the beginning with unrecognized options warning so additional check is not required. These sapis were also removed from the PHP core.
show more ...
|
#
c79af09b |
| 09-Jun-2018 |
Anatol Belski |
Add check for variable size array feature Usage of VLA is not portable, wile supported by some compilers. For instance, GCC supports it even if -std=c89 is passed. Even if we would s
Add check for variable size array feature Usage of VLA is not portable, wile supported by some compilers. For instance, GCC supports it even if -std=c89 is passed. Even if we would switch to C99, it would be still not portable at least with VC++. Thus, adding a centralized check so such code can be guarded and moved to alloca() if needed.
show more ...
|
#
a8a1dc03 |
| 19-May-2018 |
Anatol Belski |
Fix versions, as 7.2.6RC is already out
|