Blame m4/lcmessage.m4

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