source: final-system/common/m4.xml@ 48f8316

Last change on this file since 48f8316 was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[bf8c11f]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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-m4" role="wrap">
11 <?dbhtml filename="m4.html"?>
12
13 <title>M4-&m4-version;</title>
14
15 <indexterm zone="ch-system-m4">
16 <primary sortas="a-M4">M4</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <para>The M4 package contains a macro processor.</para>
23
24 <segmentedlist>
25 <segtitle>&buildtime;</segtitle>
26 <segtitle>&diskspace;</segtitle>
27
28 <seglistitem>
29 <seg>Not checked yet</seg>
30 <seg>Not checked yet</seg>
31 </seglistitem>
32 </segmentedlist>
33
34 <segmentedlist>
35 <segtitle>&dependencies;</segtitle>
36
37 <seglistitem>
38 <seg>Bash, Binutils, Coreutils, Diffutils, GCC,
39 Gettext, Glibc, Grep, Make, Perl, and Sed</seg>
40 </seglistitem>
41 </segmentedlist>
42
43 </sect2>
44
45 <sect2 role="installation">
46 <title>Installation of M4</title>
47
48 <para>Prepare M4 for compilation:</para>
49
50<screen><userinput>./configure --prefix=/usr</userinput></screen>
51
52 <para>Compile the package:</para>
53
54<screen><userinput>make</userinput></screen>
55
56 <para>To test the results, issue:
57 <userinput>make check</userinput>.</para>
58
59 <para>Install the package:</para>
60
61<screen><userinput>make install</userinput></screen>
62
63 </sect2>
64
65 <sect2 id="contents-m4" role="content">
66 <title>Contents of M4</title>
67
68 <segmentedlist>
69 <segtitle>Installed program</segtitle>
70
71 <seglistitem>
72 <seg>m4</seg>
73 </seglistitem>
74 </segmentedlist>
75
76 <variablelist>
77 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
78 <?dbfo list-presentation="list"?>
79 <?dbhtml list-presentation="table"?>
80
81 <varlistentry id="m4">
82 <term><command>m4</command></term>
83 <listitem>
84 <para>copies the given files while expanding the macros that they
85 contain. These macros are either built-in or user-defined and can
86 take any number of arguments. Besides performing macro expansion,
87 <command>m4</command> has built-in functions for including named
88 files, running Unix commands, performing integer arithmetic,
89 manipulating text, recursion, etc. The <command>m4</command>
90 program can be used either as a front-end to a compiler or as a
91 macro processor in its own right.</para>
92 <indexterm zone="ch-system-m4 m4">
93 <primary sortas="b-m4">m4</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
98 </variablelist>
99
100 </sect2>
101
102</sect1>
Note: See TracBrowser for help on using the repository browser.