[Top][All Lists]

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

About dynamic configure options.

From: Eduardo Costa
Subject: About dynamic configure options.
Date: Mon, 10 Dec 2012 23:57:55 +0000


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.


reply via email to

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