Hello,
I found a bug in http://ftpmirror.gnu.org/automake/automake-1.15.tar.xz -> bin/automake.in
At line 3881: Escape the outer {} with \. The correct line should look like this:
$text =~ s/\$\{([^ \t=:+{}]+)\}/substitute_ac_subst_variables_worker ($1)/ge;
Since newer versions, Perl enforces the escape of this brackets.
Greetings,
Mitja Stachowiak.