Rename emacs-module.h.in -> emacs-module.in.h

* src/emacs-module.h.in: Rename...
* src/emacs-module.in.h: ...to this, for consistency with all other
lib/*.in.h files (bug#80428).
* Makefile.in (CONFIG_STATUS_FILES_IN):
* admin/release-branch.txt:
* src/emacs-module.c: All uses updated.
* admin/authors.el (authors-renamed-files-alist): Register rename.
* configure.ac: Specify non-default AC_CONFIG_FILES input file.
This commit is contained in:
Basil L. Contovounesios
2026-02-18 16:48:06 +01:00
parent 14c0e69c1d
commit 7077633e67
6 changed files with 6 additions and 4 deletions

View File

@@ -342,7 +342,7 @@ SUBDIR_MAKEFILES = $(patsubst ${srcdir}/%,%,${SUBDIR_MAKEFILES_IN:.in=})
# Non-makefile files created by config.status.
CONFIG_STATUS_FILES_IN = \
${srcdir}/nt/emacs.rc.in ${srcdir}/nt/emacsclient.rc.in \
${srcdir}/doc/man/emacs.1.in ${srcdir}/src/emacs-module.h.in \
${srcdir}/doc/man/emacs.1.in ${srcdir}/src/emacs-module.in.h \
${srcdir}/src/module-env-*.h
# Subdirectories to install, and where they'll go. lib-src's and nt's

View File

@@ -1505,6 +1505,8 @@ in the repository.")
;; module.* moved to emacs-module.*
("src/module.h" . "emacs-module.h")
("src/module.c" . "emacs-module.c")
;; Renamed from .h.in to .in.h.
("src/emacs-module.h.in" . "emacs-module.in.h")
("test/src/regex-tests.el" . "regex-emacs-tests.el")
("test/lisp/emacs-lisp/cl-tests.el" . "cl-tests.el")
("url-ns.el" . "url-ns.el")

View File

@@ -60,7 +60,7 @@ Instructions for cutting the Emacs release branch
AC_SUBST_FILE([module_env_snippet_XY+1])
module_env_snippet_XY+1="$srcdir/src/module-env-XY+1.h"
. adding a new 'struct emacs_env_XY+1' to src/emacs-module.h.in,
. adding a new 'struct emacs_env_XY+1' to src/emacs-module.in.h,
with the contents identical to 'struct emacs_env_XY', with one
line added:

View File

@@ -5092,7 +5092,7 @@ AC_SUBST([HAVE_MODULES])
AC_SUBST([MODULES_SUFFIX])
AC_SUBST([MODULES_SECONDARY_SUFFIX])
ARCH_INDEPENDENT_CONFIG_FILES([src/emacs-module.h])
ARCH_INDEPENDENT_CONFIG_FILES([src/emacs-module.h:src/emacs-module.in.h])
AC_SUBST_FILE([module_env_snippet_25])
AC_SUBST_FILE([module_env_snippet_26])
AC_SUBST_FILE([module_env_snippet_27])

View File

@@ -19,7 +19,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
/*
The public module API is defined in the header emacs-module.h. The
configure script generates emacs-module.h from emacs-module.h.in and
configure script generates emacs-module.h from emacs-module.in.h and
the version-specific environment fragments in module-env-*.h.
If you want to change the module API, please abide to the following