Commit graph

43 commits

Author SHA1 Message Date
Peter Kokot
daaf706df0 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
2018-07-29 16:04:39 +02:00
Peter Kokot
cf3b852109 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
2018-07-29 03:43:45 +02:00
Peter Kokot
491f1477be 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.
2018-07-07 12:10:53 +02:00
Brian Evans
2fe9208ee3
Use modern autotools name of configure.ac instead of configure.in
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>
2017-01-27 06:07:40 +00:00
Yuchen Wang
2bd097c9f6 Fix wrong display in ZTS checking 2015-05-12 17:32:01 +08:00
Christopher Jones
2e235022e9 Relax autoconf support from 2.60 to 2.59. This is the version available on Centos/RHEL/Oracle Linux 5.6 2011-06-08 01:25:35 +00:00
Rasmus Lerdorf
438cc7f201 Drop support for autoconf < 2.60 in trunk and the
new PHP_5_4 branch. autoconf >= 2.60 should finally
be working now.
2011-05-15 06:09:21 +00:00
Jani Taskinen
309a56f3f7 - Fixed -g adding for gcc and g++ (former got it twice, latter not at all) 2010-11-02 09:58:08 +00:00
Gwynne Raskind
ea03ad31b7 One change in trying to update Autoconf was missed. This makes phpize work again. 2009-12-02 17:42:58 +00:00
Rasmus Lerdorf
58ae9eeb11 Missed a few - now it really works with autoconf-2.64+ 2009-11-25 01:36:41 +00:00
Jani Taskinen
d0ef930190 MFH:- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4) 2009-06-02 19:54:03 +00:00
Derick Rethans
d29d24427f - MFH: Get rid of the four different versions of zend_extension* and only use
zend_extension. Because of the API identifier change in PHP 5.3 you also get
  a proper warning message now.
#- [DOC]
2009-05-18 21:33:38 +00:00
David Soria Parra
2b830291bb Fix cc detection in phpize according to changes in configure.in 2008-12-03 19:52:59 +00:00
Jani Taskinen
708cb0ec0e MFH:- Applied the missing parts to phpize.m4 for zend extension builds 2008-07-31 00:45:17 +00:00
Jani Taskinen
87acbd2639 MFH:- Detect whether debugging was enabled in PHP and drop optimizing flags if so (merge from configure.in) 2008-07-30 23:56:05 +00:00
Jani Taskinen
2af5002d5b ws 2008-07-30 22:55:08 +00:00
David Soria Parra
e4ad2672b8 MFB: - Fixed the fix for not requiring C++ always 2008-07-27 20:43:40 +00:00
Jani Taskinen
395e75bc5d MFH: Fixed a minor problem in not enabling c++/g++ when not needed. 2008-07-25 12:36:34 +00:00
Jani Taskinen
e602885e54 MFH:- Fixed bug #42292 ($PHP_CONFIG not set for phpized builds) 2007-08-14 08:43:41 +00:00
Jani Taskinen
67940a9c29 MFH:- Fixed bug #42195 (C++ compiler required always) 2007-08-06 14:33:51 +00:00
Antony Dovgal
934b97d611 MFH 2007-07-25 09:41:06 +00:00
Jani Taskinen
6b4b1e7431 MFH: cleanup & sync 2007-07-18 15:04:22 +00:00
foobar
c1c44ddcf3 MFH: - Add missing CXXFLAGS_CLEAN variable. 2007-06-01 15:12:29 +00:00
foobar
276171f871 MFH: - Determine the shared/link lib suffixes in one macro. 2006-04-10 12:16:17 +00:00
Andrei Zmievski
9e5655387a MFH 2006-04-08 17:53:11 +00:00
foobar
7243d31ae0 MFH: - Fixed header installing under phpize builds 2005-11-21 23:08:02 +00:00
foobar
ee5fd96e37 - Made it possible to do "make test" for phpized extensions 2005-08-08 16:06:49 +00:00
foobar
c28f59a1d5 - Proper fix for phpize when dealing with PECL 2005-06-05 12:58:59 +00:00
foobar
b74a5eac59 - Make sure EGREP and SED get set early enough. 2005-05-27 13:15:47 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
foobar
e8895d86b3 Removed unused DEFS subst 2005-03-17 08:16:51 +00:00
foobar
e891278f1d Add missing subst 2005-03-04 14:34:24 +00:00
foobar
2a6da0f24c - Restructured and added a few comments here and there.
- 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)
2005-02-24 18:11:36 +00:00
foobar
76906e0443 - Add --with-libdir to phpized builds too 2005-01-20 00:54:18 +00:00
foobar
7a3d9addb8 - Make sure $host_alias is never empty 2005-01-07 06:12:42 +00:00
foobar
69eec3f3b9 MFB_4_3: Quote macro names in AC_DEFUN() 2004-12-30 07:08:39 +00:00
Sascha Schumann
a283caf392 centralize cflags 2003-09-03 08:08:12 +00:00
Sascha Schumann
7382178f73 enable re2c check for self-contained extensions 2003-09-02 19:42:17 +00:00
Sascha Schumann
64151b3796 provide RE2C to external extensions 2003-09-02 19:34:27 +00:00
foobar
f8202e134d $host_* vars are used in extension config.m4s too. 2003-08-05 11:19:13 +00:00
foobar
e3cd8fac9b - Unified PHP_SETUP_OPENSSL with other PHP_SETUP_* macros. 2003-06-24 14:05:26 +00:00
Sascha Schumann
444d769bd3 MFB move awk detection 2003-05-19 01:44:40 +00:00
foobar
20c43285f7 - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) 2003-01-28 10:59:12 +00:00
Renamed from pear/pear.m4 (Browse further)