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 @@ -1929,9 +1929,8 @@ AC_DEFUN([PHP_SETUP_ICU],[
1929
1929
ICU_CFLAGS="$ICU_CFLAGS -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1"
1930
1930
ICU_CXXFLAGS="$ICU_CXXFLAGS -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit"
1931
1931
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"] )
1935
1934
] )
1936
1935
1937
1936
dnl
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ if test "$PHP_INTL" != "no"; then
82
82
PHP_REQUIRE_CXX()
83
83
84
84
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] ,[
86
86
AC_MSG_RESULT ( [ yes] )
87
87
PHP_CXX_COMPILE_STDCXX(17, mandatory, PHP_INTL_STDCXX)
88
88
] ,[
You can’t perform that action at this time.
0 commit comments