Skip to content

Commit 25b224d

Browse files
committed
Merge branch 'PHP-8.3'
2 parents f88fc9c + d479ac4 commit 25b224d

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
@@ -1819,9 +1819,8 @@ AC_DEFUN([PHP_SETUP_ICU],[
18191819
ICU_CFLAGS="$ICU_CFLAGS -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1"
18201820
ICU_CXXFLAGS="$ICU_CXXFLAGS -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit"
18211821
1822-
if test "$PKG_CONFIG icu-io --atleast-version=60"; then
1823-
ICU_CFLAGS="$ICU_CFLAGS -DU_HIDE_OBSOLETE_UTF_OLD_H=1"
1824-
fi
1822+
AS_IF([$PKG_CONFIG icu-io --atleast-version=60],
1823+
[ICU_CFLAGS="$ICU_CFLAGS -DU_HIDE_OBSOLETE_UTF_OLD_H=1"])
18251824
])
18261825

18271826
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)