summaryrefslogtreecommitdiffstats
path: root/m4/gettext.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-01-24 13:55:20 +0000
committerBruno Haible <bruno@clisp.org>2001-01-24 13:55:20 +0000
commit95f582e3080f2f3e3ede2aeb0d1087e35a3480c1 (patch)
tree384dc579f5c6ebd30af9210969d39e622caded8d /m4/gettext.m4
parent57cab893826cebc65e87be37764615adb06a789c (diff)
downloadexternal_gettext-95f582e3080f2f3e3ede2aeb0d1087e35a3480c1.zip
external_gettext-95f582e3080f2f3e3ede2aeb0d1087e35a3480c1.tar.gz
external_gettext-95f582e3080f2f3e3ede2aeb0d1087e35a3480c1.tar.bz2
Upgrade to autoconf 2.13. Make acconfig.h as small as possible.
Diffstat (limited to 'm4/gettext.m4')
-rw-r--r--m4/gettext.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/m4/gettext.m4 b/m4/gettext.m4
index 64759be..6edd7fa 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -41,7 +41,9 @@ AC_DEFUN(AM_WITH_NLS,
dnl If we use NLS figure out what method
if test "$USE_NLS" = "yes"; then
- AC_DEFINE(ENABLE_NLS)
+ AC_DEFINE(ENABLE_NLS, 1,
+ [Define to 1 if translation of program messages to the user's native language
+ is requested.])
AC_MSG_CHECKING([whether included gettext is requested])
AC_ARG_WITH(included-gettext,
[ --with-included-gettext use the GNU gettext library included here],
@@ -81,7 +83,8 @@ return (int) gettext ("") + _nl_msg_cat_cntr],
if test "$gt_cv_func_gnugettext_libc" = "yes" \
|| test "$gt_cv_func_gnugettext_libintl" = "yes"; then
- AC_DEFINE(HAVE_GETTEXT)
+ AC_DEFINE(HAVE_GETTEXT, 1,
+ [Define if the GNU gettext() function is already present or preinstalled.])
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
if test "$MSGFMT" != "no"; then