]> 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:53:37 +0000 (15:53 +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 1ae8fe827b9d0f80ace233dcb337aa369d38d92b..ba4833da8555d4eead54308f5693ff190df3aec8 100644 (file)
--- a/PACKAGING
+++ b/PACKAGING
@@ -181,6 +181,7 @@ 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 ba74da97b00493c3e0e492e3706c7bb661742a47..158c002fe77e084d026a719339631f762b929d79 100644 (file)
@@ -57,7 +57,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 \
@@ -85,7 +95,6 @@ OLD_M4_FILES = \
   lock.m4 \
   longdouble.m4 \
   longlong.m4 \
-  nls.m4 \
   po.m4 \
   printf-posix.m4 \
   progtest.m4 \