| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 |
.TH AUTOHEADER "1" "March 2026" "GNU Autoconf 2.73" "User Commands" |
| 3 |
.SH NAME |
| 4 |
autoheader \- Create a template header for configure |
| 5 |
.SH SYNOPSIS |
| 6 |
.B autoheader |
| 7 |
[\fI\,OPTION\/\fR]... [\fI\,TEMPLATE-FILE\/\fR] |
| 8 |
.SH DESCRIPTION |
| 9 |
Create a template file of C '#define' statements for 'configure' to |
| 10 |
use. To this end, scan TEMPLATE\-FILE, or 'configure.ac' if present, |
| 11 |
or else 'configure.in'. |
| 12 |
.TP |
| 13 |
\fB\-h\fR, \fB\-\-help\fR |
| 14 |
print this help, then exit |
| 15 |
.TP |
| 16 |
\fB\-V\fR, \fB\-\-version\fR |
| 17 |
print version number, then exit |
| 18 |
.TP |
| 19 |
\fB\-v\fR, \fB\-\-verbose\fR |
| 20 |
verbosely report processing |
| 21 |
.TP |
| 22 |
\fB\-d\fR, \fB\-\-debug\fR |
| 23 |
don't remove temporary files |
| 24 |
.TP |
| 25 |
\fB\-f\fR, \fB\-\-force\fR |
| 26 |
consider all files obsolete |
| 27 |
.TP |
| 28 |
\fB\-R\fR, \fB\-\-replace\-handwritten\fR |
| 29 |
overwrite an existing template file that appears |
| 30 |
not to have been generated by autoheader |
| 31 |
.TP |
| 32 |
\fB\-W\fR, \fB\-\-warnings\fR=\fI\,CATEGORY\/\fR |
| 33 |
report the warnings falling in CATEGORY |
| 34 |
(comma\-separated list accepted) |
| 35 |
.SS "Warning categories are:" |
| 36 |
.TP |
| 37 |
cross |
| 38 |
cross compilation issues |
| 39 |
.TP |
| 40 |
gnu |
| 41 |
GNU coding standards (default in gnu and gnits modes) |
| 42 |
.TP |
| 43 |
obsolete |
| 44 |
obsolete features or constructions (default) |
| 45 |
.TP |
| 46 |
override |
| 47 |
user redefinitions of Automake rules or variables |
| 48 |
.TP |
| 49 |
portability |
| 50 |
portability issues (default in gnu and gnits modes) |
| 51 |
.TP |
| 52 |
portability\-recursive |
| 53 |
nested Make variables (default with \fB\-Wportability\fR) |
| 54 |
.TP |
| 55 |
extra\-portability |
| 56 |
extra portability issues related to obscure tools |
| 57 |
.TP |
| 58 |
syntax |
| 59 |
dubious syntactic constructs (default) |
| 60 |
.TP |
| 61 |
unsupported |
| 62 |
unsupported or incomplete features (default) |
| 63 |
.SS "-W also understands:" |
| 64 |
.TP |
| 65 |
all |
| 66 |
turn on all the warnings |
| 67 |
.TP |
| 68 |
none |
| 69 |
turn off all the warnings |
| 70 |
.TP |
| 71 |
no\-CATEGORY |
| 72 |
turn off warnings in CATEGORY |
| 73 |
.TP |
| 74 |
error |
| 75 |
treat all enabled warnings as errors |
| 76 |
.SS "Library directories:" |
| 77 |
.TP |
| 78 |
\fB\-B\fR, \fB\-\-prepend\-include\fR=\fI\,DIR\/\fR |
| 79 |
prepend directory DIR to search path |
| 80 |
.TP |
| 81 |
\fB\-I\fR, \fB\-\-include\fR=\fI\,DIR\/\fR |
| 82 |
append directory DIR to search path |
| 83 |
.SH AUTHOR |
| 84 |
Written by Roland McGrath and Akim Demaille. |
| 85 |
.SH "REPORTING BUGS" |
| 86 |
Report bugs to |
| 87 |
.MT [email protected] |
| 88 |
.ME , |
| 89 |
or via Savannah: |
| 90 |
.UR https://savannah.gnu.org/support/?group=autoconf |
| 91 |
.UE . |
| 92 |
.SH COPYRIGHT |
| 93 |
Copyright \(co 2026 Free Software Foundation, Inc. |
| 94 |
License GPLv3+/Autoconf: GNU GPL version 3 or later |
| 95 |
<https://gnu.org/licenses/gpl.html>, <https://gnu.org/licenses/exceptions.html> |
| 96 |
.br |
| 97 |
This is free software: you are free to change and redistribute it. |
| 98 |
There is NO WARRANTY, to the extent permitted by law. |
| 99 |
.SH "SEE ALSO" |
| 100 |
.BR autoconf (1), |
| 101 |
.BR automake (1), |
| 102 |
.BR autoreconf (1), |
| 103 |
.BR autoupdate (1), |
| 104 |
.BR autoheader (1), |
| 105 |
.BR autoscan (1), |
| 106 |
.BR config.guess (1), |
| 107 |
.BR config.sub (1), |
| 108 |
.BR ifnames (1), |
| 109 |
.BR libtool (1). |
| 110 |
|
| 111 |
The full documentation for Autoconf is maintained as a Texinfo manual. |
| 112 |
To read the manual locally, use the command |
| 113 |
.IP |
| 114 |
.B info autoconf |
| 115 |
.PP |
| 116 |
You can also consult the Web version of the manual at |
| 117 |
.UR https://gnu.org/software/autoconf/manual/ |
| 118 |
.UE . |