autoconf
[Top][All Lists]
Advanced

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

Re: About dynamic configure options.


From: Stefano Lattarini
Subject: Re: About dynamic configure options.
Date: Thu, 13 Dec 2012 13:58:30 +0100

Hi Eduardo.

On 12/11/2012 12:57 AM, Eduardo Costa wrote:
> Hi,
> 
> Is it possible at all to have a configure option whose help message can 
> expand a
> variable, or can otherwise accept the output of a command at configure-time?
> 
> For example, imagine this as part of the output of `./configure':
> 
> --with-user=user        Who to complain to (default X)
> 
> Where X could be, say, the output of the command `whoami'.
> 
> This might be done by usual means (couldn't do it) or just with some
> trickery to to inject the string manually at the end of some section
> (say HELP_CANON or other), and giving the output of the command on a
> new line, so it doesn't get inside the `cat << LABEL ... LABEL'
> constructs that seem to be used to output options and help messages.
> 
> Thanks,
> 
This question really pertains to Autoconf, not Automake.  I'm thus
forwarding it to the Autoconf list, where somebody might be willing
to answer it (I haven't looked at it in detail, since I'm busy with
other stuff right now; I might give it a shot in a few days maybe,
but no promise).

HTH,
  Stefano



reply via email to

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