bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc: Fix AM_ICONV documented return value.


From: Kevin J. McCarthy
Subject: [PATCH] doc: Fix AM_ICONV documented return value.
Date: Tue, 5 Nov 2024 13:40:57 +0800
User-agent: Mutt/2.2.13+79 (f87ab401) (2024-11-04)

The AM_ICONV macro defines HAVE_ICONV based upon $am_func_iconv, not
$am_cv_func_iconv.

If iconv is found but not "working", $am_cv_func_iconv is set to
"yes", but $am_func_iconv is set to "no" and HAVE_ICONV is not
defined.
---
  gettext-tools/doc/gettext.texi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi
index 7f5f2152c..e7faa996e 100644
--- a/gettext-tools/doc/gettext.texi
+++ b/gettext-tools/doc/gettext.texi
@@ -9360,7 +9360,7 @@ The use of this macro is an alternative to the use of the
  @amindex AM_ICONV
  The @code{AM_ICONV} macro tests for the presence of the POSIX/XSI
  @code{iconv} function family in either the C library or a separate
-@code{libiconv} library.  If found, it sets the @code{am_cv_func_iconv}
+@code{libiconv} library.  If found, it sets the @code{am_func_iconv}
  variable to @samp{yes}; it defines @code{HAVE_ICONV} to 1 in the autoconf
  generated configuration file (usually called @file{config.h}); it defines
  @code{ICONV_CONST} to @samp{const} or to empty, depending on whether the
-- 
2.45.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]