Peter Kokot
3665e90061
Remove unused PHP_COMPILE and CXX_PHP_COMPILE variables ( #12760 )
...
These were part of the old build system and are no longer used.
2023-11-24 01:35:24 +00:00
Peter Kokot
5140889c92
Remove unused build variables ( #12746 )
...
- LFLAGS
- PHP_LIBS
- SHARED_LIBTOOL
- EXT_LIBS
These were part of the build system in the past and are no longer used
in current code.
2023-11-22 19:15:30 +01:00
Peter Kokot
7d52f39954
Remove redundant PHP_SUBST_OLD(INCLUDE_PATH) ( #12738 )
...
The AC_SUBST(INCLUDE_PATH) is enough to only replace the variable in the
build-defs.h.in file.
2023-11-21 02:56:36 +00:00
Peter Kokot
77ea5c5691
Remove obsolescent AC_TYPE_SIZE_T ( #12719 )
...
The macro checks for existence of size_t in <stddef.h> otherwise it sets
it to 'unsigned int'. The size_t is part of C89 standard and all
platforms should have it. Macro is also marked to be made obsolete in
the future versions of Autoconf.
At this point there is still AC_FUNC_ALLOCA in PHP's configure.ac which
uses AC_TYPE_SIZE_T under the hood so the check is still done there in
the meantime.
2023-11-19 06:57:22 +00:00
Peter Kokot
a35a69ff0f
Clean duplicate headers check ( #12710 )
...
- AC_CHECK_HEADERS already includes the header(s) listed in the first
argument, so additional net/if.h is redundant.
- The crypt.h is checked two times and HAVE_CRYPT_H is only needed in
ext/standard.
- Remove duplicate <string.h> in ext/standard
- Remove duplicate <string.h> in getaddrinfo check in configure.ac
2023-11-18 04:20:36 +00:00
Peter Kokot
a6d5f3461b
Remove obsolete DG/UX check ( #12713 )
...
DG/UX is a discontinued Unix OS, the support for which ended in 2001.
2023-11-18 04:18:26 +00:00
David CARLIER
931a8b0739
inet_ntop requirement check at configure time instead ( #12700 )
2023-11-17 16:01:46 +00:00
Ilija Tovilo
a785b2fac0
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Disable -fsanitize=function on Clang 17
2023-11-11 21:11:08 +01:00
Ilija Tovilo
d5a25d51fc
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Disable -fsanitize=function on Clang 17
2023-11-11 21:11:02 +01:00
Ilija Tovilo
ca22505c8c
Disable -fsanitize=function on Clang 17
...
Closes GH-12642
2023-11-11 21:09:45 +01:00
Sergey Panteleev
239a26fa90
PHP-8.2 is now for PHP 8.2.14-dev
2023-11-07 17:12:19 +03:00
David Carlier
44f9c226aa
following-up on GH-12551: removing inet_ntoa usage
...
Close GH-12554
2023-11-06 12:05:56 +00:00
Peter Kokot
7d485aa628
ext/sockets: Clean header checks ( #12607 )
...
- Unused header checks removed:
HAVE_NETINET_TCP_H and HAVE_SYS_UN_H are not used in the code.
- Duplicate linux/filter.h check removed:
HAVE_LINUX_FILTER_H is already defined in ext/sockets.
2023-11-04 15:12:16 +00:00
Ilija Tovilo
2efe366af6
Add zend_worklist.h to PHP_INSTALL_HEADERS ( #12571 )
...
Fixes GH-12565
2023-10-30 19:37:27 +01:00
Pierrick Charron
2642a08697
PHP-8.2 is now for PHP 8.2.13-dev
2023-10-10 11:45:26 -04:00
Ilija Tovilo
62e2402534
Use autoconf for recognizing __builtin_unreachable() ( #12266 )
...
Older versions of GCC don't support __has_builtin(), but do support
__builtin_unreachable().
2023-09-22 11:53:09 +02:00
Sergey Panteleev
5c1f746716
PHP-8.2 is now for PHP 8.2.12-dev
2023-09-12 14:53:56 +03:00
Jakub Zelenka
7deb84b7a6
Start PHP 8.4 development cycle
2023-08-29 17:19:01 +01:00
Peter Kokot
1413787884
Merge branch 'PHP-8.2'
...
* PHP-8.2:
On riscv64 require libatomic if actually needed
2023-08-28 19:48:49 +02:00
Peter Kokot
a1043fe051
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
On riscv64 require libatomic if actually needed
2023-08-28 19:47:44 +02:00
Jeremie Courreges-Anglas
bf3fb4e5c9
On riscv64 require libatomic if actually needed
...
clang and newer gcc releases support byte-sized atomic accesses on
riscv64 through inline builtins. In both cases the hard dependency on
libatomic added by GH-11321 isn't useful.
Stop using AC_CHECK_LIB() which is too naive to notice that libatomic
isn't needed. Instead, PHP_CHECK_FUNC() will retry the check with -latomic
if required.
Closes GH-11790
2023-08-28 19:47:19 +02:00
Pierrick Charron
4467f33e89
PHP-8.2 is now for PHP 8.2.11-dev
2023-08-15 16:08:52 -04:00
Patrick Allaert
6e3f93f2f8
PHP-8.1 is now for PHP 8.1.24-dev
2023-08-15 21:09:58 +02:00
David CARLIER
3e315df6f8
Merge branch 'PHP-8.2'
2023-08-07 19:02:55 +01:00
David CARLIER
e9e5b4c1c8
Merge branch 'PHP-8.1' into PHP-8.2
2023-08-07 19:02:44 +01:00
Kévin Dunglas
96885bc04f
fix: handle the GNU specific version of strerror_r
...
Close GH-11882
2023-08-07 19:01:24 +01:00
Peter Kokot
37d35f5ed8
Move --enable/--disable-fiber-asm help output ( #11827 )
...
This moves the fiber configure option in the Zend section. TSRM doesn't
currently have any specific configure options so it can be removed from
the ./configure --help output.
2023-07-31 15:29:14 +01:00
Peter Kokot
b132b7ab7e
Remove check for time.h and HAVE_TIME_H ( #11726 )
...
The `<time.h>` header file is part of the standard C89 headers [1] and
on current systems can be included unconditionally.
The conditional include based on Windows is there so the win32/time.h
can be included on other places when needed.
Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
2023-07-20 09:38:53 +02:00
Athos Ribeiro
d35df89c35
Fix #79026 : Allow PHP_EXTRA_VERSION overrides
...
When building from sources, someone distributing PHP may want to add a
vendor specific string to the PHP_VERSION so users can differentiate
multiple vendor builds from the same PHP version. For instance, a vendor
backporting a bug fix to a no-longer-supported PHP version could extend
their PHP_EXTRA_VERSION to allow their users to identify that they carry
such fix by checking their PHP_VERSION.
Closes GH-11706
2023-07-19 12:14:42 +02:00
Ben Ramsey
6e3c520f51
PHP-8.1 is now for PHP-8.1.23-dev
2023-07-18 16:30:49 -05:00
Sergey Panteleev
796a75f967
PHP-8.2 is now for PHP 8.2.10-dev
2023-07-18 14:02:43 +03:00
Arnaud Le Blanc
d0731934b7
Expose time spent collecting cycles in gc_status() ( #11523 )
2023-07-16 12:34:28 +02:00
Ben Ramsey
097b08cbbe
Merge branch 'PHP-8.1' into PHP-8.2
2023-07-10 09:26:17 -05:00
Peter Kokot
41a3573fcc
Fix GH-9483: Autoconf warnings for newer Autoconf versions
...
Co-authored-by: Levi Morrison <morrison.levi@gmail.com>
2023-07-10 09:25:58 -05:00
Peter Kokot
cf587c1a1b
Fix GH-11603: Set LDFLAGS ( #11605 )
...
The two unsets before the last `unset LIBS LDFLAGS` are not necessary so
LDFLAGS can be adjusted via command line:
LDFLAGS="..." ./configure
Co-authored-by: Max Kellermann <max.kellermann@ionos.com>
2023-07-07 03:30:56 +01:00
Sergey Panteleev
884a53f39a
PHP-8.2 is now for PHP 8.2.9-dev
2023-06-20 17:25:30 +03:00
Patrick Allaert
6c4b1e0417
PHP-8.1 is now for PHP 8.1.22-dev
2023-06-20 16:07:05 +02:00
David Carlier
2e4369a171
Merge branch 'PHP-8.2'
2023-05-27 16:38:46 +01:00
David Carlier
350e449bd8
Merge branch 'PHP-8.1' into PHP-8.2
2023-05-27 16:37:48 +01:00
Daniil Gentili
1dfa277a96
Fix GCC 12 compilation on riscv64
...
Close GH-11321
2023-05-27 16:37:19 +01:00
Ben Ramsey
2f2fd06be0
PHP-8.1 is now for PHP 8.1.21-dev
2023-05-23 16:19:16 -05:00
Pierrick Charron
d5f68b50fc
PHP-8.2 is now for PHP 8.2.8-dev
2023-05-23 16:56:58 -04:00
Sergey Panteleev
8318f4a6b1
PHP-8.2 is now for PHP 8.2.7-dev
2023-04-25 18:33:13 +03:00
Patrick Allaert
725f136f9a
PHP-8.1 is now for PHP 8.1.20-dev
2023-04-25 16:18:30 +02:00
Dmitry Stogov
c9d728cbd6
Revert "Zend/zend_types.h: move zend_rc_debug
to zend_rc_debug.h
"
...
This reverts commit d6e95041e2
.
2023-04-04 22:48:26 +03:00
Ben Ramsey
d9df750b22
PHP-8.1 is now for PHP 8.1.19-dev
2023-03-29 19:51:20 -05:00
Pierrick Charron
f7c692a940
PHP-8.2 is now for PHP 8.2.6-dev
2023-03-28 17:27:17 -04:00
Ilija Tovilo
5eb6905405
Disable --with-valgrind by default ( #10934 )
...
Same reasoning as GH-10876
2023-03-25 18:10:14 +01:00
Arnaud Le Blanc
0c7fc351ea
Merge branch 'PHP-8.2'
...
* PHP-8.2:
[ci skip] NEWS
[ci skip] NEWS
fix: support for timeouts with ZTS on Linux (#10141 )
2023-03-03 11:56:34 +01:00
Arnaud Le Blanc
37030257b8
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[ci skip] NEWS
fix: support for timeouts with ZTS on Linux (#10141 )
2023-03-03 11:45:50 +01:00