On 05/09/2013 10:01 AM, Thien-Thi Nguyen wrote:
> () Sami Kerola <kerol...@iki.fi>
> () Wed,  8 May 2013 20:33:03 +0100
> 
>    [sed script]
> 
> Instead of trying to mimic autoconf, why not ask it directly for the
> ‘AC_INIT’ field values, formatted in some convenient way?  For example:

IIUC, Gary Vaughan's attempt to overhaul the bootstrap script would take
advantage of 'autoconf --trace' and other tools to get reliable
information.  I still feel bad that I haven't spent any review time on that.

I agree that the best way to learn what m4 will expand a macro to is to
use m4 to do the macro expansion, not sed.  It's just that it's faster
to fix a sed-script within existing framework than it is to redesign the
framework to be more powerful.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to