Skip to content

Commit d479ac4

Browse files
committed
Merge remote-tracking branch 'origin/PHP-8.2' into PHP-8.3
2 parents f365ced + 4e21a26 commit d479ac4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

build/php.m4

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,9 +1929,8 @@ AC_DEFUN([PHP_SETUP_ICU],[
19291929
ICU_CFLAGS="$ICU_CFLAGS -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1"
19301930
ICU_CXXFLAGS="$ICU_CXXFLAGS -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit"
19311931
1932-
if test "$PKG_CONFIG icu-io --atleast-version=60"; then
1933-
ICU_CFLAGS="$ICU_CFLAGS -DU_HIDE_OBSOLETE_UTF_OLD_H=1"
1934-
fi
1932+
AS_IF([$PKG_CONFIG icu-io --atleast-version=60],
1933+
[ICU_CFLAGS="$ICU_CFLAGS -DU_HIDE_OBSOLETE_UTF_OLD_H=1"])
19351934
])
19361935

19371936
dnl

ext/intl/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if test "$PHP_INTL" != "no"; then
8282
PHP_REQUIRE_CXX()
8383

8484
AC_MSG_CHECKING([if intl requires -std=gnu++17])
85-
AS_IF([test "$PKG_CONFIG icu-uc --atleast-version=74"],[
85+
AS_IF([$PKG_CONFIG icu-uc --atleast-version=74],[
8686
AC_MSG_RESULT([yes])
8787
PHP_CXX_COMPILE_STDCXX(17, mandatory, PHP_INTL_STDCXX)
8888
],[

0 commit comments

Comments
 (0)