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

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