diff options
author | Anatol Belski <ab@php.net> | 2018-04-05 17:22:44 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-04-05 17:22:44 +0200 |
commit | 9a8e7b571896f39f83cb000fdb7c466b6d328d52 (patch) | |
tree | c8e79082a612e9347dfab6b36ddbcbf61174fcfb /acinclude.m4 | |
parent | 863aeddc35df3a31f71971ba9f260d1b7b5791c8 (diff) | |
download | php-git-9a8e7b571896f39f83cb000fdb7c466b6d328d52.tar.gz |
Use recommended way to handle utf*.h headers and obsolete symbols
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index c4d0f46e4f..9f505a32aa 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2241,6 +2241,10 @@ AC_DEFUN([PHP_SETUP_ICU],[ ICU_CXXFLAGS=`$ICU_CONFIG --cxxflags` if test "$icu_version" -ge "49000"; then ICU_CXXFLAGS="$ICU_CXXFLAGS -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit" + ICU_CFLAGS="-DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1" + fi + if test "$icu_version" -ge "60000"; then + ICU_CFLAGS="$ICU_CFLAGS -DU_HIDE_OBSOLETE_UTF_OLD_H=1" fi fi ]) |