]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Document AM_PO_SUBDIRS.
authorBruno Haible <bruno@clisp.org>
Mon, 5 May 2003 09:07:31 +0000 (09:07 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:26 +0000 (12:10 +0200)
NEWS
gettext-tools/doc/ChangeLog
gettext-tools/doc/gettext.texi

diff --git a/NEWS b/NEWS
index e4ec37b6c9da113f141268395274bfdd9eef8158..8eab66aa6e151c8ef8bbf677cc5f2b20be9a709a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -40,6 +40,9 @@ Version 0.12-pre1 - February 2003
     "xgettext --language=Python" now supports the plural handling functions
     ngettext, dngettext, ungettext (introduced in Python 2.3).
 
+  - A new autoconf macro AM_PO_SUBDIRS is added. It is like AM_GNU_GETTEXT,
+    for packages written in other languages than C/C++.
+
 * A new include file libgettextpo, with public header file "gettext-po.h",
   provides functions for reading PO files into memory. It is useful for
   applying PO files to areas not covered by the GNU gettext programs.
index 83bf0a7a02b66f10806c1b63097fcbd34f05dbe7..de64d8d63899dc6263de9ed424b6fa2218f26362 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-03  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.texi (AM_PO_SUBDIRS): New subsection.
+
 2003-04-25  Bruno Haible  <bruno@clisp.org>
 
        * gettext.texi (Names): New section.
index cc33f67fe5a1dc731e53c7fa18f3cf912aaa58f7..bc384bf5e01fb8a84963e653eeca68fedcc96f4a 100644 (file)
@@ -306,6 +306,7 @@ Autoconf macros for use in @file{configure.in}
 
 * AM_GNU_GETTEXT::              AM_GNU_GETTEXT in @file{gettext.m4}
 * AM_GNU_GETTEXT_VERSION::      AM_GNU_GETTEXT_VERSION in @file{gettext.m4}
+* AM_PO_SUBDIRS::               AM_PO_SUBDIRS in @file{po.m4}
 * AM_ICONV::                    AM_ICONV in @file{iconv.m4}
 
 Integrating with CVS
@@ -6732,6 +6733,7 @@ The primary macro is, of course, @code{AM_GNU_GETTEXT}.
 @menu
 * AM_GNU_GETTEXT::              AM_GNU_GETTEXT in @file{gettext.m4}
 * AM_GNU_GETTEXT_VERSION::      AM_GNU_GETTEXT_VERSION in @file{gettext.m4}
+* AM_PO_SUBDIRS::               AM_PO_SUBDIRS in @file{po.m4}
 * AM_ICONV::                    AM_ICONV in @file{iconv.m4}
 @end menu
 
@@ -6742,7 +6744,8 @@ The primary macro is, of course, @code{AM_GNU_GETTEXT}.
 The @code{AM_GNU_GETTEXT} macro tests for the presence of the GNU gettext
 function family in either the C library or a separate @code{libintl}
 library (shared or static libraries are both supported) or in the package's
-@file{intl/} directory.
+@file{intl/} directory.  It also invokes @code{AM_PO_SUBDIRS}, thus preparing
+the @file{po/} directories of the package for building.
 
 @code{AM_GNU_GETTEXT} accepts up to three optional arguments. The general
 syntax is
@@ -6820,7 +6823,7 @@ linker options needed to use iconv and appends them to the @code{LIBINTL}
 and @code{LTLIBINTL} variables.
 @end itemize
 
-@node AM_GNU_GETTEXT_VERSION, AM_ICONV, AM_GNU_GETTEXT, autoconf macros
+@node AM_GNU_GETTEXT_VERSION, AM_PO_SUBDIRS, AM_GNU_GETTEXT, autoconf macros
 @subsection AM_GNU_GETTEXT_VERSION in @file{gettext.m4}
 
 @amindex AM_GNU_GETTEXT_VERSION
@@ -6830,7 +6833,23 @@ the GNU gettext infrastructure that is used by the package.
 The use of this macro is optional; only the @code{autopoint} program makes
 use of it (@pxref{CVS Issues}).
 
-@node AM_ICONV,  , AM_GNU_GETTEXT_VERSION, autoconf macros
+@node AM_PO_SUBDIRS, AM_ICONV, AM_GNU_GETTEXT_VERSION, autoconf macros
+@subsection AM_PO_SUBDIRS in @file{po.m4}
+
+@amindex AM_PO_SUBDIRS
+The @code{AM_PO_SUBDIRS} macro prepares the @file{po/} directories of the
+package for building.  This macro should be used in internationalized
+programs written in other programming languages than C, C++, Objective C,
+for example @code{sh}, @code{Python}, @code{Lisp}.  See @ref{Programming
+Languages} for a list of programming languages that support localization
+through PO files.
+
+The @code{AM_PO_SUBDIRS} macro determines whether internationalization
+should be used. If so, it sets the @code{USE_NLS} variable to @samp{yes},
+otherwise to @samp{no}. It also determines the right values for Makefile
+variables in each @file{po/} directory.
+
+@node AM_ICONV,  , AM_PO_SUBDIRS, autoconf macros
 @subsection AM_ICONV in @file{iconv.m4}
 
 @amindex AM_ICONV