Re: Variable substitiution in help strings

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

 



Rafael Laboissiere <rafael@xxxxxxxxxx> writes:

> Is there a way to get shell variables substituted in help strings of
> AC_ARG_WITH?

No, because the help text is generated at autoconf-time (using m4
diversions).  Check where your help text ends up in the generated
configure, and you'll see why.


Regards,
Roger

[I did do exactly what you want when I was using autoconf 2.13, by
(ab)using m4 diversions myself, but this relied on the internals of
autoconf, which was not maintainable, so I stopped doing it...]

-- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux