2008-03-26 Eric Blake <ebb9@byu.net>
+ Document --trace=macro:format in --help output.
+ * bin/autom4te.in (help): Mention optional trace format.
+ * bin/autoconf.as (usage): Likewise.
+
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Fix
typos in last patch.
Reported by Ralf Wildenhues.
# autoconf -- create `configure' using m4 macros
# Copyright (C) 1992, 1993, 1994, 1996, 1999, 2000, 2001, 2002, 2003,
-# 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+# 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-I, --include=DIR append directory DIR to search path
Tracing:
- -t, --trace=MACRO report the list of calls to MACRO
- -i, --initialization also trace Autoconf's initialization process
+ -t, --trace=MACRO[:FORMAT] report the list of calls to MACRO
+ -i, --initialization also trace Autoconf's initialization process
-In tracing mode, no configuration script is created.
+In tracing mode, no configuration script is created. FORMAT defaults
+to \`\$f:\$l:\$n:\$%'; see \`autom4te --help' for information about FORMAT.
Report bugs to <bug-autoconf@gnu.org>."]
if 0;
# autom4te - Wrapper around M4 libraries.
-# Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007 Free Software
+# Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008 Free Software
# Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
-I, --include=DIR append directory DIR to search path
Tracing:
- -t, --trace=MACRO report the MACRO invocations
- -p, --preselect=MACRO prepare to trace MACRO in a future run
+ -t, --trace=MACRO[:FORMAT] report the MACRO invocations
+ -p, --preselect=MACRO prepare to trace MACRO in a future run
Freezing:
-F, --freeze produce an M4 frozen state file for FILES
+FORMAT defaults to \`\$f:\$l:\$n:\$%\', and can use the following escapes:
+ \$\$ literal \$
+ \$f file where macro was called
+ \$l line where macro was called
+ \$d nesting depth of macro call
+ \$n name of the macro
+ \$NUM argument NUM, unquoted and with newlines
+ \$SEP\@ all arguments, with newlines, quoted, and separated by SEP
+ \$SEP* all arguments, with newlines, unquoted, and separated by SEP
+ \$SEP% all arguments, without newlines, unquoted, and separated by SEP
+SEP can be empty for the default (comma for \@ and *, colon for %),
+a single character for that character, or {STRING} to use a string.
+
Report bugs to <bug-autoconf\@gnu.org>.
";