5.14. M4-1.4.18

#### Linux From Scratch - Version 9.1-rc1

### Chapter 5. Constructing a Temporary System

- Prev

  DejaGNU-1.6.2

- Next

  Ncurses-6.2

- Up
- Home

# 5.14. M4-1.4.18

The M4 package contains a macro processor.

Approximate build time: 0.2 SBU
Required disk space: 20 MB

## 5.14.1. Installation of M4

First, make some fixes introduced by glibc-2.28:

    sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
    echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

Prepare M4 for compilation:

    ./configure --prefix=/tools

Compile the package:

    make

Compilation is now complete. As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter. To run the M4 test suite anyway, issue the following command:

    make check

Install the package:

    make install

Details on this package are located in Section 6.16.2, “Contents of M4.”

- Prev

  DejaGNU-1.6.2

- Next

  Ncurses-6.2

- Up
- Home