summaryrefslogtreecommitdiff
path: root/Zend/Zend.m4
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove ZEND_FP_EXCEPT macro and HAVE_FP_EXCEPTPeter Kokot2019-02-271-2/+0
| | | | | | | | | | | | Usage of the HAVE_FP_EXCEPT symbol has been removed via c3340584128a9c8b75e2c1aa5630911ad2dc9b9f and isn't used in current code anymore.
* | Remove unused PHP_AC_BROKEN_SPRINTF and AC_ZEND_BROKEN_SPRINTFPeter Kokot2019-02-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sprintf function has been normalized to php_sprintf via 61364b5bb172fa512c871b795c2613b1b587e4cd. This patch removes the checks to make a custom sprintf function The ZEND_BROKEN_SPRINTF has been removed and the hardcoded #define zend_sprintf sprintf is used. The php_sprintf and zend_sprintf are now symbols to sprintf. This patch now removes the custom PHP definitions of the php_sprintf and zend_sprintf functions in favor of the C99 sprintf which is also standardized in C89 already. Once, on some systems sprintf didn't behave in same way.
* | Remove separate *nix system build for Zend enginePeter Kokot2019-01-041-16/+0
| | | | | | | | | | | | | | | | | | | | | | Removed files used to provide building Zend engine separately using Autoconf and Automake: cd Zend && ./buildconf && ./configure Since Zend engine is tightly integrated in the PHP code itself and current root configure.ac and acinclude provide this patch removes these. Removed files also included several obsolete macros and Automake dependency which is not used in main *nix PHP build system.
* | Remove support for Rhapsody code namePeter Kokot2018-12-021-6/+0
| | | | | | | | | | | | | | | | | | The Rhapsody code name was once used for computers with operating system by Apple and was mostly replaced with a newer code name Darwin: - https://en.wikipedia.org/wiki/Rhapsody_(operating_system) - https://en.wikipedia.org/wiki/Darwin_(operating_system) This patch removes obsolete checks from the *nix build script files.
* | Merge branch 'PHP-7.3'Christoph M. Becker2018-11-051-0/+18
|\ \ | |/ | | | | | | * PHP-7.3: Fix #76825: Undefined symbols ___cpuid_count
| * Fix #76825: Undefined symbols ___cpuid_countChristoph M. Becker2018-11-051-0/+18
| | | | | | | | | | | | Apparently, the presence of `cpuid.h` is not necessarily sufficient to guarantee the availability of `__cpuid_count()`. We therefore test for the latter explicitly.
* | Remove HAVE_STDARG_HPeter Kokot2018-09-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The C89 standard and later defines the `<stdarg.h>` header as part of the standard headers [1]. On current systems it is always present and can be included unconditionally. Checking for presence and functionality of the `<stdarg.h>` header and variadic function is not relevant anymore on current systems since this is always available. Also Autoconf suggests relying on at least C89 or above [2] and [3]. The following files were regenerated with re2c 1.0.3: - Zend/zend_language_scanner.c - Zend/zend_language_scanner_defs.h Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
* | Remove HAVE_STRING_HPeter Kokot2018-09-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The C89 standard and later defines the `<string.h>` header as part of the standard headers [1] and on current systems it is always present. Code included also `<strings.h>` header as an alterinative in some files. This kind of check was relevant on some older systems where the `<strings.h>` file included definitions for the C89 compliant `<string.h>`. Today such alternative check is not required anymore. The `<strings.h>` file is part of the POSIX definition these days. Also Autoconf suggests doing this and relying on C89 or above [2] and [3]. This patch also cleans few unused `<strings.h>` inclusions in the libmbfl. [1]: https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2]: http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3]: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
* | Remove unused HAVE_MEM_MMAP_ANON and HAVE_MEM_MMAP_ZERO checksNikita Popov2018-09-171-100/+0
| | | | | | | | | | These haven't been used since the MM rewrite in PHP 7.0. Nowadays we assume that either MAP_ANON or MAP_ANONYMOUS is available.
* | Remove HAVE_STDLIB_HPeter Kokot2018-09-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | The C89 and later standard defines the `<stdlib.h>` header as part of the standard headers [1] and on current systems it is always present and the `HAVE_STDLIB_H` symbol can be removed. Also Autoconf suggests doing this and relying on C89 or above [2] and [3]. [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
* | Remove AC_FUNC_MEMCMPPeter Kokot2018-09-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'PHP-7.3'Xinchen Hui2018-09-041-0/+1
|\ \ | |/ | | | | | | * PHP-7.3: Fixed bug #76825 (Undefined symbols ___cpuid_count)
| * Fixed bug #76825 (Undefined symbols ___cpuid_count)Xinchen Hui2018-09-041-0/+1
| |
* | Remove AC_FUNC_VPRINTFPeter Kokot2018-08-291-1/+0
|/ | | | | | | | | | | | | | | | 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
* Remove TSRM_CHECK_GCC_ARG and LIBZEND_CPLUSPLUS_CHECKSPeter Kokot2018-07-311-5/+0
| | | | | This removes two old Autoconf macro definitions since they are not used anymore.
* Replace obsolete AC_TRY_FOO with AC_FOO_IFELSEPeter Kokot2018-07-301-25/+25
| | | | | | | | | | | | | | | | | | | | | | | 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
* Remove obsolete AC_TYPE_SIGNALPeter Kokot2018-07-291-1/+0
| | | | | | | | | | | | 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
* Trim trailing whitespaces in build filesPeter Kokot2018-07-291-22/+22
| | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files in Zend and TSRM folders.
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | 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.
* Merge branch 'PHP-7.1'Nikita Popov2017-02-081-1/+1
|\
| * Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-081-1/+1
| |\
| | * Fix detection of isnan and isinfChristian Schmidt2017-02-081-1/+1
| | | | | | | | | | | | | | | | | | The isnan() and isinf() are C99 macros not functions. Also fix is_infinite(-INF) in case isinf is not defined.
* | | Merge branch 'PHP-7.1'Nikita Popov2017-02-061-2/+1
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-061-2/+1
| |\ \ | | |/
| | * Revert "Fix detection of isnan and isinf"Nikita Popov2017-02-061-2/+1
| | | | | | | | | | | | This reverts commit 9ea0949f43959ff0cf519e7a10ef9de7a538cde3.
* | | Merge branch 'PHP-7.1'Nikita Popov2017-02-051-1/+2
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-051-1/+2
| |\ \ | | |/
| | * Fix detection of isnan and isinfChristian Schmidt2017-02-051-1/+2
| | | | | | | | | | | | | | | | | | The isnan() and isinf() are C99 macros not functions. Also fix is_infinite(-INF) in case isinf is not defined.
* | | Merge branch 'DedupNANINF'Andrea Faulds2016-10-261-0/+137
|\ \ \ | |/ / |/| |
| * | Deduplicate NAN/INF portability, move to ZendAndrea Faulds2016-03-201-0/+137
| |/
* | Enable Zend signals by defaultDmitry Stogov2016-06-201-2/+2
| |
* | Reverted chunk committed by mistake.Dmitry Stogov2016-06-201-2/+2
| |
* | Fixed phpdbg build without --enable-zend-signalsDmitry Stogov2016-06-201-2/+2
|/
* Support for XLC compilerDmitry Stogov2015-08-101-1/+4
|
* Fixed typo in ZEND_GCC_GLOBAL_REGS configure test (Albert)Dmitry Stogov2015-05-211-1/+1
|
* Improve CSPRNG implementationLeigh2015-05-091-7/+8
|
* Fixed global register checkingXinchen Hui2015-03-191-0/+5
|
* Enabled global register variables for PPCDmitry Stogov2015-03-181-0/+3
|
* GCC prior 4.8.0 may generates wrong codeDmitry Stogov2015-03-181-2/+2
|
* Enable GCC global register variables if availableDmitry Stogov2015-03-171-0/+45
|
* Remove --with-zend-vm (it doesn't work anyway)Xinchen Hui2015-03-161-24/+0
|
* Revert "Enable zend signals handler by default"Xinchen Hui2015-03-141-2/+2
| | | | This reverts commit dbe7ff6df5874a49b921424b523a0acbbf909773.
* Enable zend signals handler by defaultXinchen Hui2015-03-141-2/+2
|
* master renames phase 1Anatol Belski2014-08-251-1/+1
|
* first shot on merging the core fro the int64 branchAnatol Belski2014-08-161-1/+1
|
* make ZEND_SIGNALS configurable, off by defaultStanislav Malyshev2012-02-161-2/+8
| | | | | also make ZEND_SIGNALS enabled and disabled binary-compatible
* Zend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals)Ilia Alshanetsky2011-06-021-0/+14
| | | | | | | | This needs to go into 5.4 as well, but will wait for Pierre to review win32 situation # Patch by Lucas Nealan, Arnaud Le Blanc, Brian Shire & Ilia Alshanetsky
* Added multibyte suppport by default. Previosly php had to be compiled with ↵Dmitry Stogov2010-11-241-14/+0
| | | | --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
* Set session.entropy_file to /dev/urandom or /dev/arandom byRasmus Lerdorf2010-03-311-0/+7
| | | | | default if present at compile-time. Addresses part of bug #51436
* Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX ↵Scott MacVicar2009-08-061-12/+0
| | | | specific code.