[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Tue, 6 Aug 2024 17:16:07 -0400 (EDT) |
branch: master
commit a7ee94005cbd0469fb2a16fb300195ba664dd904
Author: Bruno Haible <bruno@clisp.org>
AuthorDate: Tue Aug 6 20:44:42 2024 +0100
build: Prepare for use of autopoint.
* configure.ac: Add comments about use of autopoint.
* tp/Texinfo/XS/configure.ac: Specify the same GNU gettext
version as the top-level configure.ac. Add comments about use
of autopoint.
---
ChangeLog | 9 +++++++++
configure.ac | 6 +++++-
tp/Texinfo/XS/configure.ac | 10 ++++++++++
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 86947ca2f6..0f5fedf0e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-08-06 Bruno Haible <bruno@clisp.org>
+
+ build: Prepare for use of autopoint.
+
+ * configure.ac: Add comments about use of autopoint.
+ * tp/Texinfo/XS/configure.ac: Specify the same GNU gettext
+ version as the top-level configure.ac. Add comments about use
+ of autopoint.
+
2024-08-06 Gavin Smith <gavinsmith0123@gmail.com>
* Pod-Simple-Texinfo/Makefile.am (pod2texi):
diff --git a/configure.ac b/configure.ac
index 1543971d2b..21bb4cd96d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -384,8 +384,12 @@ AC_ARG_WITH([external-Text-Unidecode],
AC_SUBST([USE_UNICODE])
AC_SUBST([USE_EXTERNAL_UNIDECODE])
-# i18n support. To update to a new version of gettext, run:
+# i18n support. To upgrade to a new version of gettext, run:
# gettextize -f --po-dir=po --po-dir=po_document
+# To fetch the *.m4 files without upgrading, run:
+# autopoint -f
+# and revert the changes of gnulib/m4/*.m4 files that downgrade from a newer
+# serial number (from gnulib) to an older serial number (from gettext).
# See http://gnu.org/s/gnulib/manual/html_node/gettextize-and-autopoint.html.
AM_GNU_GETTEXT_VERSION([0.21])
AM_GNU_GETTEXT([external])
diff --git a/tp/Texinfo/XS/configure.ac b/tp/Texinfo/XS/configure.ac
index f9fffdc463..480d514243 100644
--- a/tp/Texinfo/XS/configure.ac
+++ b/tp/Texinfo/XS/configure.ac
@@ -133,7 +133,17 @@ AC_PROG_CC
gl_EARLY
+# i18n support. Use the same GNU gettext version as the main configure.ac
file.
+# To upgrade to a new version of gettext, run:
+# gettextize -f --po-dir=../../../po --no-changelog
+# To fetch the *.m4 files without upgrading, run:
+# autopoint -f; rm -rf po
+# and revert the changes of gnulib/m4/*.m4 files that downgrade from a newer
+# serial number (from gnulib) to an older serial number (from gettext).
+# See http://gnu.org/s/gnulib/manual/html_node/gettextize-and-autopoint.html.
+AM_GNU_GETTEXT_VERSION([0.21])
AM_GNU_GETTEXT([external])
+
AM_MISSING_PROG([XSUBPP], [xsubpp])
AM_MISSING_PROG([GAWK], [gawk])