1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Commit Graph

38 Commits

Author SHA1 Message Date
Peter Kokot 4371945b8b 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
2018-07-30 02:36:38 +02:00
Peter Kokot ab702e4fde Trim trailing whitespaces in build files
Some editors utilizing .editorconfig automatically trim whitespaces. For
convenience this patch removes whitespaces in certain build files in
Zend and TSRM folders.
2018-07-29 15:46:43 +02:00
Peter Kokot 8d3f8ca12a 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.
2018-07-25 00:53:25 +02:00
Remi Collet 4c6ea7d464 Minor fix macro value
[] results in /**/ which can break some test
e.g. https://github.com/m6w6/ext-http/commit/d9ba7726f77858e626d67d758a87c9caa6f38d2b
2016-12-12 16:27:37 +01:00
krakjoe 854ccf50c9 remove 3.0 from excluded versions because limitation lifted by native-tls 2014-12-22 21:32:14 +00:00
Xinchen Hui be581ec66d Exclude bison 3.0 by Mike 2013-09-17 16:54:27 +08:00
Michael Wallner 742a0106fe use $YACC instead of 'bison' as suggested by Yasuo 2013-08-09 08:32:39 +02:00
Michael Wallner 1e30987a53 improve comments and messages as suggested 2013-08-09 08:31:40 +02:00
Michael Wallner 3903c182da add excluded version exmaple 2013-08-08 21:45:08 +02:00
Michael Wallner 3e41201a6f make the bison version check a blacklist
Let the bison version be checked by a blacklist (where no version
is blacklisted yet) and require at least bison 2.4
2013-08-08 14:27:32 +02:00
Sebastian Bergmann 9f5fc5c0ee Sync list of supported bison version with PHP-5.5 2013-07-03 06:52:44 +02:00
Derick Rethans 7aed21c557 SUpport newer bisons. 2012-10-18 17:53:21 +01:00
Felipe Pena 1a615eeaa2 - Added Bison 2.5 to bison_version_list 2011-06-12 17:26:45 +00:00
Felipe Pena f7582fc43b - Added bison 2.4.3 version to the bison version list 2010-10-07 21:44:41 +00:00
Pierre Joye 0871df60a3 - update bison version (mike) 2010-05-03 09:05:30 +00:00
Rasmus Lerdorf 70ecb3074a 2.4.1 is safe 2009-02-14 21:08:02 +00:00
Christian Seiler cb98d43a6a - MFH: Fixed autoconf 2.13 issues with FP checks. 2008-12-02 21:06:50 +00:00
Christian Seiler 04c528609a - MFH: Changed floating point behaviour to consistently use double precision
on all platforms and with all compilers.
2008-12-02 16:19:10 +00:00
Derick Rethans cb448dca05 - Make it work with bison 2.4. 2008-11-10 12:05:28 +00:00
Derick Rethans 2e55464f80 - There is a 2.3 now as well. 2006-08-04 06:48:20 +00:00
Sebastian Bergmann 3e7df40852 MFH: Add bison 2.2 to the list of supported versions. 2006-05-23 11:11:16 +00:00
Sebastian Bergmann 02eb02d1ce MFH: Allow bison 2.1. 2005-11-01 10:31:56 +00:00
foobar dc929d011c MFH 2005-09-14 15:53:02 +00:00
foobar fb95a19824 fix standalone build 2005-06-14 11:41:48 +00:00
foobar 8e2efc351b - Show "none" when nothing is found 2005-06-07 16:47:33 +00:00
Hartmut Holzgraefe d1f653bd08 forgot to re-add 1.875 as a valid bison version after testing 2005-05-29 18:56:18 +00:00
Hartmut Holzgraefe fce59d9dae bison may be installed under a different executable name, e.g.
YACC="bison-1.75" configure ...

removing the check for "bison -y" allows for this
the check was redundant anyway as the following one filters
for "GNU Bison" in the --version output
2005-05-29 18:50:03 +00:00
Hartmut Holzgraefe af14bbe455 avoid code duplication in bison version test 2005-05-29 18:04:35 +00:00
foobar 4589cef5e1 - Added AC_ZEND_C_BIGENDIAN macro (as requested by Andi) 2005-01-10 01:33:29 +00:00
foobar 69eec3f3b9 MFB_4_3: Quote macro names in AC_DEFUN() 2004-12-30 07:08:39 +00:00
Sascha Schumann 15925864b2 fp_except check for FreeBSD 1.0-2.2.5 2000-06-18 16:51:42 +00:00
Sascha Schumann 800ffda01c Some cleanup 2000-01-01 20:49:34 +00:00
Sascha Schumann 14f915ece6 Makefile.am: Add dummy target for dependencies
acinclude.m4: Cache result of broken sprintf check
1999-12-26 21:45:53 +00:00
Sascha Schumann bf1effa4bc Variables are not interpolated unless we use _UNQUOTED 1999-12-19 00:10:08 +00:00
Sascha Schumann 91549cfa4f Move config code into separate file 1999-12-17 13:36:15 +00:00
Sascha Schumann 8ae3f4b027 Use libtool to build. 1999-10-04 15:20:12 +00:00
Stig S. Bakken 009025e00d * header file cleanup
* fixed --enable-thread-safety build for UNIX

I don't have a Win32 environment available, could someone please try
compiling on Win32 to see if I got all the header file stuff right there?
1999-09-06 16:14:08 +00:00
Stig S. Bakken b227e385cc convert to automake 1999-04-19 20:10:26 +00:00