summaryrefslogtreecommitdiff
path: root/scripts/phpize.m4
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.2' into PHP-7.3Peter Kokot2018-10-191-1/+0
|\ | | | | | | | | | | | | * PHP-7.2: [ci skip] Update NEWS [ci skip] Update NEWS Fix #77035: The phpize and ./configure create redundant .deps file
| * Merge branch 'PHP-7.1' into PHP-7.2Peter Kokot2018-10-191-1/+0
| |\ | | | | | | | | | | | | | | | * PHP-7.1: [ci skip] Update NEWS Fix #77035: The phpize and ./configure create redundant .deps file
| | * Fix #77035: The phpize and ./configure create redundant .deps filePeter Kokot2018-10-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `.deps` file(s) was once used by Automake and created to write dependencies to it. The file creation has been removed via the commit 779c11af21cf8a627b8f2f2edef9e9073c76ed94. The phpize and ./configure script create a redundant .deps file in a PECL extension directory which might cause confusions why is it used. Today it is no longer relevant so this redundant artefact can be removed in the phpize configure script.
| | * Trim trailing whitespace in source code filesPeter Kokot2018-10-131-2/+2
| | |
| * | Trim trailing whitespace in source code filesPeter Kokot2018-10-131-2/+2
| | |
* | | Bump minimum Autoconf requirement to 2.68Peter Kokot2018-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Upgrade deprecated AC_OUTPUT macro callsPeter Kokot2018-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Trim trailing whitespaces in build filesPeter Kokot2018-07-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* | | Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERSPeter Kokot2018-07-071-1/+1
|/ / | | | | | | | | | | | | | | | | | | 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.
* | Use modern autotools name of configure.ac instead of configure.inBrian Evans2017-01-271-1/+1
|/ | | | | | | | | | 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 wrong display in ZTS checkingYuchen Wang2015-05-121-1/+1
|
* Relax autoconf support from 2.60 to 2.59. This is the version available on ↵Christopher Jones2011-06-081-2/+2
| | | | Centos/RHEL/Oracle Linux 5.6
* Drop support for autoconf < 2.60 in trunk and the Rasmus Lerdorf2011-05-151-3/+2
| | | | | | new PHP_5_4 branch. autoconf >= 2.60 should finally be working now.
* - Fixed -g adding for gcc and g++ (former got it twice, latter not at all)Jani Taskinen2010-11-021-1/+1
|
* One change in trying to update Autoconf was missed. This makes phpize work ↵Gwynne Raskind2009-12-021-1/+1
| | | | again.
* Missed a few - now it really works with autoconf-2.64+Rasmus Lerdorf2009-11-251-1/+1
|
* MFH:- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4)Jani Taskinen2009-06-021-0/+1
|
* - MFH: Get rid of the four different versions of zend_extension* and only useDerick Rethans2009-05-181-9/+1
| | | | | | | zend_extension. Because of the API identifier change in PHP 5.3 you also get a proper warning message now. #- [DOC]
* Fix cc detection in phpize according to changes in configure.inDavid Soria Parra2008-12-031-1/+14
|
* MFH:- Applied the missing parts to phpize.m4 for zend extension buildsJani Taskinen2008-07-311-2/+32
|
* MFH:- Detect whether debugging was enabled in PHP and drop optimizing flags ↵Jani Taskinen2008-07-301-0/+35
| | | | if so (merge from configure.in)
* wsJani Taskinen2008-07-301-1/+1
|
* MFB: - Fixed the fix for not requiring C++ alwaysDavid Soria Parra2008-07-271-1/+1
|
* MFH: Fixed a minor problem in not enabling c++/g++ when not needed.Jani Taskinen2008-07-251-4/+8
|
* MFH:- Fixed bug #42292 ($PHP_CONFIG not set for phpized builds)Jani Taskinen2007-08-141-5/+7
|
* MFH:- Fixed bug #42195 (C++ compiler required always)Jani Taskinen2007-08-061-0/+4
|
* MFHAntony Dovgal2007-07-251-6/+6
|
* MFH: cleanup & syncJani Taskinen2007-07-181-37/+31
|
* MFH: - Add missing CXXFLAGS_CLEAN variable.foobar2007-06-011-0/+2
|
* MFH: - Determine the shared/link lib suffixes in one macro.foobar2006-04-101-2/+1
|
* MFHAndrei Zmievski2006-04-081-0/+1
|
* MFH: - Fixed header installing under phpize buildsfoobar2005-11-211-1/+6
|
* - Made it possible to do "make test" for phpized extensionsfoobar2005-08-081-0/+2
|
* - Proper fix for phpize when dealing with PECLfoobar2005-06-051-0/+3
|
* - Make sure EGREP and SED get set early enough.foobar2005-05-271-2/+2
|
* - Added PHP_INSTALL_HEADERS() macrofoobar2005-05-071-3/+5
| | | | | | | - Fixed several VPATH build issues - Changed all awk calls to use $AWK - Changed all mkdir calls to use "$php_shtool mkdir"
* Removed unused DEFS substfoobar2005-03-171-1/+0
|
* Add missing substfoobar2005-03-041-0/+1
|
* - Restructured and added a few comments here and there.foobar2005-02-241-6/+1
| | | | | | | | - Made macros of couple of tests previously littering configure.in (e.g. PHP_PROG_AWK, PHP_PROG_LEX, PHP_PROG_BISON..) - Moved all PHP_SUBST() calls into their respective macros. (no point adding empty entries in Makefile if macro is not used)
* - Add --with-libdir to phpized builds toofoobar2005-01-201-0/+5
|
* - Make sure $host_alias is never emptyfoobar2005-01-071-2/+0
|
* MFB_4_3: Quote macro names in AC_DEFUN()foobar2004-12-301-5/+5
|
* centralize cflagsSascha Schumann2003-09-031-1/+1
|
* enable re2c check for self-contained extensionsSascha Schumann2003-09-021-0/+1
|
* provide RE2C to external extensionsSascha Schumann2003-09-021-0/+1
|
* $host_* vars are used in extension config.m4s too.foobar2003-08-051-0/+2
|
* - Unified PHP_SETUP_OPENSSL with other PHP_SETUP_* macros.foobar2003-06-241-12/+0
|
* MFB move awk detectionSascha Schumann2003-05-191-1/+2
|
* - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config)foobar2003-01-281-0/+123