autoconf
[Top][All Lists]
Advanced

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

Re: hide help string


From: Peter Johansson
Subject: Re: hide help string
Date: Tue, 22 Dec 2009 22:36:02 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

On 12/22/09 8:08 PM, Peter Johansson wrote:

I tried AC_ARG_WITH with an empty second argument, but that resulted in an empty line in the help output which I would prefer to get rid of (if possible). Does anyone know any trick how that could be accomplished?

I learnt that if I put

m4_divert_once([HELP_WITH], [])

before the first AC_ARG_WITH, the empty line moves to just before "Optional Features:" in help output, which is prettier. However, it seems as a bit of a hack relying on implementation details. Would it make sense to modify AC_ARG_WITH (and friends) to ignore empty help strings?

Thanks,
Peter




reply via email to

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