http://en.wikipedia.org/wiki/Autoconf
GNU Autoconf
is a tool for producing configure scripts
for software on Unix-like
computer systems. Configure scripts inspect a user's computer system and configure the software package prior to it being installed
. After running a series of automated tests, a configure script generates customised header files
and a makefile
from pre-written templates. These customised files adapt the software
and its installation process to suit the user's system. Together with Automake
and Libtool
, Autoconf forms the GNU build system
. It comprises several tools like Autoheader.
Usage overview
The developer specifies the desired behaviour of the configure script by writing a list of instructions in the GNU m4
language in a file called "configure.ac". A library of pre-defined m4 macros
is available to describe common configure script instructions. Autoconf
transforms the instructions in "configure.ac" into a portable configure
script.
configure.ac format
The GNU Autoconf manual suggests the following format for the configure.ac file:
Autoconf requirements
The AC_PREREQ(version
) macro can be used to ensure that a recent enough version of the autoconf program is available to process the configure.ac file
AC_INIT(package
, version
, bug-report-address
)
This macro is required in every configure.ac file. It specifies the
name and version of the software package for which to generate a
configure script and the email address of the developer.
information on the package
checks for programs
checks for libraries
checks for header files
checks for types
checks for structures
checks for compiler characteristics
checks for library functions
checks for system services
AC_CONFIG_FILES([file...])
AC_OUTPUT
More...
分享到:
相关推荐
还觉得写Makefile是难事吗?autoconf-图文详解-附带详细解释 作者亲自写的例子: MyFirst.cpp Hello.h Hello.cpp configure.in Makefile.am autoconf总结.docx 手把手教你玩转 autoconf automake
autoconf和automake
Autoconf是一个用于生成可以自动地配置软件源代码包以适应多种Unix类系统的 shell脚本的工具。由Autoconf生成的配置脚本在运行的时候与Autoconf是无关的, 就是说配置脚本的用户并不需要拥有Autoconf。
Autoconf, Automake and Libtool are packages for making your software more portable and to simplify building it—usually on someone else’s system. Software portability and effective build systems are ...
autoconf-2.63-5.1.el6.noarch.rpm是centos工具包。
autoconf automake 轻松入门
Autoconf_手册.pdf
makefile m4 autoconf automake
autoconf官方文档阅读的时候随手写下的部分宏示例, 供自己以后参考
sqlite-autoconf-3320300 嵌入式数据库源码.编译命令:./configure --host=arm-linux(这里根据需要可以改为gcc,即省去该配置参数(删除--host),默认使用gcc) --prefix=/tmp/build
autoconf-2.62.tar.bz2 autoconf-2.62.tar.bz2 autoconf-2.62.tar.bz2
ubuntu20.04离线安装autoconf 包括安装的deb包和依赖包
用于生成配置工具autoconf-2.57.tar
autoconf-2.58.tar.gz
GNU的make automake autoconf libtool说明书
autoconf,ubuntu下Appweb进行c扩展环境构造中有用
autoconf手册_node模式HTML
文件名: sqlite-autoconf-3420000.tar.gz
关于 Autoconf、Automake 和 Libtool 的教程,描述了它们怎样共同工作,教你使用这些工具建立跨平台的工程。清晰的chm文档。
免费下载 autoconf-2.69.tar.xz_FreeDownload.zip 文件后,解压此文件即可得到 autoconf-2.69.tar.xz源文件。