aclocal: handle ACLOCAL_PATH environment variable
authorPaolo Bonzini <bonzini@gnu.org>
Tue, 9 Nov 2010 19:14:38 +0000 (20:14 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 20 Sep 2011 15:07:50 +0000 (17:07 +0200)
commit73497948db0d2c6c7418f7df5c129eeee16ddf51
tree164acc7534408301a6ce195af4b738a0d9c76a72
parentc9dfc368a623178f32b67b164f051e9ab65edd99
aclocal: handle ACLOCAL_PATH environment variable

* aclocal.in (parse_ACLOCAL_PATH): New function, parse ACLOCAL_PATH
as a colon-separated list of directories to be included in the
search path.
* doc/automake.texi (Macro Search Path): Document new behavior and
the precedence rules for various elements of the search path.
* tests/aclocal-path.test: New test.
* tests/aclocal-path-install.test: Likewise.
* tests/aclocal-path-install-serial.test: Likewise.
* tests/aclocal-path-precedence.test: Likewise.
* tests/aclocal-path-nonexistent.test: Likewise.
* tests/Makefile.am (TESTS): Add them.
* NEWS: Update.
* tests/distcheck-missing-m4.test: Extend by also checking
interactions with ACLOCAL_PATH.
* tests/distcheck-outdated-m4.test: Likewise, and fix a couple
of botched comments since we are at it.
13 files changed:
ChangeLog
NEWS
aclocal.in
doc/automake.texi
tests/Makefile.am
tests/Makefile.in
tests/aclocal-path-install-serial.test [new file with mode: 0755]
tests/aclocal-path-install.test [new file with mode: 0755]
tests/aclocal-path-nonexistent.test [new file with mode: 0755]
tests/aclocal-path-precedence.test [new file with mode: 0755]
tests/aclocal-path.test [new file with mode: 0755]
tests/distcheck-missing-m4.test
tests/distcheck-outdated-m4.test