Bill Wendling writes:

> Hi all,
> I want to produce a help string like this:

>     --with-foo[=DIR]            Use the foo package

> (note the []s around the =DIR bit). When I use the option like this:

> AC_ARG_WITH([foo],
>             [AC_HELP_STRING([--with-foo[=DIR]],
>                             [Use the foo package])],,)

> It produces:

>     --with-foo=DIR            Use the foo package

> Is there a way to make it produce the []s that I want?

I think quadrigraphs should do it: [--with-foo@<:@=DIR@:>@]

-- 
Olaf Weber

               (This space left blank for technical reasons.)



Reply via email to