source: BOOK/final-system/common/m4.xml@ a66f0df

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a66f0df was 7006a9c, checked in by Jim Gifford <clfs@…>, 19 years ago

r1104@server (orig r1102): chris | 2006-01-28 10:00:19 -0800
Remove perl from m4's dependency list

  • Property mode set to 100644
File size: 2.5 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 <segmentedlist>
23 <segtitle>&dependencies;</segtitle>
24
25 <seglistitem>
26 <seg>Bash, Binutils, Coreutils, Diffutils, GCC,
27 Gettext, Glibc, Grep, Make, and Sed</seg>
28 </seglistitem>
29 </segmentedlist>
30
31 </sect2>
32
33 <sect2 role="installation">
34 <title>Installation of M4</title>
35
36 <para os="a">Prepare M4 for compilation:</para>
37
38<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
39
40 <para os="c">Compile the package:</para>
41
42<screen os="d"><userinput>make</userinput></screen>
43
44 <para os="e">To test the results, issue:
45 <userinput>make check</userinput>.</para>
46
47 <para os="f">Install the package:</para>
48
49<screen os="g"><userinput>make install</userinput></screen>
50
51 </sect2>
52
53 <sect2 id="contents-m4" role="content">
54 <title>Contents of M4</title>
55
56 <segmentedlist>
57 <segtitle>Installed program</segtitle>
58
59 <seglistitem>
60 <seg>m4</seg>
61 </seglistitem>
62 </segmentedlist>
63
64 <variablelist>
65 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
66 <?dbfo list-presentation="list"?>
67 <?dbhtml list-presentation="table"?>
68
69 <varlistentry id="m4">
70 <term><command>m4</command></term>
71 <listitem>
72 <para>copies the given files while expanding the macros that they
73 contain. These macros are either built-in or user-defined and can
74 take any number of arguments. Besides performing macro expansion,
75 <command>m4</command> has built-in functions for including named
76 files, running Unix commands, performing integer arithmetic,
77 manipulating text, recursion, etc. The <command>m4</command>
78 program can be used either as a front-end to a compiler or as a
79 macro processor in its own right.</para>
80 <indexterm zone="ch-system-m4 m4">
81 <primary sortas="b-m4">m4</primary>
82 </indexterm>
83 </listitem>
84 </varlistentry>
85
86 </variablelist>
87
88 </sect2>
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.