2N/A# lcmessage.m4 serial 7 (gettext-0.18.2)
2N/Adnl Copyright (C) 1995-2002, 2004-2005, 2008-2010 Free Software Foundation,
2N/Adnl Inc.
2N/Adnl This file is free software; the Free Software Foundation
2N/Adnl gives unlimited permission to copy and/or distribute it,
2N/Adnl with or without modifications, as long as this notice is preserved.
2N/Adnl
2N/Adnl This file can can be used in projects which are not available under
2N/Adnl the GNU General Public License or the GNU Library General Public
2N/Adnl License but which still want to provide support for the GNU gettext
2N/Adnl functionality.
2N/Adnl Please note that the actual code of the GNU gettext library is covered
2N/Adnl by the GNU Library General Public License, and the rest of the GNU
2N/Adnl gettext package package is covered by the GNU General Public License.
2N/Adnl They are *not* in the public domain.
2N/A
2N/Adnl Authors:
2N/Adnl Ulrich Drepper <drepper@cygnus.com>, 1995.
2N/A
2N/A# Check whether LC_MESSAGES is available in <locale.h>.
2N/A
2N/AAC_DEFUN([gt_LC_MESSAGES],
2N/A[
2N/A AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES],
2N/A [AC_LINK_IFELSE(
2N/A [AC_LANG_PROGRAM(
2N/A [[#include <locale.h>]],
2N/A [[return LC_MESSAGES]])],
2N/A [gt_cv_val_LC_MESSAGES=yes],
2N/A [gt_cv_val_LC_MESSAGES=no])])
2N/A if test $gt_cv_val_LC_MESSAGES = yes; then
2N/A AC_DEFINE([HAVE_LC_MESSAGES], [1],
2N/A [Define if your <locale.h> file defines LC_MESSAGES.])
2N/A fi
2N/A])