source: clfs-sysroot/BOOK/final-system/common/m4.xml@ 83baa46

Last change on this file since 83baa46 was 586feb7, checked in by Joe Ciccone <jciccone@…>, 19 years ago

Updated the bootscripts package and make LFS to CLFS updates.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-m4" role="wrap">
9 <?dbhtml filename="m4.html"?>
10
11 <title>M4-&m4-version;</title>
12
13 <indexterm zone="ch-system-m4">
14 <primary sortas="a-M4">M4</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The M4 package contains a macro processor.</para>
21
22 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of M4</title>
26
27 <para os="a">Prepare M4 for compilation:</para>
28
29<screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
30
31 <para os="c">Compile the package:</para>
32
33<screen os="d"><userinput>make</userinput></screen>
34
35 <para os="e">Install the package:</para>
36
37<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
38
39 </sect2>
40
41 <sect2 id="contents-m4" role="content">
42 <title>Contents of M4</title>
43
44 <segmentedlist>
45 <segtitle>Installed program</segtitle>
46
47 <seglistitem>
48 <seg>m4</seg>
49 </seglistitem>
50 </segmentedlist>
51
52 <variablelist>
53 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
54 <?dbfo list-presentation="list"?>
55 <?dbhtml list-presentation="table"?>
56
57 <varlistentry id="m4">
58 <term><command>m4</command></term>
59 <listitem>
60 <para>copies the given files while expanding the macros that they
61 contain. These macros are either built-in or user-defined and can
62 take any number of arguments. Besides performing macro expansion,
63 <command>m4</command> has built-in functions for including named
64 files, running Unix commands, performing integer arithmetic,
65 manipulating text, recursion, etc. The <command>m4</command>
66 program can be used either as a front-end to a compiler or as a
67 macro processor in its own right.</para>
68 <indexterm zone="ch-system-m4 m4">
69 <primary sortas="b-m4">m4</primary>
70 </indexterm>
71 </listitem>
72 </varlistentry>
73
74 </variablelist>
75
76 </sect2>
77
78</sect1>
Note: See TracBrowser for help on using the repository browser.