Closed
Description
Description
PR #13422 introduced a new test, whether GCC 17 is needed depending on intl version. The test is wrong, it always checks for 17. So the build fails on older platforms like RHEL 7 due to older GCC. Build worked for 8.2.18, fails for 8.2.19.
In configure the line is:
if test "$PKG_CONFIG icu-uc --atleast-version=74"
which always results in taking the "then" branch. The simpler
if $PKG_CONFIG icu-uc --atleast-version=74
does the right thing in my test. Maybe switch
AS_IF([test "$PKG_CONFIG icu-uc --atleast-version=74"],[
to
AS_IF([$PKG_CONFIG icu-uc --atleast-version=74],[
in ext/intl/config.m4 (untested).
PHP Version
PHP 8.2.19
Operating System
RHEL 7 with custom ICU 66.1