mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix erroneous dnl appended in configure (#14013)
This is a backport of commit 03f15534a1
to
PHP-8.2 due to GH-14002 and fixes the PHP_CXX_COMPILE_STDCXX check in
ext/intl whether the specified C++ standard is mandatory or optional.
The `dnl` (Discard to Next Line) M4 macro in this combination of `m4_if`
macros and arguments isn't properly replaced and a literal `dnl` string
is appended in the configure script. The `[]dnl` works ok.
This commit is contained in:
parent
891e4a5a34
commit
7d3d8de1f3
2 changed files with 3 additions and 2 deletions
1
NEWS
1
NEWS
|
@ -11,6 +11,7 @@ PHP NEWS
|
||||||
other timeout implementations). (Kévin Dunglas)
|
other timeout implementations). (Kévin Dunglas)
|
||||||
. Fixed bug GH-14003 (Broken cleanup of unfinished calls with callable convert
|
. Fixed bug GH-14003 (Broken cleanup of unfinished calls with callable convert
|
||||||
parameters). (ilutov)
|
parameters). (ilutov)
|
||||||
|
. Fixed bug GH-14013 (Erroneous dnl appended in configure). (Peter Kokot)
|
||||||
|
|
||||||
- Fibers:
|
- Fibers:
|
||||||
. Fixed bug GH-13903 (ASAN false positive underflow when executing copy()).
|
. Fixed bug GH-13903 (ASAN false positive underflow when executing copy()).
|
||||||
|
|
|
@ -27,11 +27,11 @@ AC_DEFUN([PHP_CXX_COMPILE_STDCXX], [dnl
|
||||||
[$1], [14], [ax_cxx_compile_alternatives="14 1y"],
|
[$1], [14], [ax_cxx_compile_alternatives="14 1y"],
|
||||||
[$1], [17], [ax_cxx_compile_alternatives="17 1z"],
|
[$1], [17], [ax_cxx_compile_alternatives="17 1z"],
|
||||||
[$1], [20], [ax_cxx_compile_alternatives="20"],
|
[$1], [20], [ax_cxx_compile_alternatives="20"],
|
||||||
[m4_fatal([invalid first argument `$1' to PHP_CXX_COMPILE_STDCXX])])dnl
|
[m4_fatal([invalid first argument `$1' to PHP_CXX_COMPILE_STDCXX])])[]dnl
|
||||||
m4_if([$2], [], [ax_cxx_compile_cxx$1_required=true],
|
m4_if([$2], [], [ax_cxx_compile_cxx$1_required=true],
|
||||||
[$2], [mandatory], [ax_cxx_compile_cxx$1_required=true],
|
[$2], [mandatory], [ax_cxx_compile_cxx$1_required=true],
|
||||||
[$2], [optional], [ax_cxx_compile_cxx$1_required=false],
|
[$2], [optional], [ax_cxx_compile_cxx$1_required=false],
|
||||||
[m4_fatal([invalid third argument `$2' to PHP_CXX_COMPILE_STDCXX])])dnl
|
[m4_fatal([invalid third argument `$2' to PHP_CXX_COMPILE_STDCXX])])[]dnl
|
||||||
AC_LANG_PUSH([C++])dnl
|
AC_LANG_PUSH([C++])dnl
|
||||||
ac_success=no
|
ac_success=no
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue