运行autoscan生成configure.scan,修改此文件,重命名为configure.in.
运行aclocal生成aclocal.m4
编写acconfig.h
运行autoheader生成config.h.in
编写Makefile.am
运行automake生成Makefile.in
运行autoconf生成configure
运行configure处理Makefile.in生成Makefile
autoscan 产生一个preliminary的configure.scan(ac,in),使用autoconf处理configure.in生成configure脚本。
使用automake配合Makefile.am文件生成Makefile.in文件,这步需要有configure.in文件.
利用configure处理Makefile.in文件生成Makefile文件。
man autoconf, man autoreconf, man autoscan, man autoheader, ......
man autoconf:
NAME
autoconf - Generate configuration scripts
SYNOPSIS
autoconf [OPTION] ... [TEMPLATE-FILE]
DESCRIPTION
Generate a configuration script from a TEMPLATE-FILE if given, or `configure.ac' if
present, or else `configure.in'. Output is sent to the standard output if TEMPLATE-FILE
is given, else into `configure'.
man autoscan:NAME
autoscan - Generate a preliminary configure.in
SYNOPSIS
autoscan [OPTION] ... [SRCDIR]
DESCRIPTION
Examine source files in the directory tree rooted at SRCDIR, or the current directory if
none is given. Search the source files for common portability problems, check for incom‐
pleteness of `configure.ac', and create a file `configure.scan' which is a preliminary
`configure.ac' for that package.
本文由 rmingming 于2005年10月20日 上午11点47分 发表
| 阅读全文
| 评论 (0)