]> git.ipfire.org Git - thirdparty/automake.git/commit
aclocal: add --aclocal-path option to override ACLOCAL_PATH envvar.
authorMike Frysinger <vapier@gentoo.org>
Tue, 18 Jun 2024 17:32:09 +0000 (10:32 -0700)
committerKarl Berry <karl@freefriends.org>
Tue, 18 Jun 2024 17:32:09 +0000 (10:32 -0700)
commiteb20585d0221a7739b2ab957c5ba4fbac62888e1
treecd1187fab813ad89cc2f1a49c028c6d08197129d
parentfbf571f34e65bf3de4461410965e83a387f75c68
aclocal: add --aclocal-path option to override ACLOCAL_PATH envvar.

From https://lists.gnu.org/archive/html/automake-patches/2022-01/msg00029.html
(plus wording tweaks from Karl; and thanks to Bogdan for research).

* bin/aclocal.in (usage): relabel output of m4 search path
components to be somewhat more correct (Karl), although it's still
a mess.
(parse_arguments): add new option --aclocal-path=s.
(parse_ACLOCAL_PATH): use $aclocal_path instead of hardwiring envvar.
* doc/automake.texi (aclocal Options): document it.
(dirlist): new anchor so we can reference it.
(Modifying the Macro Search Path: @file{ACLOCAL_PATH}): mention
the option.
(Possible future incompatibility): tone down; it might never happen.
* t/aclocal-path-precedence.sh: test the option.
* NEWS: mention the new option.
NEWS
bin/aclocal.in
doc/automake.texi
t/aclocal-path-precedence.sh