autoconf
[Top][All Lists]
Advanced

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

Variable substitiution in help strings


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

Hi,

Is there a way to get shell variables substituted in help strings of
AC_ARG_WITH?  I mean, with the code below:

    foo=yes
    AC_ARG_WITH(foo, [--with-foo    (default: $foo)])
    
I see:

    $ ./configure --help | grep foo
    --with-foo    (default: $foo)

But I would like to see:

    $ ./configure --help | grep foo
    --with-foo    (default: yes)
                            ^^^

[Please, Cc: replies to me.]

-- 
Rafael




reply via email to

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