On Fri, Oct 18, 2024 at 10:10:03PM +0100, Gavin Smith wrote: > tp/Texinfo/XS/gnulib/m4/gettext.m4 was added in commit 2cd1cfc788d207c, > (Gavin Smith, 2019-03-17), as a result of running gettextize. Some of > the confusion may come from the fact that gettextize places files in > gnulib/m4 even though the files are not coming from gnulib. (Probably > a result of having AC_CONFIG_MACRO_DIR([gnulib/m4]) in configure.ac.)
Indeed, this is very confusing. Also something that probably confused me is that there is no visible gettext.m4 below the main directory, but still gettext.m4 is included in aclocal.m4. Is there a specific reason why AC_CONFIG_MACRO_DIR is gnulib/m4? I have the feeling that it is at least partly wrong, and also that the same setup should be in the main directory configure.ac. Actually, I am also confused by the lack of AC_CONFIG_MACRO_DIR in the main directory, as I do not understand how autoreconf/aclocal can determine that gnulib autoconf macros come from gnulib/m4. > Commit e8e2bdd718899e7c56ab9368 removed this file, and I have readded > the newer version of this file by running "gettextize". Thanks. -- Pat