Autoconf

来自开放百科 - 灰狐
跳转到: 导航, 搜索
processing

Autoconf is a tool for producing shell scripts that automatically configure software source code packages to adapt to many kinds of UNIX-like systems. The configuration scripts produced by Autoconf are independent of Autoconf when they are run, so their users do not need to have Autoconf.

Together with Automake and Libtool, Autoconf forms the GNU build system.

Autoconf makes use of GNU m4 to transform a user-written 'configure.ac' (formerly, and on older projects called 'configure.in') file to a portable shell script called 'configure'. The 'configure' script runs non-interactively, and generates customized headers and makefiles derived from pre-written templates. You could say that autoconf compiles the M4 program in 'configure.ac' into a shell script.

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱