Eric Blake wrote:
> (I'm starting to wonder if it is easier to require all test-foo.c programs to 
> declare and populate program_name themselves, rather than relying on the 
> progname module.)

Oh no. The progname module is there to simplify things for both programs and
test suite.

It would be better the other way around: Let m4 use the 'progname' module.

If you feel that it contains too much code (like the libtool workaround),
make this code conditional. In [1] you mentioned a way to detect whether
libtool is used; you can use that to enable the libtool-specific code
in progname only when libtool is used.

Bruno

[1] http://lists.gnu.org/archive/html/autoconf/2007-12/msg00025.html


Reply via email to