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],[
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
19371936dnl
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