diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-12-15 20:51:47 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-12-15 20:51:47 +0000 |
commit | 6fff4bcdcf97412a6d1422991ea9fe5e8a203e75 (patch) | |
tree | 6494851815282f4b27829a7f10b8ca522aa7668e /m4/lcmessage.m4 | |
parent | 82d1989d3245791c9fac22ca848f5497f261c10b (diff) | |
download | monitoring-plugins-6fff4bcdcf97412a6d1422991ea9fe5e8a203e75.tar.gz |
Moving m4 files from lib/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1028 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'm4/lcmessage.m4')
-rw-r--r-- | m4/lcmessage.m4 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/m4/lcmessage.m4 b/m4/lcmessage.m4 new file mode 100644 index 00000000..ffd4008b --- /dev/null +++ b/m4/lcmessage.m4 | |||
@@ -0,0 +1,32 @@ | |||
1 | # lcmessage.m4 serial 3 (gettext-0.11.3) | ||
2 | dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. | ||
3 | dnl This file is free software, distributed under the terms of the GNU | ||
4 | dnl General Public License. As a special exception to the GNU General | ||
5 | dnl Public License, this file may be distributed as part of a program | ||
6 | dnl that contains a configuration script generated by Autoconf, under | ||
7 | dnl the same distribution terms as the rest of that program. | ||
8 | dnl | ||
9 | dnl This file can can be used in projects which are not available under | ||
10 | dnl the GNU General Public License or the GNU Library General Public | ||
11 | dnl License but which still want to provide support for the GNU gettext | ||
12 | dnl functionality. | ||
13 | dnl Please note that the actual code of the GNU gettext library is covered | ||
14 | dnl by the GNU Library General Public License, and the rest of the GNU | ||
15 | dnl gettext package package is covered by the GNU General Public License. | ||
16 | dnl They are *not* in the public domain. | ||
17 | |||
18 | dnl Authors: | ||
19 | dnl Ulrich Drepper <drepper@cygnus.com>, 1995. | ||
20 | |||
21 | # Check whether LC_MESSAGES is available in <locale.h>. | ||
22 | |||
23 | AC_DEFUN([AM_LC_MESSAGES], | ||
24 | [ | ||
25 | AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, | ||
26 | [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], | ||
27 | am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) | ||
28 | if test $am_cv_val_LC_MESSAGES = yes; then | ||
29 | AC_DEFINE(HAVE_LC_MESSAGES, 1, | ||
30 | [Define if your <locale.h> file defines LC_MESSAGES.]) | ||
31 | fi | ||
32 | ]) | ||