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