Bug 1343744 - Set _INTL_API=no on Android's beta/release build. r?snorp
MozReview-Commit-ID: CbHY4j5wLTW
--- a/old-configure.in
+++ b/old-configure.in
@@ -5307,17 +5307,21 @@ fi
dnl win32 options
AC_SUBST(WIN32_REDIST_DIR)
AC_SUBST(WIN_UCRT_REDIST_DIR)
dnl ========================================================
dnl ICU Support
dnl ========================================================
-_INTL_API=yes
+if test "$MOZ_WIDGET_TOOLKIT" != "android" -o -z "$RELEASE_OR_BETA"; then
+ _INTL_API=yes
+else
+ _INTL_API=no
+fi
if test "$MOZ_WIDGET_TOOLKIT" = "cocoa"; then
USE_ICU=1
fi
MOZ_CONFIG_ICU()
dnl Echo the CFLAGS to remove extra whitespace.