|
From: | Guido Draheim |
Subject: | Re: AC_HELP_STRING Help |
Date: | Thu, 23 Jan 2003 20:50:17 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.1) Gecko/20020826 |
Bill Wendling schrieb:
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?
Have you been trying double-[[ and triple-[[[ pairings? That is the normal way to pass literal "[" around and used widely within m4/autoconf. It is needed for such simple things as passing sed-char-ranges around (AC_X([sed -e `/[[0-9]].......)
[Prev in Thread] | Current Thread | [Next in Thread] |