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
No known key found for this signature in database
GPG key ID: A94800907AA79B36

View file

@ -89,10 +89,10 @@ if test "$PHP_INTL" != "no"; then
AC_MSG_CHECKING([if intl requires -std=gnu++17]) AC_MSG_CHECKING([if intl requires -std=gnu++17])
AS_IF([$PKG_CONFIG icu-uc --atleast-version=74],[ AS_IF([$PKG_CONFIG icu-uc --atleast-version=74],[
AC_MSG_RESULT([yes]) 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]) 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" PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS"