2006-01-06 08:11:16 +08:00
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
2006-06-05 21:32:11 +08:00
|
|
|
.TH AUTOM4TE "1" "June 2006" "autom4te 2.59e" "User Commands"
|
2001-07-24 16:43:06 +08:00
|
|
|
.SH NAME
|
2002-11-04 18:22:53 +08:00
|
|
|
autom4te \- Generate files and scripts thanks to M4
|
2001-07-24 16:43:06 +08:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B autom4te
|
2001-08-04 21:16:15 +08:00
|
|
|
[\fIOPTION\fR] ... [\fIFILES\fR]
|
2001-07-24 16:43:06 +08:00
|
|
|
.SH DESCRIPTION
|
2002-02-05 16:24:06 +08:00
|
|
|
Run GNU M4 on the FILES, avoiding useless runs. Output the traces if tracing,
|
|
|
|
the frozen file if freezing, otherwise the expansion of the FILES.
|
2002-02-05 16:11:32 +08:00
|
|
|
.PP
|
|
|
|
If some of the FILES are named `FILE.m4f' they are considered to be M4
|
|
|
|
frozen files of all the previous files (which are therefore not loaded).
|
|
|
|
If `FILE.m4f' is not found, then `FILE.m4' will be used, together with
|
|
|
|
all the previous files.
|
|
|
|
.PP
|
2001-08-31 21:31:37 +08:00
|
|
|
Some files may be optional, i.e., will only be processed if found in the
|
|
|
|
include path, but then must end in `.m4?'; the question mark is not part of
|
|
|
|
the actual file name.
|
2001-07-24 16:43:06 +08:00
|
|
|
.SS "Operation modes:"
|
|
|
|
.TP
|
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
print this help, then exit
|
|
|
|
.TP
|
|
|
|
\fB\-V\fR, \fB\-\-version\fR
|
|
|
|
print version number, then exit
|
|
|
|
.TP
|
|
|
|
\fB\-v\fR, \fB\-\-verbose\fR
|
|
|
|
verbosely report processing
|
|
|
|
.TP
|
|
|
|
\fB\-d\fR, \fB\-\-debug\fR
|
|
|
|
don't remove temporary files
|
|
|
|
.TP
|
|
|
|
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
|
2005-02-05 08:47:57 +08:00
|
|
|
save output in FILE (defaults to `\-', stdout)
|
2001-08-04 21:16:15 +08:00
|
|
|
.TP
|
|
|
|
\fB\-f\fR, \fB\-\-force\fR
|
|
|
|
don't rely on cached values
|
2001-07-24 16:43:06 +08:00
|
|
|
.TP
|
|
|
|
\fB\-W\fR, \fB\-\-warnings\fR=\fICATEGORY\fR
|
|
|
|
report the warnings falling in CATEGORY
|
2001-08-29 17:52:49 +08:00
|
|
|
.TP
|
2001-09-05 15:48:11 +08:00
|
|
|
\fB\-l\fR, \fB\-\-language\fR=\fILANG\fR
|
2001-08-29 17:52:49 +08:00
|
|
|
specify the set of M4 macros to use
|
|
|
|
.TP
|
2002-11-04 18:22:53 +08:00
|
|
|
\fB\-C\fR, \fB\-\-cache\fR=\fIDIRECTORY\fR
|
2002-10-25 19:52:37 +08:00
|
|
|
preserve results for future runs in DIRECTORY
|
|
|
|
.TP
|
2002-11-04 18:22:53 +08:00
|
|
|
\fB\-\-no\-cache\fR
|
|
|
|
disable the cache
|
|
|
|
.TP
|
2001-08-29 17:52:49 +08:00
|
|
|
\fB\-m\fR, \fB\-\-mode\fR=\fIOCTAL\fR
|
|
|
|
change the non trace output file mode (0666)
|
|
|
|
.TP
|
|
|
|
\fB\-M\fR, \fB\-\-melt\fR
|
|
|
|
don't use M4 frozen files
|
2001-08-29 21:30:27 +08:00
|
|
|
.SS "Languages include:"
|
2001-08-29 17:52:49 +08:00
|
|
|
.TP
|
|
|
|
`Autoconf'
|
|
|
|
create Autoconf configure scripts
|
|
|
|
.TP
|
|
|
|
`Autotest'
|
|
|
|
create Autotest test suites
|
|
|
|
.TP
|
|
|
|
`M4sh'
|
|
|
|
create M4sh shell scripts
|
|
|
|
.TP
|
|
|
|
`M4sugar'
|
|
|
|
create M4sugar output
|
2001-07-24 16:43:06 +08:00
|
|
|
.SS "Warning categories include:"
|
|
|
|
.TP
|
|
|
|
`cross'
|
|
|
|
cross compilation issues
|
|
|
|
.TP
|
First stab at preserving warnings between calls to autom4te,
including when the cache is used.
There are still several issues: (i) there are too many runs of m4
(one for include, one for warnings, and some more), (ii) warnings
spreading on several lines are not handled gracefully, (iii) the
code meant to have the call stack display for errors does not work
(its handling should move from m4 to autom4te).
* bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
(@preselect): Add m4_warn.
($exit_status): Remove, use $exit_code.
($help): Use Autom4te::ChannelDefs::usage.
(&handle_m4): No longer define the m4_warnings.
At each run, extract and report the warnings.
Always cache the result, including if the exit status is on
failure, since if nothing changes, we should result in the same
failure, hence we can use the cache.
* lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
Remove.
(m4_warn): Redefine as a do-nothing: it is its invocation that
matters, as warnings are now reported via traces.
* lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
the contents of m4_warn: make it _call_ m4_warn, so that tracing
the latter reveals calls to the former.
Adjust the tests.
* tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2003-08-22 01:25:28 +08:00
|
|
|
`gnu'
|
|
|
|
GNU coding standards (default in gnu and gnits modes)
|
|
|
|
.TP
|
2001-07-24 16:43:06 +08:00
|
|
|
`obsolete'
|
First stab at preserving warnings between calls to autom4te,
including when the cache is used.
There are still several issues: (i) there are too many runs of m4
(one for include, one for warnings, and some more), (ii) warnings
spreading on several lines are not handled gracefully, (iii) the
code meant to have the call stack display for errors does not work
(its handling should move from m4 to autom4te).
* bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
(@preselect): Add m4_warn.
($exit_status): Remove, use $exit_code.
($help): Use Autom4te::ChannelDefs::usage.
(&handle_m4): No longer define the m4_warnings.
At each run, extract and report the warnings.
Always cache the result, including if the exit status is on
failure, since if nothing changes, we should result in the same
failure, hence we can use the cache.
* lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
Remove.
(m4_warn): Redefine as a do-nothing: it is its invocation that
matters, as warnings are now reported via traces.
* lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
the contents of m4_warn: make it _call_ m4_warn, so that tracing
the latter reveals calls to the former.
Adjust the tests.
* tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2003-08-22 01:25:28 +08:00
|
|
|
obsolete features or constructions
|
|
|
|
.TP
|
|
|
|
`override'
|
|
|
|
user redefinitions of Automake rules or variables
|
|
|
|
.TP
|
|
|
|
`portability'
|
|
|
|
portability issues
|
2001-07-24 16:43:06 +08:00
|
|
|
.TP
|
|
|
|
`syntax'
|
First stab at preserving warnings between calls to autom4te,
including when the cache is used.
There are still several issues: (i) there are too many runs of m4
(one for include, one for warnings, and some more), (ii) warnings
spreading on several lines are not handled gracefully, (iii) the
code meant to have the call stack display for errors does not work
(its handling should move from m4 to autom4te).
* bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
(@preselect): Add m4_warn.
($exit_status): Remove, use $exit_code.
($help): Use Autom4te::ChannelDefs::usage.
(&handle_m4): No longer define the m4_warnings.
At each run, extract and report the warnings.
Always cache the result, including if the exit status is on
failure, since if nothing changes, we should result in the same
failure, hence we can use the cache.
* lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
Remove.
(m4_warn): Redefine as a do-nothing: it is its invocation that
matters, as warnings are now reported via traces.
* lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
the contents of m4_warn: make it _call_ m4_warn, so that tracing
the latter reveals calls to the former.
Adjust the tests.
* tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2003-08-22 01:25:28 +08:00
|
|
|
dubious syntactic constructs (default)
|
|
|
|
.TP
|
|
|
|
`unsupported'
|
|
|
|
unsupported or incomplete features (default)
|
2001-07-24 16:43:06 +08:00
|
|
|
.TP
|
|
|
|
`all'
|
|
|
|
all the warnings
|
|
|
|
.TP
|
2005-02-05 08:47:57 +08:00
|
|
|
`no\-CATEGORY'
|
First stab at preserving warnings between calls to autom4te,
including when the cache is used.
There are still several issues: (i) there are too many runs of m4
(one for include, one for warnings, and some more), (ii) warnings
spreading on several lines are not handled gracefully, (iii) the
code meant to have the call stack display for errors does not work
(its handling should move from m4 to autom4te).
* bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
(@preselect): Add m4_warn.
($exit_status): Remove, use $exit_code.
($help): Use Autom4te::ChannelDefs::usage.
(&handle_m4): No longer define the m4_warnings.
At each run, extract and report the warnings.
Always cache the result, including if the exit status is on
failure, since if nothing changes, we should result in the same
failure, hence we can use the cache.
* lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
Remove.
(m4_warn): Redefine as a do-nothing: it is its invocation that
matters, as warnings are now reported via traces.
* lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
the contents of m4_warn: make it _call_ m4_warn, so that tracing
the latter reveals calls to the former.
Adjust the tests.
* tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2003-08-22 01:25:28 +08:00
|
|
|
turn off warnings in CATEGORY
|
2001-07-24 16:43:06 +08:00
|
|
|
.TP
|
|
|
|
`none'
|
|
|
|
turn off all the warnings
|
|
|
|
.TP
|
|
|
|
`error'
|
First stab at preserving warnings between calls to autom4te,
including when the cache is used.
There are still several issues: (i) there are too many runs of m4
(one for include, one for warnings, and some more), (ii) warnings
spreading on several lines are not handled gracefully, (iii) the
code meant to have the call stack display for errors does not work
(its handling should move from m4 to autom4te).
* bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
(@preselect): Add m4_warn.
($exit_status): Remove, use $exit_code.
($help): Use Autom4te::ChannelDefs::usage.
(&handle_m4): No longer define the m4_warnings.
At each run, extract and report the warnings.
Always cache the result, including if the exit status is on
failure, since if nothing changes, we should result in the same
failure, hence we can use the cache.
* lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
Remove.
(m4_warn): Redefine as a do-nothing: it is its invocation that
matters, as warnings are now reported via traces.
* lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
the contents of m4_warn: make it _call_ m4_warn, so that tracing
the latter reveals calls to the former.
Adjust the tests.
* tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2003-08-22 01:25:28 +08:00
|
|
|
treat warnings as errors
|
2001-07-24 16:43:06 +08:00
|
|
|
.PP
|
2006-06-05 03:56:41 +08:00
|
|
|
The environment variables `M4' and `WARNINGS' are honored.
|
2001-07-24 16:43:06 +08:00
|
|
|
.SS "Library directories:"
|
|
|
|
.TP
|
2002-07-17 16:35:59 +08:00
|
|
|
\fB\-B\fR, \fB\-\-prepend\-include\fR=\fIDIR\fR
|
|
|
|
prepend directory DIR to search path
|
|
|
|
.TP
|
2001-07-24 16:43:06 +08:00
|
|
|
\fB\-I\fR, \fB\-\-include\fR=\fIDIR\fR
|
2002-07-17 16:35:59 +08:00
|
|
|
append directory DIR to search path
|
2001-07-24 16:43:06 +08:00
|
|
|
.SS "Tracing:"
|
|
|
|
.TP
|
|
|
|
\fB\-t\fR, \fB\-\-trace\fR=\fIMACRO\fR
|
|
|
|
report the MACRO invocations
|
2001-08-04 21:14:10 +08:00
|
|
|
.TP
|
|
|
|
\fB\-p\fR, \fB\-\-preselect\fR=\fIMACRO\fR
|
|
|
|
prepare to trace MACRO in a future run
|
2002-02-05 16:24:06 +08:00
|
|
|
.SS "Freezing:"
|
|
|
|
.TP
|
|
|
|
\fB\-F\fR, \fB\-\-freeze\fR
|
|
|
|
produce an M4 frozen state file for FILES
|
2002-11-04 18:22:53 +08:00
|
|
|
.SH AUTHOR
|
|
|
|
Written by Akim Demaille.
|
2001-07-24 16:43:06 +08:00
|
|
|
.SH "REPORTING BUGS"
|
2005-02-05 08:47:57 +08:00
|
|
|
Report bugs to <bug\-autoconf@gnu.org>.
|
2003-05-06 16:51:21 +08:00
|
|
|
.SH COPYRIGHT
|
2006-01-06 08:11:16 +08:00
|
|
|
Copyright \(co 2006 Free Software Foundation, Inc.
|
2003-05-06 16:51:21 +08:00
|
|
|
.br
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
2001-07-24 16:43:06 +08:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR autoconf (1),
|
|
|
|
.BR automake (1),
|
|
|
|
.BR autoreconf (1),
|
|
|
|
.BR autoupdate (1),
|
|
|
|
.BR autoheader (1),
|
|
|
|
.BR autoscan (1),
|
|
|
|
.BR config.guess (1),
|
|
|
|
.BR config.sub (1),
|
|
|
|
.BR ifnames (1),
|
|
|
|
.BR libtool (1).
|
|
|
|
.PP
|
|
|
|
The full documentation for
|
|
|
|
.B autom4te
|
|
|
|
is maintained as a Texinfo manual. If the
|
|
|
|
.B info
|
|
|
|
and
|
|
|
|
.B autom4te
|
|
|
|
programs are properly installed at your site, the command
|
|
|
|
.IP
|
|
|
|
.B info autom4te
|
|
|
|
.PP
|
|
|
|
should give you access to the complete manual.
|