[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_HELP_STRING Help
From: |
Bill Wendling |
Subject: |
Re: AC_HELP_STRING Help |
Date: |
Thu, 23 Jan 2003 13:52:21 -0600 |
User-agent: |
Mutt/1.4i |
Also sprach Olaf Weber:
} 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@:>@]
}
They place the []s in there, but it messes up the spacing :-(. So, I get
things like:
--with-dmalloc[=DIR]
Use dmalloc memory debugging aid [default=no]
--with-zlib[=DIR] Use GNU zlib compression [default=yes]
--with-ssl[=LIB] Use the SSL library [default=no]
--with-gass[=DIR] Use the GASS library [default=no]
--with-srb[=DIR] Use the SRB Library [default=no]
--with-pthread[=DIR]
Use the Pthreads library [default=no]
--
|| Bill Wendling "Real Programmers have a Snoopy Calendar
|| address@hidden of '69 hanging on their wall"
|| Coding Simian -- Toon Moene