← 返回命令列表

Linux command

autoheader 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Generate

autoheader

Example

autoheader [configure.ac]

Example

autoheader --force

说明

autoheader creates a template header file (config.h.in) for configure to use. It scans configure.ac for AC_DEFINE macros and generates corresponding #define statements. This is part of the autotools workflow, typically run before autoconf.

参数

-f, --force
Force regeneration even if current
-W _category_
Warning level
-I _dir_
Add include directory
-v, --verbose
Verbose output

FAQ

What is the autoheader command used for?

autoheader creates a template header file (config.h.in) for configure to use. It scans configure.ac for AC_DEFINE macros and generates corresponding #define statements. This is part of the autotools workflow, typically run before autoconf.

How do I run a basic autoheader example?

Run `autoheader` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -f, --force do in autoheader?

Force regeneration even if current