]> git.saurik.com Git - bison.git/blame - m4/lcmessage.m4
* src/lex.c (parse_percent_token): Change type of variable `tx', which
[bison.git] / m4 / lcmessage.m4
CommitLineData
8c44d3ec
AD
1# Check whether LC_MESSAGES is available in <locale.h>.
2# Ulrich Drepper <drepper@cygnus.com>, 1995.
3#
4# This file can be copied and used freely without restrictions. It can
459dd1a6
AD
5# be used in projects which are not available under the GNU General Public
6# License but which still want to provide support for the GNU gettext
7# functionality.
8# Please note that the actual code of GNU gettext is covered by the GNU
9# General Public License and is *not* in the public domain.
8c44d3ec 10
1e24cc5b 11# serial 2
8c44d3ec 12
1e24cc5b 13AC_DEFUN([AM_LC_MESSAGES],
8c44d3ec
AD
14 [if test $ac_cv_header_locale_h = yes; then
15 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
16 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
17 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
18 if test $am_cv_val_LC_MESSAGES = yes; then
19 AC_DEFINE(HAVE_LC_MESSAGES, 1,
1e24cc5b 20 [Define if your <locale.h> file defines LC_MESSAGES.])
8c44d3ec
AD
21 fi
22 fi])