[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[bdea25ce] | 7 |
|
---|
[fcc02767] | 8 | <sect1 id="ch-tools-m4" role="wrap">
|
---|
[bdea25ce] | 9 | <?dbhtml filename="m4.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>m4</productname>
|
---|
| 13 | <productnumber>&m4-version;</productnumber>
|
---|
| 14 | <address>&m4-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[bdea25ce] | 17 | <title>M4-&m4-version;</title>
|
---|
| 18 |
|
---|
[fcc02767] | 19 | <indexterm zone="ch-tools-m4">
|
---|
[bdea25ce] | 20 | <primary sortas="a-M4">M4</primary>
|
---|
[fcc02767] | 21 | <secondary>tools</secondary>
|
---|
[bdea25ce] | 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
| 25 | <title/>
|
---|
| 26 |
|
---|
[fcc02767] | 27 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 28 | href="../chapter08/m4.xml"
|
---|
| 29 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
[673b0d8] | 30 |
|
---|
[bdea25ce] | 31 | <segmentedlist>
|
---|
| 32 | <segtitle>&buildtime;</segtitle>
|
---|
| 33 | <segtitle>&diskspace;</segtitle>
|
---|
[6370fa6] | 34 |
|
---|
[bdea25ce] | 35 | <seglistitem>
|
---|
[fb386e0] | 36 | <seg>&m4-tmp-sbu;</seg>
|
---|
| 37 | <seg>&m4-tmp-du;</seg>
|
---|
[bdea25ce] | 38 | </seglistitem>
|
---|
| 39 | </segmentedlist>
|
---|
[5888299] | 40 |
|
---|
[bdea25ce] | 41 | </sect2>
|
---|
[73aedd1d] | 42 |
|
---|
[bdea25ce] | 43 | <sect2 role="installation">
|
---|
| 44 | <title>Installation of M4</title>
|
---|
[f399737] | 45 | <!--
|
---|
[fcc02767] | 46 | <para>First, make some fixes introduced by glibc-2.28:</para>
|
---|
[efca30a] | 47 |
|
---|
| 48 | <screen><userinput remap="pre">sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
---|
| 49 | echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h</userinput></screen>
|
---|
[f399737] | 50 | -->
|
---|
[bdea25ce] | 51 | <para>Prepare M4 for compilation:</para>
|
---|
[73aedd1d] | 52 |
|
---|
[fcc02767] | 53 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
| 54 | --host=$LFS_TGT \
|
---|
| 55 | --build=$(build-aux/config.guess)</userinput></screen>
|
---|
[73aedd1d] | 56 |
|
---|
[bdea25ce] | 57 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 58 |
|
---|
[0445a3d] | 59 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 60 |
|
---|
[bdea25ce] | 61 | <para>Install the package:</para>
|
---|
[73aedd1d] | 62 |
|
---|
[fcc02767] | 63 | <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
|
---|
[73aedd1d] | 64 |
|
---|
[bdea25ce] | 65 | </sect2>
|
---|
[6370fa6] | 66 |
|
---|
[fcc02767] | 67 | <sect2 role="content">
|
---|
| 68 | <title/>
|
---|
| 69 | <para>Details on this package are located in
|
---|
| 70 | <xref linkend="contents-m4" role="."/></para>
|
---|
[81fd230] | 71 |
|
---|
[bdea25ce] | 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | </sect1>
|
---|