> m4_divert_push([PREPARE_TESTS])
> ...
> m4_divert_pop([PREPARE_TESTS])
Hmm. Just reordering things would fix this even if I don't get
autotest patched. Call AT_INIT prior to m4_divert_push,
so that autotest's text is output to the PREPARE_TESTS
diversion prior to libtool's text.
--
Er
Libtool mainline uses Autotest and a section
m4_divert_push([PREPARE_TESTS])
...
m4_divert_pop([PREPARE_TESTS])
to set some values, e.g.,
eval `$LIBTOOL --config | grep '^EGREP='`
This fails with Autoconf mainline now (after the recent patches) because
$LIBTOOL is not set yet; it is set