Set U_USING_ICU_NAMESPACE to 0 for compatibility with ICU >= 61

This commit is contained in:
Andrzej Rybczak
2018-04-09 11:57:54 +02:00
parent e3e35dcbdd
commit 1347b063c0

View File

@@ -105,7 +105,7 @@ PKG_CHECK_MODULES([ICU], [icu-i18n icu-uc], [
old_LIBS="$LIBS"
AC_SUBST(ICU_CFLAGS)
AC_SUBST(ICU_LIBS)
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS -DU_USING_ICU_NAMESPACE=0"
LIBS="$LIBS $ICU_LIBS"
AC_MSG_CHECKING([whether boost.regex was compiled with ICU support])
AC_LINK_IFELSE([AC_LANG_PROGRAM([