\(.*\) match is too long and there is something more to be checked.
<http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
This also undoes the previous patch.
# Note that the second pattern is `newline, tab or space'. Don't lose
# the tab!
define([at_flatten],
- [at_patsubst(at_patsubst(at_patsubst([[[$1]]], [\\\n]),
- [[\n\t ]+], [ ]),
- [^ *\(.*[^ ]\)? *], [[\1]])])
+ [at_patsubst(at_patsubst(at_patsubst(at_patsubst([[[[$1]]]], [\\\n]),
+ [[\n\t ]+], [ ]),
+ [ *\(.\)$], [\1]),
+ [^ *\(.*\)], [[\1]])])
define([at_args], [at_shift(at_shift(at_shift(at_shift(at_shift($@)))))])
define([at_at], [_$0([$1], at_args($@))])