Blame m4/lcmessage.m4

Packit 032894
# lcmessage.m4 serial 2 (gettext-0.10.40)
Packit 032894
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
Packit 032894
dnl This file is free software, distributed under the terms of the GNU
Packit 032894
dnl General Public License.  As a special exception to the GNU General
Packit 032894
dnl Public License, this file may be distributed as part of a program
Packit 032894
dnl that contains a configuration script generated by Autoconf, under
Packit 032894
dnl the same distribution terms as the rest of that program.
Packit 032894
dnl
Packit 032894
dnl This file can can be used in projects which are not available under
Packit 032894
dnl the GNU General Public License or the GNU Library General Public
Packit 032894
dnl License but which still want to provide support for the GNU gettext
Packit 032894
dnl functionality.
Packit 032894
dnl Please note that the actual code of the GNU gettext library is covered
Packit 032894
dnl by the GNU Library General Public License, and the rest of the GNU
Packit 032894
dnl gettext package package is covered by the GNU General Public License.
Packit 032894
dnl They are *not* in the public domain.
Packit 032894
Packit 032894
dnl Authors:
Packit 032894
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995.
Packit 032894
Packit 032894
# Check whether LC_MESSAGES is available in <locale.h>.
Packit 032894
Packit 032894
AC_DEFUN([AM_LC_MESSAGES],
Packit 032894
  [if test $ac_cv_header_locale_h = yes; then
Packit 032894
    AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
Packit 032894
      [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
Packit 032894
       am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
Packit 032894
    if test $am_cv_val_LC_MESSAGES = yes; then
Packit 032894
      AC_DEFINE(HAVE_LC_MESSAGES, 1,
Packit 032894
        [Define if your <locale.h> file defines LC_MESSAGES.])
Packit 032894
    fi
Packit 032894
  fi])