#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 13. Programming

- Prev

  Programming

- Next

  Cbindgen-0.17.0

- Up
- Home

# Autoconf2.13

## Introduction to Autoconf2.13

Autoconf2.13 is an old version of Autoconf . This old version accepts switches which are not valid in more recent versions. Now that firefox has started to use python2 for configuring, this old version is required even if configure files have not been changed.

This package is known to build and work properly using an LFS-10.1 platform.

### Package Information

- Download (HTTP): https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz

- Download (FTP): ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz

- Download MD5 sum: 9de56d4a161a723228220b0f425dc711

- Download size: 434 KB

- Estimated disk space required: 2.8 MB

- Estimated build time: less than 0.1 SBU (additional 0.1 SBU for the tests)

### Additional Downloads

- Required patch: http://www.linuxfromscratch.org/patches/blfs/10.1/autoconf-2.13-consolidated_fixes-1.patch

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/autoconf213

## Installation of Autoconf2.13

Install Autoconf by running the following commands:

    patch -Np1 -i ../autoconf-2.13-consolidated_fixes-1.patch &&
    mv -v autoconf.texi autoconf213.texi                      &&
    rm -v autoconf.info                                       &&
    ./configure --prefix=/usr --program-suffix=2.13           &&
    make

To test the installation issue make check (all 253 tests should pass).

Now, as the `root` user:

    make install                                      &&
    install -v -m644 autoconf213.info /usr/share/info &&
    install-info --info-dir=/usr/share/info autoconf213.info

## Command Explanations

mv -v autoconf.texi autoconf213.texi: ensure that the info file added by this package will not overwrite the more recent version.

rm -v autoconf.info: ensure that the info file will be created by the current version of texinfo.

--program-suffix=2.13: ensure that the installed programs have the version added to their names, so that only a script which specifically looks for these old versions will find them.

install -v -m644 ...: the patch removes install-info from the Makefile because that would install (and if necessary recreate) standards.info which is an old version, so now `autoconf213.info` has to be manually installed.

## Contents

Installed Programs: autoconf2.13, autoheader2.13, autoreconf2.13, autoscan2.13, autoupdate2.13, and ifnames2.13
Installed Library: None
Installed Directory: /usr/share/autoconf-2.13

### Short Descriptions

autoconf2.13 | Produces shell scripts that automatically configure software source code packages to adapt to many kinds of Unix-like systems
autoheader2.13 | is a tool for creating template files of C #define statements for configure to use
autoreconf2.13 | This automatically runs autoconf2.13, autoheader2.13, aclocal, automake, gettextize and libtoolize in the right order when changes have been made to autoconf or automake template files
autoscan2.13 | Can be used as a preliminary step in creating a `configure.in` file
autoupdate2.13 | Modifies a `configure.in` file that still calls autoconf macros by their old names to use the current macro names
ifnames2.13 | 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]

Last updated on 2021-02-20 14:53:06 -0800

- Prev

  Programming

- Next

  Cbindgen-0.17.0

- Up
- Home