autoconf
[Top][All Lists]
Advanced

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

Re: AC_HELP_STRING Help


From: Peter Eisentraut
Subject: Re: AC_HELP_STRING Help
Date: Fri, 24 Jan 2003 00:51:48 +0100 (CET)

Bill Wendling writes:

> 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?

Not with AC_HELP_STRING.  It can't handle that case and there's no
(obvious?, reasonable?) way to fix this.  It has been mentioned before;
search the archives if you're interested.

-- 
Peter Eisentraut   address@hidden





reply via email to

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