]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Optimize clients of AS_REQUIRE.
authorEric Blake <ebb9@byu.net>
Thu, 23 Oct 2008 21:08:45 +0000 (15:08 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 24 Oct 2008 13:13:17 +0000 (07:13 -0600)
commitd0c5f482d5aa2eb662758921e441d39dd0277531
tree44f996f80bb62612ce23d1d655283252ab96786c
parent2922868b72bb0847d5df79dfc95fd93a2049cf42
Optimize clients of AS_REQUIRE.

* lib/m4sugar/m4sugar.m4 (m4_defun): Add undocumented third
argument.
(m4_defun_init): New undocumented macro.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG, AS_MESSAGE, AS_BASENAME)
(_AS_DIRNAME_EXPR, AS_DIRNAME, AS_ECHO, AS_ECHO_N, AS_TEST_X)
(AS_LN_S, AS_MKDIR_P, _AS_PATH_WALK, AS_VERSION_COMPARE)
(AS_TR_SH, AS_TR_CPP, AS_VAR_APPEND, AS_VAR_PUSHDEF): Use it to
simplify these macros once the one-shot initialization is
complete.
* tests/m4sugar.at (m4@&t@_require: one-shot initialization): New
test.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/m4sugar/m4sh.m4
lib/m4sugar/m4sugar.m4
tests/m4sugar.at