使用 configure.ac 和 Makefile.am 生成 configure 用于编译工程
生成 configure 各文件关系

流程
libtoolize链接一些脚本,包括ltmain.shaclocal扫描所有m4 macros生成aclocal.m4autoheader生成了 configure.h.in 如果在configure.ac中定义了AC_CONFIG_HEADER,那么此文件就需要autoconfexpand all the macros used byconfigure.acinto theconfigurescriptautomake --add-missingconvert all theMakefile.amintoMakefile.intemplates. 此步主要是为了生成Makefile.in,加上--add-missing参数后,会补全缺少的脚本./configure --prefix=$PWDmakemake install