Linux From Scratch: Version 5.0-pre3
Prev | Chapter 6. Installing basic system software | Next

# Installing M4-1.4

    Estimated build time:           0.1 SBU
    Estimated required disk space:  3.0 MB

## Contents of M4

(Last checked against version 1.4.)

M4 is a macro processor. It copies input to output, expanding macros as it goes. Macros are either built-in or user-defined and can take any number of arguments. Besides just doing macro expansion, m4 has built-in functions for including named files, running Unix commands, doing integer arithmetic, manipulating text in various ways, recursion, etc. The m4 program can be used either as a front-end to a compiler or as a macro processor in its own right.

Installed program: m4

##

## M4 Installation Dependencies

(Last checked against version 1.4.)

Bash: sh
Binutils: ar, as, ld, ranlib
Coreutils: cat, chmod, cp, date, echo, hostname, install, mv, rm, tr
Diffutils: cmp
GCC: cc1, collect2, cpp, gcc
Grep: egrep, grep
Make: make
Sed: sed

##

## Installation of M4

Prepare M4 for compilation:

    ./configure --prefix=/usr

Compile the package:

    make

This package has a test suite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, the following command will do so:

    make check

And install the package:

    make install

Prev | Home | Next
Installing Vim-6.2 | Up | Installing Bison-1.875