File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff 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
18271826dnl
Original file line number Diff line number Diff 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 ] ,[
You can’t perform that action at this time.
0 commit comments