Skip to content

Commit

Permalink
Bug 1429682 - Remove HAVE_I18N_LC_MESSAGES from old-configure.in. r=f…
Browse files Browse the repository at this point in the history
…roydnj

After landing bug 1356263, no one uses HAVE_I18N_LC_MESSAGES.  So it is
unnecessary to check LC_MESSAGES.

MozReview-Commit-ID: IPgl3rQ2qrd
  • Loading branch information
makotokato committed Jan 12, 2018
1 parent 77c4f9e commit 0e21bc3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
11 changes: 0 additions & 11 deletions js/src/old-configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1327,17 +1327,6 @@ 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

Expand Down
11 changes: 0 additions & 11 deletions old-configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1728,17 +1728,6 @@ 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
Expand Down

0 comments on commit 0e21bc3

Please sign in to comment.