mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-03 02:00:36 +08:00
* lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
expanded if $# <= 2.
This commit is contained in:
parent
70e9cf4bd3
commit
9dc0d53597
@ -1,5 +1,8 @@
|
|||||||
2002-04-03 Andreas Schwab <schwab@suse.de>
|
2002-04-03 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
|
||||||
|
expanded if $# <= 2.
|
||||||
|
|
||||||
* bin/autoreconf.in (autoreconf): Run automake after rerunning
|
* bin/autoreconf.in (autoreconf): Run automake after rerunning
|
||||||
aclocal.
|
aclocal.
|
||||||
|
|
||||||
|
@ -422,8 +422,8 @@ m4_define([m4_bmatch],
|
|||||||
[m4_if([$#], 0, [],
|
[m4_if([$#], 0, [],
|
||||||
[$#], 1, [],
|
[$#], 1, [],
|
||||||
[$#], 2, [$2],
|
[$#], 2, [$2],
|
||||||
m4_bregexp([$1], [$2]), -1, [$0([$1], m4_shiftn(3, $@))],
|
[m4_if(m4_bregexp([$1], [$2]), -1, [$0([$1], m4_shiftn(3, $@))],
|
||||||
[$3])])
|
[$3])])])
|
||||||
|
|
||||||
|
|
||||||
# m4_map(MACRO, LIST)
|
# m4_map(MACRO, LIST)
|
||||||
|
Loading…
Reference in New Issue
Block a user