aboutsummaryrefslogtreecommitdiff
path: root/m4/lcmessage.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/lcmessage.m4')
-rw-r--r--m4/lcmessage.m420
1 files changed, 11 insertions, 9 deletions
diff --git a/m4/lcmessage.m4 b/m4/lcmessage.m4
index 19aa77e4..ffd4008b 100644
--- a/m4/lcmessage.m4
+++ b/m4/lcmessage.m4
@@ -1,8 +1,10 @@
1# lcmessage.m4 serial 4 (gettext-0.14.2) 1# lcmessage.m4 serial 3 (gettext-0.11.3)
2dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc. 2dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6dnl 8dnl
7dnl This file can can be used in projects which are not available under 9dnl This file can can be used in projects which are not available under
8dnl the GNU General Public License or the GNU Library General Public 10dnl the GNU General Public License or the GNU Library General Public
@@ -18,12 +20,12 @@ dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
18 20
19# Check whether LC_MESSAGES is available in <locale.h>. 21# Check whether LC_MESSAGES is available in <locale.h>.
20 22
21AC_DEFUN([gt_LC_MESSAGES], 23AC_DEFUN([AM_LC_MESSAGES],
22[ 24[
23 AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES, 25 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
24 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], 26 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
25 gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)]) 27 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
26 if test $gt_cv_val_LC_MESSAGES = yes; then 28 if test $am_cv_val_LC_MESSAGES = yes; then
27 AC_DEFINE(HAVE_LC_MESSAGES, 1, 29 AC_DEFINE(HAVE_LC_MESSAGES, 1,
28 [Define if your <locale.h> file defines LC_MESSAGES.]) 30 [Define if your <locale.h> file defines LC_MESSAGES.])
29 fi 31 fi