1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Autotools: Quote PHP_CXX_COMPILE_STDCXX macro arguments

[skip ci]
This commit is contained in:
Peter Kokot
2024-08-09 10:39:16 +02:00
parent 36f6a20a6b
commit 42c9963133

View File

@@ -89,10 +89,10 @@ if test "$PHP_INTL" != "no"; then
AC_MSG_CHECKING([if intl requires -std=gnu++17])
AS_IF([$PKG_CONFIG icu-uc --atleast-version=74],[
AC_MSG_RESULT([yes])
PHP_CXX_COMPILE_STDCXX(17, mandatory, PHP_INTL_STDCXX)
PHP_CXX_COMPILE_STDCXX([17], [mandatory], [PHP_INTL_STDCXX])
],[
AC_MSG_RESULT([no])
PHP_CXX_COMPILE_STDCXX(11, mandatory, PHP_INTL_STDCXX)
PHP_CXX_COMPILE_STDCXX([11], [mandatory], [PHP_INTL_STDCXX])
])
PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS"