Skip to content

Commit df2e4fd

Browse files
committed
Merge branch 'PHP-7.2'
* PHP-7.2: Rename var
2 parents 50c8d3e + 7768f5e commit df2e4fd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

acinclude.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,9 +2238,9 @@ AC_DEFUN([PHP_SETUP_ICU],[
22382238
PHP_EVAL_INCLINE($ICU_INCS)
22392239
PHP_EVAL_LIBLINE($ICU_LIBS, $1)
22402240
2241-
ICU_EXTRA_FLAGS=`$ICU_CONFIG --cxxflags`
2241+
ICU_CXXFLAGS=`$ICU_CONFIG --cxxflags`
22422242
if test "$icu_version" -ge "49000"; then
2243-
ICU_EXTRA_FLAGS="$ICU_EXTRA_FLAGS -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit"
2243+
ICU_CXXFLAGS="$ICU_CXXFLAGS -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit"
22442244
fi
22452245
fi
22462246
])

ext/intl/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ if test "$PHP_INTL" != "no"; then
8888
breakiterator/rulebasedbreakiterator_methods.cpp \
8989
breakiterator/codepointiterator_internal.cpp \
9090
breakiterator/codepointiterator_methods.cpp"
91-
PHP_INTL_CPP_FLAGS="$ICU_INCS -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 $ICU_EXTRA_FLAGS"
91+
PHP_INTL_CPP_FLAGS="$ICU_INCS -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 $ICU_CXXFLAGS"
9292
if test "$ext_shared" = "no"; then
9393
PHP_ADD_SOURCES(PHP_EXT_DIR(intl), $PHP_INTL_CPP_SOURCES, $PHP_INTL_CPP_FLAGS)
9494
else

0 commit comments

Comments
 (0)