m4-discuss
[Top][All Lists]
Advanced

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

Re: dumpdef output destination


From: Gary V. Vaughan
Subject: Re: dumpdef output destination
Date: Sun, 21 Dec 2008 13:15:22 +0800

Hi Eric,

2008/12/20 Eric Blake <address@hidden>:
> Eric Blake <ebb9 <at> byu.net> writes:
>
>> So which option should I use?
>>
>> Option 1 - make 1.6 dumpdef always go to stderr
>>
>> Option 2 - make 2.0 dumpdef always go to debugfile
>>
>
> I just thought of a new option:
>
> Option 3 - add a flag to both 1.6 and 2.0 debugmode that controls where 
> dumpdef
> output goes
>
> Would allow the client to choose (autoconf would choose stderr, but the 
> default
> would be debugfile)
> Friendly to autoconf, which is already using another debugmode flag added in 
> m4
> 1.6 to control whether popdef(undefined) triggers an error
>
>> My personal preference is option 1, unless someone can speak up with a
>> counter-argument soon.
>>
>
> At this point, option 3 is the most flexible (it allows both behaviors, thus
> preserving backwards compatibility).  What letter should I consume as the
> mnemonic for the ability to redirect dumpdef to stderr, remembering that
> acdefilmpqstxv are already claimed?  Maybe 'o' for 'Output dumpdef to stderr'?

I concur on both counts: option 3 with 'o' for output.

Cheers,
    Gary
-- 
Email me:          address@hidden                        (\(\
Read my blog:      http://blog.azazil.net              ( o.O)
And my other blog: http://www.machaxor.net              (uu )o
...and my book:    http://sources.redhat.com/autobook  ("("_)




reply via email to

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