Variable substitiution in help strings

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

 



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



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

  Powered by Linux