Bug 724533 - Enable use of ICU headers. r=glandium

--HG--
extra : rebase_source : fc21b6ca249d7184918e59f84983d29f405ededa
This commit is contained in:
Norbert Lindenberg 2013-03-12 13:37:44 -07:00
parent 1ef10ebb37
commit 833d9f681d
2 changed files with 17 additions and 0 deletions

View File

@ -585,6 +585,14 @@ distclean clean::
endif
endif
# ICU headers need to be available whether we build with the complete
# Internationalization API or not - ICU stubs rely on them.
LOCAL_INCLUDES += \
-I$(topsrcdir)/../../intl/icu/source/common \
-I$(topsrcdir)/../../intl/icu/source/i18n \
$(NULL)
# The "find any vanilla new/new[] calls" script is tailored to Linux, so
# only run it there. That should be enough to catch any such calls that
# creep in.

View File

@ -4322,6 +4322,15 @@ if test "$ACCESSIBILITY" -a "$MOZ_ENABLE_GTK2" ; then
AC_DEFINE_UNQUOTED(ATK_REV_VERSION, $ATK_REV_VERSION)
fi
dnl ECMAScript Internationalization API Support (uses ICU)
dnl ========================================================
dnl Source files that use ICU should have control over which parts of the ICU
dnl namespace they want to use.
AC_DEFINE(U_USING_ICU_NAMESPACE,0)
dnl ========================================================
dnl JavaScript shell
dnl ========================================================