summaryrefslogtreecommitdiff
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Fix another implicit function declaration in configureNikita Popov2020-11-031-5/+1
| | | | | As mentioned on bug #80171. This one is in libtool.m4, might get lost on libtool updates.
* Merge branch 'PHP-7.2' into PHP-7.3Peter Kokot2018-10-202-7/+7
|\ | | | | | | | | | | | | * PHP-7.2: [ci skip] Update NEWS [ci skip] Update NEWS Fix #77041: buildconf should output error messages to stderr
| * Merge branch 'PHP-7.1' into PHP-7.2Peter Kokot2018-10-202-7/+7
| |\ | | | | | | | | | | | | | | | * PHP-7.1: [ci skip] Update NEWS Fix #77041: buildconf should output error messages to stderr
| | * Fix #77041: buildconf should output error messages to stderrMizunashi Mana2018-10-202-7/+7
| | |
| | * Sync leading and final newlines in source code filesPeter Kokot2018-10-142-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| | * Trim trailing whitespace in source code filesPeter Kokot2018-10-135-12/+12
| | |
| | * year++Xinchen Hui2018-01-023-3/+3
| | |
| | * fix broken build scripts #2124Joe Watkins2017-01-061-0/+74
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-043-3/+3
| | |
| * | Sync leading and final newlines in source code filesPeter Kokot2018-10-142-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * | Trim trailing whitespace in source code filesPeter Kokot2018-10-135-12/+12
| | |
| * | year++Xinchen Hui2018-01-023-3/+3
| | |
* | | Sync leading and final newlines in source code filesPeter Kokot2018-10-142-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | | Trim trailing whitespace in source code filesPeter Kokot2018-10-133-9/+9
| | |
* | | Bump minimum Autoconf requirement to 2.68Peter Kokot2018-10-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch syncs and bumps the minimum required version of Autoconf for the `phpize.m4` script and the main `configure.ac` from previously mixed 2.64 and 2.59 to 2.68. At the time of this writing Autoconf 2.63 is still the version on Centos 6, however by the PHP 7.3 release current systems out there should all have pretty much updated Autoconf versions to 2.64+ at least. Centos 7 already has Autoconf 2.69, for example. This provides more options to update and get current with the *nix build system and also avoids broken builds in certain cases as pointed out in the relevant discussion [1]. Additionally, phpize also already provides the `AX_CHECK_COMPILE_FLAG` Autoconf Archive m4 file that has Autoconf 2.64 minimum requirement. Autoconf 2.68 was released in 2010, 8 years ago, relative to this patch. [1] https://github.com/php/php-src/pull/3562
* | | Fix AC_RUN_IFELSE calls when cross-compilingPeter Kokot2018-07-301-2/+2
| | | | | | | | | | | | | | | AC_RUN_IFELSE program can't be run when cross-compiling. This fix removes warnings given by autotools scripts.
* | | Replace obsolete AC_TRY_FOO with AC_FOO_IFELSEPeter Kokot2018-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 unused PHP_PROG_LEX macroPeter Kokot2018-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since PHP 5.3 flex lexer has been replaced with re2c. Commit 0f9e2b1753661afe1c0dee6982e161fcf00d349f made PHP_PROG_LEX macro still available for BC. In commit df6bd506d492292ef4353b0f8da0c34eeb076be5 it was updated. Since this macro is entirely not used in PHP source code anymore from PHP 5.3 and up, this patch removes it together with some old traces of warnings suppression and comments.
* | | Upgrade AX_CHECK_COMPILE_FLAG macro to serial 6Peter Kokot2018-07-281-27/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AX_CHECK_COMPILE_FLAG macro is from the Autoconf Archive. Latest version of the file has a new All-permissive license for even more convenience for usage. Refs: - http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4 - https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html
* | | Remove unused Git attributes identPeter Kokot2018-07-253-7/+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.
* | | Remove old SVN keywords substitutionsPeter Kokot2018-06-162-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | When the PHP source code was versioned in Subversion, there was possible to substitute certain keywords such as $Id$ with revision number, last change time and author name. Such approach is not used in Git so this patch removes these outdated artifacts from source code files.
* | | Optimized php_addslashes with SSE4.2 instructionsXinchen Hui2018-01-151-0/+241
| | | | | | | | | | | | | | | | | | | | | | | | According to benchmark (https://gist.github.com/laruence/fd0d443d2c5bacca9d8ab99250499956) this brings 30%+ execution time reduced. In the further, this open the door for possible SSE4.2 optimizations in other places.
* | | year++Xinchen Hui2018-01-023-3/+3
|/ /
* | Fixed bug #75142 buildcheck.sh check for autoconf version needs to be ↵Remi Collet2017-09-051-4/+4
| | | | | | | | updated for v2.64
* | Use modern autotools name of configure.ac instead of configure.inBrian Evans2017-01-271-2/+2
| | | | | | | | | | | | | | | | | | | | configure.ac was introduced in 2001 with automake-1.15 and autoconf-2.50 to replace the file named configure.in. Autotools is preparing to remove configure.in in Automake 2.0. All new software should be using configure.ac. This also fixes Bug #69770 where extensions are creating configure.in Signed-off-by: Brian Evans <grknight@gentoo.org>
* | fix broken build scripts #2124Joe Watkins2017-01-061-0/+74
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-023-3/+3
|/
* Merge branch 'PHP-5.6' into PHP-7.0Julien Pauli2016-01-042-2/+2
|\ | | | | | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) Conflicts: ext/json/php_json_encoder.h sapi/continuity/capi.c
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-032-2/+2
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | Fixed bug #70899 (buildconf failure in extensions)Bob Weinand2015-11-171-2/+4
| |
* | Merge branch 'PHP-5.6'Adam Harvey2015-08-271-2/+2
|\ \ | |/ | | | | | | | | * PHP-5.6: Fix NEWS indentation. Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4.
| * Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4.Adam Harvey2015-08-271-2/+2
| | | | | | | | | | Fixes bug #70370 (Bundled libtool.m4 doesn't handle FreeBSD 10 when building extensions).
* | here string isn't supported by every shellAnatol Belski2015-08-211-1/+1
| |
* | $() isn't supported on every shellFerenc Kovacs2015-08-211-1/+1
| |
* | Fix invalid range error by gawk in order_by_dek.awkBob Weinand2015-08-211-1/+1
| |
* | Remove assumption that extensions are in ext/ext-nameBob Weinand2015-08-213-8/+13
| | | | | | | | Fixes also a weird ln (symlink) hack for phpdbg
* | Merge branch 'PHP-5.6'Michael Wallner2015-02-041-1/+1
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: make buildconf work as expected; autoconf really needs some help with all those external m4s Conflicts: build/build2.mk
| * make buildconf work as expected;Michael Wallner2015-02-041-1/+2
| | | | | | | | autoconf really needs some help with all those external m4s
* | Partially revert. I did not notice there's alaready a .PHONY target forMichael Wallner2015-01-311-4/+5
| | | | | | | | | | generated_lists. Force removing configure before running autoconf is enough to make this work as expected.
* | make buildconf actually workMichael Wallner2015-01-302-5/+5
| |
* | Merge branch 'master' into issue-67910Florian MARGAINE2014-09-204-4/+4
|\ \ | | | | | | | | | | | | | | | Conflicts: README.PARAMETER_PARSING_API ext/gmp/tests/001.phpt
| * | s/PHP 5/PHP 7/Johannes Schlüter2014-09-194-4/+4
| |/
* | Replaces php5 with php7, without whitespace changes.Florian MARGAINE2014-09-201-1/+1
|/
* Merge branch 'PHP-5.5' into PHP-5.6Lior Kaplan2014-08-281-3/+9
|\ | | | | | | | | | | * PHP-5.5: config.guess: add ppc64le / ppcle support by Anton Blanchard <anton@samba.org> libtool: powerpc*le-linux support by Alan Modra <amodra@bigpond.net.au>
| * libtool: powerpc*le-linux support by Alan Modra <amodra@bigpond.net.au>Lior Kaplan2014-08-281-3/+9
| | | | | | | | | | | | | | | | | | Patch created using the following changes in libtool: http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=75ffb257 http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=056889b8 http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=bd998a7e http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=429d40a0 http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=8a8dfaec
* | Merge branch 'PHP-5.5' into PHP-5.6Ferenc Kovacs2014-06-301-8/+0
|\ \ | |/ | | | | | | | | * PHP-5.5: NEWS Fix bug #67091: make install fails to install libphp5.so on FreeBSD 10.0
| * Merge branch 'PHP-5.4' into PHP-5.5Ferenc Kovacs2014-06-301-8/+0
| |\ | | | | | | | | | | | | * PHP-5.4: Fix bug #67091: make install fails to install libphp5.so on FreeBSD 10.0
| | * Fix bug #67091: make install fails to install libphp5.so on FreeBSD 10.0Ferenc Kovacs2014-06-301-8/+0
| | | | | | | | | | | | | | | | | | Simplest fix is to remove the specific checks for freebsd1* as it also matches freebsd10, and nobody should be using >=PHP 5.4 with freebsd 1.x(if it is even possible to make it to compile there).