转载:http://www.laruence.com/2008/11/11/606.html
1.autoscan (autoconf): 扫描源代码以搜寻普通的可移植性问题,比如检查编译器,库,头文件等,生成文件configure.scan,它是configure.ac的一个雏形。
2.aclocal (automake):根据已经安装的宏,用户定义宏和acinclude.m4文件中的宏将configure.ac文件所需要的宏集中定义到文件 aclocal.m4中。aclocal是一个perl 脚本程序,它的定义是:“aclocal - create aclocal.m4 by scanning configure.ac”
user input files optional input process output files
================ ============== ======= ============
acinclude.m4 - - - - -.
V
.-------,
configure.ac ------------------------>|aclocal|
{user macro files} ->| |------> aclocal.m4
`-------'
3.autoheader(autoconf): 根据configure.ac中的某些宏,比如cpp宏定义,运行m4,声称config.h.in
user input files optional input process output files
================ ============== ======= ============
aclocal.m4 - - - - - - - .
|
V
.----------,
configure.ac ----------------------->|autoheader|----> autoconfig.h.in
`----------'
4.automake: automake将Makefile.am中定义的结构建立Makefile.in,然后configure脚本将生成的Makefile.in文件转换为Makefile。如果在configure.ac中定义了一些特殊的宏,比如AC_PROG_LIBTOOL,它会调用libtoolize,否则它会自己产生config.guess和config.sub
user input files optional input processes output files
================ ============== ========= ============
.--------,
| | - - -> COPYING
| | - - -> INSTALL
| |------> install-sh
| |------> missing
|automake|------> mkinstalldirs
configure.ac ----------------------->| |
Makefile.am ----------------------->| |------> Makefile.in
| |------> stamp-h.in
.---+ | - - -> config.guess
| | | - - -> config.sub
| `------+-'
| | - - - -> config.guess
|libtoolize| - - - -> config.sub
| |--------> ltmain.sh
| |--------> ltconfig
`----------'
5.autoconf:将configure.ac中的宏展开,生成configure脚本。这个过程可能要用到aclocal.m4中定义的宏。
user input files optional input processes output files
================ ============== ========= ============
aclocal.m4 - - - - - -.
V
.--------,
configure.ac ----------------------->|autoconf|------> configure ----->autoconfig.h,Makefile
=====================================================
分享到:
相关推荐
NULL 博文链接:https://lindows.iteye.com/blog/1172686
依次执行命令:aclocal,autoconf,automake --add-missing,./configure,make。 4、cd */project/main 依次执行命令:aclocal,libtoolize -f -c,autoconf,automake --add-missing,./configure,make。 5、执行...
aclocal autoconf autoheader automake --add-missing ./configure make sudo make install sudo make installdb 要从系统中删除库: make uninstalldb make uninstall 职能 bloommatch( blob a, blob b ) 对...
cpp-gnu-autotools-netbeans-plugin... 为 Run->Autotools 提供菜单选项: Libtoolize ACLocal AutoHeader AutoMake AutoConf 从 Project 配置 Clean Autotools 文件。 每个菜单项都会调用一个带有可编辑选项的对话框。
libtool-2.4.6.tar.gz 手动安装包 ①./configure ②make ③make install
autotools使用说明文档、配套的hello源码操作指南。 linux 下c/c++使用autotools工具自动生成makefile 操作说明。...指令:autoscan、aclocal、autoheader、autoconf、automake 创建:makefile.am等
一个对gun autotools 进行验证的hello源码,是一个多文件deep类型的文件夹
1) 复制libminigui-str-1.6.2.tar.gz至任意用户目录... 去掉后aclocal和automake后的版本号后,运行此脚本,忽略警告项。 d. 同上配置方法配置MiniGUI 6) 修改运行时配置文件MiniGUI.cfg中的IAL ial_engine=zlg7289
Ansvif 一个不太智能的模糊器 ... $ aclocal && autoconf && automake -a && ./configure --enable-syscalls && make && make check 如果您想禁用GTK前端,则可以执行以下操作: $ aclocal && autoco
GJAlloc GJAlloc是C的固定大小的块分配器实现。它可以提高分配许多(小)相等大小的块的应用程序的性能。 分配器每个单独的块都没有开销。...automake --add-missing 然后(或者如果您刚刚有了压缩包) ./con
TRMM雷达软件库(RSL) 从分叉编译: ./configure --prefix=/your/install/directorymake AUTOCONF=: AUTOHEADER=: AUTOMAKE=: ACLOCAL=:sudo make install AUTOCONF=: AUTOHEADER=: AUTOMAKE=: ACLOCAL=:
Linux-XMC-开发 用于Infineon XMC微控制器软件开发...> aclocal > autoconf > automake 编译链接 仅在源目录结构更改后,才必须执行以下命令以重新配置Makefile。 ./configure 如果仅对源文件进行更改,则足以执行 ma
autoconf autoheader aclocal automake --add-missing ./configure make ./tools 1517.bmp 运行结果会产生one.dat, two.dat, three.dat, four.dat四个文件,是将1571.bmp文件中 四个数字拆分到了不同文件中。 mv one...
$ aclocal $ autoheader $ autoconf $ libtoolize --automake $ automake --add-missing $ ./configure 构建应用程序: $ make 注意:此应用程序需要 Boost - Program Option 库。 以下命令在 Ubuntu 上安装...
This script runs a set of commands (aclocal, libtoolize, automake v1.9.6, autoconf v2.59) that creates the platform specific files for configure and puts them in the 'dev/config' directory. Now you ...
automake 1.9.6 的aix版本,包含了aix-6.1的patch。
自动工具和libtool aclocal,autoheader,automake,autoconf,libtoolize lex和yacc flex 2.5.35或更高版本野牛2.4.1或更高版本 fastcgi C库libfcgi 2.4.0或更高版本 Perl正则表达式库libpcre 使用mod_websocket...
autoconf automake libtool pkg-config alsa-lib-devel lua-devel aclocal -Im4 ./autogen.sh ./configure && make && make install 与SVN相比的功能 整合log4cxx Subversion存储库中受监视的版本包含一个简单的日志...
该存储库不包含./configure,您可以像这样生成它(./configure包含在发行版tarball中,然后您不必先生成它): aclocal && autoconf && autoheader可以使用以下方法编译和安装NSD: ./configure && make && make ...