mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Merge branch 'PHP-8.3'
This commit is contained in:
commit
25b224d111
@ -1819,9 +1819,8 @@ AC_DEFUN([PHP_SETUP_ICU],[
|
||||
ICU_CFLAGS="$ICU_CFLAGS -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1"
|
||||
ICU_CXXFLAGS="$ICU_CXXFLAGS -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit"
|
||||
|
||||
if test "$PKG_CONFIG icu-io --atleast-version=60"; then
|
||||
ICU_CFLAGS="$ICU_CFLAGS -DU_HIDE_OBSOLETE_UTF_OLD_H=1"
|
||||
fi
|
||||
AS_IF([$PKG_CONFIG icu-io --atleast-version=60],
|
||||
[ICU_CFLAGS="$ICU_CFLAGS -DU_HIDE_OBSOLETE_UTF_OLD_H=1"])
|
||||
])
|
||||
|
||||
dnl
|
||||
|
@ -82,7 +82,7 @@ if test "$PHP_INTL" != "no"; then
|
||||
PHP_REQUIRE_CXX()
|
||||
|
||||
AC_MSG_CHECKING([if intl requires -std=gnu++17])
|
||||
AS_IF([test "$PKG_CONFIG icu-uc --atleast-version=74"],[
|
||||
AS_IF([$PKG_CONFIG icu-uc --atleast-version=74],[
|
||||
AC_MSG_RESULT([yes])
|
||||
PHP_CXX_COMPILE_STDCXX(17, mandatory, PHP_INTL_STDCXX)
|
||||
],[
|
||||
|
Loading…
Reference in New Issue
Block a user