`

Autoconf

阅读更多

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...
分享到:
评论

相关推荐

    sqlite-autoconf.tar.gz_sqlite_sqlite 加密_sqlite3autoconf_wxsqlite

    在标题"sqlite-autoconf.tar.gz_sqlite_sqlite 加密_sqlite3autoconf_wxsqlite"中,我们可以看到与 SQLite 相关的几个关键点:加密、sqlite3autoconf 和 wxSQLite。 1. **SQLite 加密**: SQLite 提供了一个可选的...

    MinGW中的autoconf和automake

    在MinGW中,autoconf和automake是两个非常重要的自动化构建工具,它们帮助开发者创建可移植的、符合GNU标准的软件项目。 **autoconf** autoconf是一个自动配置脚本生成器,它能够生成一个名为`configure`的脚本,这...

    sqlite-autoconf-3080800.tar.gz

    "sqlite-autoconf-3080800.tar.gz" 是一个包含SQLite源代码的压缩包,版本号为3080800,通过自动配置脚本编译。这个文件通常用于开发环境,允许开发者在自己的系统上编译和定制SQLite库。 SQLite的特性包括: 1. *...

    Autoconf_手册.pdf

    ### Autoconf 手册知识点概览 #### 一、Autoconf简介 - **Autoconf**是一种用于简化跨平台编译过程的工具,主要用于创建自动生成的`configure`脚本,这些脚本能够检测用户系统上的特定特性,并相应地配置源代码以...

    GNU+Autoconf+Automake+and+Libtool.pdf

    《GNU Autoconf、Automake 和 Libtool》是针对开源软件开发者的必备指南,由Vaughan V. Gary、Ben Elliston、Tom Tromey和Ian Lance Taylor等专家共同编写,旨在帮助开发者掌握这些关键工具,提升开发效率和应用程序...

    autoconf-2.57.tar

    《自动配置神器:autoconf-2.57详解》 在软件开发领域,尤其是在开源社区,跨平台兼容性是一项至关重要的任务。为了确保软件能在不同的操作系统和编译环境中顺利构建,开发者常常会依赖一些自动化工具,其中...

    autoconf-图文详解-附带详细解释

    还觉得写Makefile是难事吗?autoconf-图文详解-附带详细解释 作者亲自写的例子: MyFirst.cpp Hello.h Hello.cpp configure.in Makefile.am autoconf总结.docx 手把手教你玩转 autoconf automake

    autoconf-2.13.tar.gz

    标题中的"autoconf-2.13.tar.gz"是一个开源软件构建工具的源代码压缩包,其中"autoconf"是核心关键词,版本号为2.13,而".tar.gz"表示这是一个使用tar命令打包并使用gzip压缩的文件格式,通常在Linux或Unix环境中...

    autoconf-2.58.tar.gz

    《自动配置神器:autoconf-2.58详解》 在开源软件开发的世界里,配置环境经常成为开发者面临的一大挑战,特别是在跨平台的项目中。为了解决这个问题,诞生了一款强大的工具——`autoconf`。`autoconf-2.58`是`...

    autoconf-2.68.tar.zip

    标题中的"autoconf-2.68.tar.zip"是一个压缩包文件,其中包含了"autoconf"的2.68版本。这个工具是开源软件开发中非常重要的自动化配置工具,主要用于生成Unix/Linux系统的configure脚本,使得源代码可以适应不同的...

    sqlite-autoconf-3330000.tar.gz

    "sqlite-autoconf-3330000.tar.gz"是SQLite3的一个特定版本(3330000)的源代码包,通常用于开发人员下载和编译以适应其项目需求或进行自定义扩展。 SQLite3的核心特性包括: 1. **无服务器模式**:与大多数数据库...

    autoconf-2.69.tar.xz

    《自动配置工具autoconf-2.69:构建软件的智能解决方案》 在软件开发领域,尤其是开源项目中,为了确保软件能在各种不同的操作系统和环境下正常编译和运行,开发者通常会采用一种名为"autoconf"的自动化工具。...

    sqlite-autoconf-3290000.tar.gz

    `sqlite-autoconf-3290000.tar.gz` 是SQLite的一个源码包,版本号为3290000,通过这个包我们可以获取SQLite的原始代码并进行自定义编译和安装。 首先,让我们详细了解一下源码编译的基本步骤: 1. **解压缩**:...

    ubuntu20.04离线安装autoconf

    ubuntu20.04离线安装autoconf 包括安装的deb包和依赖包

    GNU autoconf, automake, and libtool

    **GNU Autoconf、Automake 和 Libtool:构建跨平台项目的基石** 在软件开发领域,尤其是在开源社区,GNU 工具链中的 Autoconf、Automake 和 Libtool 是构建可移植性极强的应用程序的重要组成部分。这三者协同工作,...

    autoconf.html_node.tar.gz

    在软件开发过程中,特别是在开源领域,autoconf是一个不可或缺的工具。它允许开发者为不同平台创建可移植的配置脚本,确保源代码能在各种操作系统和编译环境下顺利编译。本文将深入探讨autoconf的基本概念,以及与...

    autoconf-2.61.tar.gz

    标题中的"autoconf-2.61.tar.gz"是一个在Linux环境下的软件打包文件,它包含的是自动配置工具autoconf的版本2.61。这个工具对于开发者来说至关重要,因为它简化了编译和构建源代码的过程,特别是对于那些依赖于特定...

    autoconf-2.66.tar.gz

    《Ubuntu系统中的自动配置工具——Autoconf 2.66详解》 在开源软件的世界里,Autoconf是一个不可或缺的工具,特别是在Linux系统,尤其是Ubuntu这样的Debian系发行版中。Autoconf 2.66是这个自动化配置系统的一个...

    autoconf-2.10.tar.gz

    `autoconf-2.10`是这个系列的一个早期版本,尽管现在有更新的版本如`autoconf-2.71`,但在某些特定场景或旧项目中,可能仍需依赖这个版本。 首先,让我们理解`autoconf`的基本工作流程。当一个软件项目需要在不同的...

    autoconf-2.68.tar.gz

    《自动配置工具autoconf在构建LAMP环境中的应用》 在Linux系统中,软件的编译安装往往需要一系列复杂的步骤,其中包括预处理、编译、链接等。对于开发者而言,手动处理这些步骤既费时又易出错。为了解决这个问题,...

Global site tag (gtag.js) - Google Analytics