Bug 1429682 - Remove HAVE_I18N_LC_MESSAGES from old-configure.in. r=froydnj
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Fri, 12 Jan 2018 15:51:57 +0900
changeset 451049 af7bb8f7d477f4e466cb12a17a3b361e0669beab
parent 451048 ca369a31f46c1d1adef0c4ee35e033b34361fe99
child 451050 3d8de88bfdf35d37d6c476af1303f13b97b8b656
push id8543
push userryanvm@gmail.com
push dateTue, 16 Jan 2018 14:33:22 +0000
treeherdermozilla-beta@a6525ed16a32 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1429682, 1356263
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1429682 - Remove HAVE_I18N_LC_MESSAGES from old-configure.in. r=froydnj After landing bug 1356263, no one uses HAVE_I18N_LC_MESSAGES. So it is unnecessary to check LC_MESSAGES. MozReview-Commit-ID: IPgl3rQ2qrd
js/src/old-configure.in
old-configure.in
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -1322,27 +1322,16 @@ AC_LANG_C
 dnl ========================================================
 dnl =  Internationalization checks
 dnl ========================================================
 dnl
 dnl Internationalization and Locale support is different
 dnl on various UNIX platforms.  Checks for specific i18n
 dnl features go here.
 
-dnl check for LC_MESSAGES
-AC_CACHE_CHECK(for LC_MESSAGES,
-		ac_cv_i18n_lc_messages,
-		[AC_TRY_COMPILE([#include <locale.h>],
-				[int category = LC_MESSAGES;],
-				ac_cv_i18n_lc_messages=yes,
-				ac_cv_i18n_lc_messages=no)])
-if test "$ac_cv_i18n_lc_messages" = yes; then
-   AC_DEFINE(HAVE_I18N_LC_MESSAGES)
-fi
-
 AC_HAVE_FUNCS(localeconv)
 fi # ! SKIP_COMPILER_CHECKS
 
 TARGET_XPCOM_ABI=
 if test -n "${CPU_ARCH}" -a -n "${TARGET_COMPILER_ABI}"; then
     TARGET_XPCOM_ABI="${CPU_ARCH}-${TARGET_COMPILER_ABI}"
 fi
 
--- a/old-configure.in
+++ b/old-configure.in
@@ -1723,27 +1723,16 @@ AC_LANG_C
 dnl ========================================================
 dnl =  Internationalization checks
 dnl ========================================================
 dnl
 dnl Internationalization and Locale support is different
 dnl on various UNIX platforms.  Checks for specific i18n
 dnl features go here.
 
-dnl check for LC_MESSAGES
-AC_CACHE_CHECK(for LC_MESSAGES,
-               ac_cv_i18n_lc_messages,
-               [AC_TRY_COMPILE([#include <locale.h>],
-                               [int category = LC_MESSAGES;],
-                               ac_cv_i18n_lc_messages=yes,
-                               ac_cv_i18n_lc_messages=no)])
-if test "$ac_cv_i18n_lc_messages" = yes; then
-   AC_DEFINE(HAVE_I18N_LC_MESSAGES)
-fi
-
 AC_HAVE_FUNCS(localeconv)
 
 fi # ! SKIP_COMPILER_CHECKS
 
 if test -n "${COMPILE_ENVIRONMENT}"; then
   MOZ_CHECK_ALLOCATOR
 fi