* Peter Johansson wrote on Tue, Jan 26, 2010 at 06:38:44AM CET: > On 1/26/10 12:09 AM, Ralf Wildenhues wrote: > >I assume you want $wanted_value to expand to either enabled or disabled? > >Well, that cannot work: in the generated configure script, the --help > >text comes before the code that actually deals with the command line > >arguments. > >Also, if your default value would depend on the configure command line, > >then it wouldn't be the "default" value, right? > > > > If we assume that $2 is a literal `yes' or `no', i.e., the value can > be decided at autoconf time (rather than at configure time) it seems > it should be possible to expand to enabled or disabled depending on > the value of $2. Well, in that case Vincent should use $2 in the argument to AS_HELP_STRING, not $wanted_value. Sorry for not reading close enough. Thanks, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf