Blame config/lcmessage.m4

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