]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Improve m4_copy.
authorEric Blake <ebb9@byu.net>
Fri, 24 Oct 2008 03:17:25 +0000 (21:17 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 24 Oct 2008 12:41:49 +0000 (06:41 -0600)
commit2922868b72bb0847d5df79dfc95fd93a2049cf42
treea7f83432534622831c62dd3c7a025614e36474ee
parent21bd2e490b0804a0223b7044e89d5d31bd9f6476
Improve m4_copy.

* lib/m4sugar/m4sugar.m4 (m4_copy): Add second implementation for
public use.
(_m4_copy): New macro, which preserves pushdef stacks.
(_m4_defun_pro_outer): Bypass it, for speed.
(m4_init): Bypass new implementation, since it breaks on m4_defn.
* bin/autoupdate.in (handle_autoconf_macros): Likewise.
* lib/autoconf/general.m4 (AC_PREREQ): Undefine before redefining,
now that m4_copy checks this.
* doc/autoconf.texi (Redefined M4 Macros) <m4_copy>: Document
this, as well as m4_rename.
* lib/autoconf/autoconf.m4 (m4_copy): Temporarily redefine when
renaming builtins.
* NEWS: Likewise.
* tests/m4sugar.at (m4@&t@_defn): Enhance test.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
NEWS
bin/autoupdate.in
doc/autoconf.texi
lib/autoconf/autoconf.m4
lib/autoconf/general.m4
lib/m4sugar/m4sugar.m4
tests/m4sugar.at