autoconf
[Top][All Lists]
Advanced

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

Re: Variable substitiution in help strings


From: Rafael Laboissiere
Subject: Re: Variable substitiution in help strings
Date: Tue, 30 Dec 2003 18:16:12 +0100
User-agent: Mutt/1.5.4i

* Roger Leigh <address@hidden> [2003-12-30 17:04]:

> Rafael Laboissiere <address@hidden> 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.

Thanks for your reply.  I have already noticed that in configure the help
strings are output using:

      cat <<\_ACEOF

    Optional Features:
    [...]
    _ACEOF

The problem is the backslash before _ACEOF.  This comes from the code in
general.m4, apparently.  Is there any strong reason why the here-document
delimiter is backslashed?

-- 
Rafael




reply via email to

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