summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-05-05 09:10:22 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:26 +0200
commit0f80bc1af6eca7915cbd00ca7f622f8cd6e9e889 (patch)
tree05e9aa9fc38f68286bd7355e0e4bd4363c6a1f97 /gettext-tools
parentca9065ed77e4223a2d5434d369c2c3ed8a1387be (diff)
downloadexternal_gettext-0f80bc1af6eca7915cbd00ca7f622f8cd6e9e889.zip
external_gettext-0f80bc1af6eca7915cbd00ca7f622f8cd6e9e889.tar.gz
external_gettext-0f80bc1af6eca7915cbd00ca7f622f8cd6e9e889.tar.bz2
Distinguish between POSIX and POSIX+XSI.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/doc/ChangeLog5
-rw-r--r--gettext-tools/doc/gettext.texi16
2 files changed, 13 insertions, 8 deletions
diff --git a/gettext-tools/doc/ChangeLog b/gettext-tools/doc/ChangeLog
index de64d8d..ce79183 100644
--- a/gettext-tools/doc/ChangeLog
+++ b/gettext-tools/doc/ChangeLog
@@ -1,5 +1,10 @@
2003-05-03 Bruno Haible <bruno@clisp.org>
+ * gettext.texi: Distinguish between POSIX and POSIX+XSI.
+ Suggested by Paul Eggert.
+
+2003-05-03 Bruno Haible <bruno@clisp.org>
+
* gettext.texi (AM_PO_SUBDIRS): New subsection.
2003-04-25 Bruno Haible <bruno@clisp.org>
diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi
index bc384bf..aed74b1 100644
--- a/gettext-tools/doc/gettext.texi
+++ b/gettext-tools/doc/gettext.texi
@@ -1794,10 +1794,10 @@ code above by a sequence of @code{setlocale} lines
@cindex locale facet, LC_RESPONSES
@noindent
On all POSIX conformant systems the locale categories @code{LC_CTYPE},
-@code{LC_COLLATE}, @code{LC_MONETARY}, @code{LC_NUMERIC}, and
-@code{LC_TIME} are available. On some modern systems there is also a
-locale @code{LC_MESSAGES} which is called on some old, XPG2 compliant
-systems @code{LC_RESPONSES}.
+@code{LC_MESSAGES}, @code{LC_COLLATE}, @code{LC_MONETARY},
+@code{LC_NUMERIC}, and @code{LC_TIME} are available. On some systems
+which are only ISO C compliant, @code{LC_MESSAGES} is missing, but
+a substitute for it is defined in GNU gettext's @code{<libintl.h>}.
Note that changing the @code{LC_CTYPE} also affects the functions
declared in the @code{<ctype.h>} standard header. If this is not
@@ -6818,7 +6818,7 @@ variables. This works on most systems, but not on some operating systems
with limited shared library support, like SCO.
@item
-GNU @code{libintl} relies on POSIX @code{iconv}. The macro checks for
+GNU @code{libintl} relies on POSIX/XSI @code{iconv}. The macro checks for
linker options needed to use iconv and appends them to the @code{LIBINTL}
and @code{LTLIBINTL} variables.
@end itemize
@@ -6853,7 +6853,7 @@ variables in each @file{po/} directory.
@subsection AM_ICONV in @file{iconv.m4}
@amindex AM_ICONV
-The @code{AM_ICONV} macro tests for the presence of the POSIX
+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}
variable to @samp{yes}; it defines @code{HAVE_ICONV} to 1 in the autoconf
@@ -7425,7 +7425,7 @@ Use
@code{xgettext -k_}
@item Formatting with positions
-@code{fprintf "%2$d %1$d"} (POSIX but not C 99)
+@code{fprintf "%2$d %1$d"} (POSIX/XSI but not C 99)
@*In C++: @code{autosprintf "%2$d %1$d"}
(@pxref{Top, , Introduction, autosprintf, GNU autosprintf})
@@ -7686,7 +7686,7 @@ use
@code{clisp-xgettext}
@item Formatting with positions
-@code{fprintf "%2$d %1$d"} (POSIX but not C 99)
+@code{fprintf "%2$d %1$d"} (POSIX/XSI but not C 99)
@item Portability
On platforms without gettext, no translation.