summaryrefslogtreecommitdiff
path: root/m4/lcmessage.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-29 05:05:56 +0000
committerJim Meyering <jim@meyering.net>1999-01-29 05:05:56 +0000
commit56fee444e249781b36def6ed980dff82faae22ad (patch)
tree0d670c0f8420d0ee83970d476088ba221866855c /m4/lcmessage.m4
parentcef9c0a44a19a86489950bf08dd41982a3c1d9fa (diff)
downloadcoreutils-56fee444e249781b36def6ed980dff82faae22ad.tar.xz
Use the 3-argument forms of AC_DEFINE* macros.
Diffstat (limited to 'm4/lcmessage.m4')
-rw-r--r--m4/lcmessage.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/lcmessage.m4 b/m4/lcmessage.m4
index e31bb5334..4f9edcbb1 100644
--- a/m4/lcmessage.m4
+++ b/m4/lcmessage.m4
@@ -6,7 +6,7 @@
# but which still want to provide support for the GNU gettext functionality.
# Please note that the actual code is *not* freely available.
-# serial 1
+# serial 2
AC_DEFUN(AM_LC_MESSAGES,
[if test $ac_cv_header_locale_h = yes; then
@@ -14,6 +14,7 @@ AC_DEFUN(AM_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
- AC_DEFINE(HAVE_LC_MESSAGES)
+ AC_DEFINE(HAVE_LC_MESSAGES, 1,
+ [Define if your locale.h file contains LC_MESSAGES.])
fi
fi])