mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-09 02:10:22 +08:00
Ensure _AS_CLEANUP is defined.
* lib/m4sugar/m4sh.m4 (_AS_CLEANUP): Give initial definition. * tests/m4sh.at (AS@&t@_INIT cleanup): Expose the need for this. Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
parent
7e1c6397cc
commit
6f106cdead
@ -1,5 +1,9 @@
|
||||
2008-10-07 Eric Blake <ebb9@byu.net>
|
||||
|
||||
Ensure _AS_CLEANUP is defined.
|
||||
* lib/m4sugar/m4sh.m4 (_AS_CLEANUP): Give initial definition.
|
||||
* tests/m4sh.at (AS@&t@_INIT cleanup): Expose the need for this.
|
||||
|
||||
Improve m4sh maintainability.
|
||||
* lib/m4sugar/m4sh.m4: Sort macros for sanitizing the shell; no
|
||||
code change.
|
||||
|
@ -134,6 +134,13 @@ m4_define([_AS_BOURNE_COMPATIBLE],
|
||||
])
|
||||
|
||||
|
||||
# _AS_CLEANUP
|
||||
# -----------
|
||||
# Expanded as the last thing before m4sugar cleanup begins. Macros
|
||||
# may append m4sh cleanup hooks to this as appropriate.
|
||||
m4_define([_AS_CLEANUP])
|
||||
|
||||
|
||||
# AS_COPYRIGHT(TEXT)
|
||||
# ------------------
|
||||
# Emit TEXT, a copyright notice, as a shell comment near the top of the
|
||||
|
@ -805,6 +805,7 @@ AT_DATA_M4SH([script.as], [[dnl
|
||||
dnl Registered before AS_INIT's cleanups
|
||||
m4_wrap([echo cleanup 1
|
||||
])
|
||||
m4_pushdef([_AS_SHELL_FN_SPY])dnl neutralize the spy, we don't care about it
|
||||
AS_INIT
|
||||
dnl Registered after AS_INIT's cleanups, thus goes to KILL diversion
|
||||
m4_wrap([echo cleanup 2
|
||||
|
Loading…
Reference in New Issue
Block a user