+2004-05-16 Bruno Haible <bruno@clisp.org>
+
+ * lcmessage.m4 (gt_LC_MESSAGES): Renamed from AM_LC_MESSAGES.
+ * gettext.m4 (AM_INTL_SUBDIR): Update.
+ Suggested by Alexandre Duret-Lutz.
+
2004-04-19 Bruno Haible <bruno@clisp.org>
* gettext.m4: Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
-# gettext.m4 serial 30 (gettext-0.15)
+# gettext.m4 serial 31 (gettext-0.15)
dnl Copyright (C) 1995-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
AM_ICONV
AM_LANGINFO_CODESET
if test $ac_cv_header_locale_h = yes; then
- AM_LC_MESSAGES
+ gt_LC_MESSAGES
fi
dnl intl/plural.c is generated from intl/plural.y. It requires bison,
-# lcmessage.m4 serial 3 (gettext-0.11.3)
-dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
+# lcmessage.m4 serial 4 (gettext-0.15)
+dnl Copyright (C) 1995-2002, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
# Check whether LC_MESSAGES is available in <locale.h>.
-AC_DEFUN([AM_LC_MESSAGES],
+AC_DEFUN([gt_LC_MESSAGES],
[
- AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
+ AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES,
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
- am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
- if test $am_cv_val_LC_MESSAGES = yes; then
+ gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)])
+ if test $gt_cv_val_LC_MESSAGES = yes; then
AC_DEFINE(HAVE_LC_MESSAGES, 1,
[Define if your <locale.h> file defines LC_MESSAGES.])
fi