bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

m4 and progname (was: Re: mingw and memcmp)


From: Bruno Haible
Subject: m4 and progname (was: Re: mingw and memcmp)
Date: Fri, 21 Dec 2007 15:21:36 +0100
User-agent: KMail/1.9.1

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

[Prev in Thread] Current Thread [Next in Thread]