]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix an autoreconf failure in packages that only need AM_NLS.
authorBruno Haible <bruno@clisp.org>
Tue, 1 Jul 2025 12:27:37 +0000 (14:27 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 1 Jul 2025 13:55:03 +0000 (15:55 +0200)
Rationale: https://lists.gnu.org/archive/html/bug-gettext/2025-06/msg00009.html

* gettext-tools/m4/Makefile.am (aclocaldir, aclocal_DATA): New variables.
* PACKAGING: Update.

PACKAGING
gettext-tools/m4/Makefile.am

index 9055593296632d72e7b0b7e1ad2d6ab8feb59ec4..3418c49cee334e49a1c12b60e8f0b91971b97001 100644 (file)
--- a/PACKAGING
+++ b/PACKAGING
@@ -156,6 +156,7 @@ is according to the following file list.
       $prefix/share/gettext/archive.cvs.tar.*   (only installed if --with-cvs specified)
       $prefix/share/gettext/disclaim-translations.txt
       $prefix/share/gettext-$VERSION/its/*
+      $prefix/share/aclocal/nls.m4
       $prefix/share/emacs/site-lisp/po-compat.el
       $prefix/share/emacs/site-lisp/po-compat.elc
       $prefix/share/emacs/site-lisp/po-mode.el
index ac3daf4ef0d24a475f4f3c4642f327ae856b0c51..ed3c0386d117b022ae7f7e4142781a5b639c0b5a 100644 (file)
@@ -54,7 +54,17 @@ EXTRA_DIST = \
   locale-de.m4
 
 
-# List of all file names that we ever stored in $(aclocaldir).
+# Files installed for use by the old intltool.m4.
+# Listing nls.m4 is OK here, since it has essentially not changed over 20 years
+# and probably won't change in the future either.
+
+aclocaldir = @aclocaldir@
+aclocal_DATA = \
+  ../../gettext-runtime/m4/nls.m4
+
+
+# List of all file names that we ever stored in $(aclocaldir),
+# minus those that we still store in $(aclocaldir).
 OLD_M4_FILES = \
   build-to-host.m4 \
   codeset.m4 \
@@ -82,7 +92,6 @@ OLD_M4_FILES = \
   lock.m4 \
   longdouble.m4 \
   longlong.m4 \
-  nls.m4 \
   po.m4 \
   printf-posix.m4 \
   progtest.m4 \