autoheader1
Create a template header for configure
Usage
autoheader [OPTION] ...
[TEMPLATE-FILE]
Overview
Create a template file of C '#define' statements for 'configure' to use. To this end, scan TEMPLATE-FILE, or 'configure.ac' if present, or else 'configure.in'.
-
-h, --help -
print this help, then exit
-
-V, --version -
print version number, then exit
-
-v, --verbose -
verbosely report processing
-
-d, --debug -
don't remove temporary files
-
-f, --force -
consider all files obsolete
-
-R, --replace-handwritten -
overwrite an existing template file that appears not to have been generated by autoheader
-
-W, --warnings=CATEGORY -
report the warnings falling in CATEGORY (comma-separated list accepted)
Warning categories are:
cross
|
cross compilation issues |
|---|---|
gnu
|
GNU coding standards (default in gnu and gnits modes) |
obsolete
|
obsolete features or constructions (default) |
override
|
user redefinitions of Automake rules or variables |
portability
|
portability issues (default in gnu and gnits modes) |
portability-recursive
|
nested Make variables (default with |
extra-portability
|
extra portability issues related to obscure tools |
syntax
|
dubious syntactic constructs (default) |
unsupported
|
unsupported or incomplete features (default) |
-W also understands:
all
|
turn on all the warnings |
|---|---|
none
|
turn off all the warnings |
no-CATEGORY
|
turn off warnings in CATEGORY |
error
|
treat all enabled warnings as errors |
Library directories:
-
-B, --prepend-include=DIR -
prepend directory DIR to search path
-
-I, --include=DIR -
append directory DIR to search path
Releases
16 releases since Debian 2.0 (Hamm); the text changed 9 times.
--debug since Debian 8 (Jessie);
--force since Debian 8 (Jessie);
--help since Debian 8 (Jessie);
--include since Debian 8 (Jessie);
--prepend-include since Debian 8 (Jessie);
--replace-handwritten since Arch Linux 2026-11-01;
--verbose since Debian 8 (Jessie);
--version since Debian 8 (Jessie);
--warnings since Debian 8 (Jessie);
-B since Debian 8 (Jessie);
-I since Debian 8 (Jessie);
-R since Arch Linux 2026-11-01;
-V since Debian 8 (Jessie);
-W since Debian 8 (Jessie);
-d since Debian 8 (Jessie);
-f since Debian 8 (Jessie);
-h since Debian 8 (Jessie);
-v since Debian 8 (Jessie).
--autoconf-dir until Debian 3.0 (Woody);
--localdir until Debian 3.0 (Woody);
--macrodir until Debian 2.2 (Potato);
-l until Debian 2.2 (Potato);
-m until Debian 2.2 (Potato).