Eric Blake wrote:> configure --help output is a special case where diversion magic is > necessary. Using diversion BODY is too late. But what's wrong with using > the documented AC_ARG_ENABLE and AC_ARG_WITH, which properly manage the > diversions on your behalf? Under the hood, they are using > m4_divert_text([HELP_ENABLE], [text]) or m4_divert_text([HELP_WITH]) to > output text into the --help stream. So technically, if you needed to use > these (intentionally undocumented) named diversions, you could likewise > impact the --help output. Reading lib/autoconf/general.m4 to learn about > named diversions may be useful. But again, what's wrong with the > documented interfaces, or what is a specific example of a particular > string that outputs in a different location in the --help output than > where you want? We probably hold the world record for the most configure switches, so in order to make it somewhat plausible to figure them all out, we categorized them. The help output from 2.13 looks like this: http://lerdorf.com/c.txt Getting the TSRM switches to show up under the TSRM section in 2.59+ isn't working, for example. -Rasmus _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf