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

Last change on this file since 350ab24 was 1c9985f, checked in by Chris Staub <chris@…>, 11 years ago

Updated m4 to use simplified xml, for real

  • Property mode set to 100644
File size: 1.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE c:package [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5]>
6
7<c:package xmlns:c="http://schema.cross-lfs.org/book"
8 id="ch-system-m4" c:multibuild="false">
9
10 <c:title>M4</c:title>
11 <c:version>&m4-version;</c:version>
12 <c:description>The M4 package contains a macro processor.</c:description>
13
14 <c:install>
15
16 <c:para>Prepare M4 for compilation:</c:para>
17
18 <c:command c:multilib="false">./configure --prefix=/usr</c:command>
19 <c:command c:multilib="true">CC="gcc ${BUILD64}" ./configure --prefix=/usr</c:command>
20
21 <c:para>Compile the package:</c:para>
22
23 <c:command>make</c:command>
24
25 <c:para>To test the results, issue:
26 <c:command>make check</c:command>.</c:para>
27
28 <c:para>Install the package:</c:para>
29
30 <c:command>make install</c:command>
31
32 </c:install>
33
34 <c:contents>
35
36 <c:program>
37 <c:name>m4</c:name>
38 <c:description>copies the given files while expanding the macros that they
39 contain. These macros are either built-in or user-defined and can
40 take any number of arguments. Besides performing macro expansion,
41 <c:command>m4</c:command> has built-in functions for including named
42 files, running Unix commands, performing integer arithmetic,
43 manipulating text, recursion, etc. The <c:command>m4</c:command>
44 program can be used either as a front-end to a compiler or as a
45 macro processor in its own right.</c:description>
46 </c:program>
47
48 </c:contents>
49
50</c:package>
Note: See TracBrowser for help on using the repository browser.