]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Use m4_require to implement AS_REQUIRE.
authorPaolo Bonzini <bonzini@gnu.org>
Sun, 12 Oct 2008 12:20:53 +0000 (14:20 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Tue, 14 Oct 2008 13:14:12 +0000 (15:14 +0200)
commit920874ceda729232661ff4f974a9fc4dbcac934b
tree6ce836615a9323421bff0b654512567779bc5345
parentc974b65d2c050c6bf495bd79a9ea77cfc3b8e547
Use m4_require to implement AS_REQUIRE.

* lib/m4sugar/m4sugar.m4 (_m4_require_call): Accept a third argument.
(m4_require): Pass it.
(m4_divert_require): New.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Rewrite using m4_divert_require.
Remove comment about differences with m4_require.
* tests/m4sh.at (AS_REQUIRE_SHELL_FN and m4_require): Update to test
the expected behavior.
(Nested AS_REQUIRE_SHELL_FN): New test.
ChangeLog
lib/m4sugar/m4sh.m4
lib/m4sugar/m4sugar.m4
tests/m4sh.at