Autoconf——安装

本文介绍了如何在Unix-like系统中安装Autoconf,包括从发行版源安装和使用源码编译安装的方法。详细步骤包括下载Autoconf源码,然后进行准备、编译和安装。安装后的主要可执行程序有autoconf、autoheader、autom4te、autoreconf等,这些工具帮助配置软件源代码以适应不同系统。

原文地址:Autoconf——安装(永久地址,保存网址不迷路 🙃)

从发行版的源中安装

使用源码编译安装

下载Autoconf:https://www.gnu.org/software/autoconf/autoconf.html

进入源码目录,准备,编译,安装:

#!/bin/bash

################################################################################
# Autoconf-2.69
################################################################################
# ./configure --prefix=/usr
./configure --prefix=/usr/local
make && make install

安装的可执行程序

autoconf
Produces shell scripts that automatically configure software source code packages to adapt to many kinds of Unix-like systems; the configuration scripts it produces are independent—running them does not require the autoconf program

autoheader
A tool for creating template files of C #define statements for configure to use

autom4te
A wrapper for the M4 macro processor

autoreconf
Automatically runs autoconf, autoheader, aclocal, automake, gettextize, and libtoolize in the correct order to save time when changes are made to autoconf and automake template files

autoscan
Helps to create a configure.in file for a software package; it examines the source files in a directory tree, searching them for common portability issues, and creates a configure.scan file that serves as as a preliminary configure.in file for the package

autoupdate
Modifies a configure.in file that still calls autoconf macros by their old names to use the current macro names

ifnames
Helps when writing configure.in files for a software package; it prints the identifiers that the package uses in C preprocessor conditionals [If a package has already been set up to have some portability, this program can help determine what configure needs to check for. It can also fill in gaps in a configure.in file generated by autoscan.]

相关文章

autoscan
autom4te
autoconf
autoupdate
ifnames

参考文献

LFS/6.43. Autoconf-2.69

评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值