Stefano Lattarini
2012-12-13 12:58:30 UTC
Hi Eduardo.
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
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?
--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 thusIs 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?
--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,
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