source: BOOK/temp-system/common/m4.xml@ 110e1fa

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 110e1fa was 68d33bad, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated M4 to 1.4.14.

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[6a043e2]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-temp-system-m4" role="wrap">
9 <?dbhtml filename="m4.html"?>
10
11 <title>M4-&m4-version;</title>
12
13 <indexterm zone="ch-temp-system-m4">
14 <primary sortas="a-M4">M4</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/m4.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of M4</title>
24
[f561e06]25 <para os="cc1">Configure can not properly determine the results of the
26 following tests:</para>
27
28<screen os="cc2"><userinput>cat &gt; config.cache &lt;&lt; EOF
29gl_cv_func_btowc_eof=yes
30gl_cv_func_mbrtowc_incomplete_state=yes
31gl_cv_func_mbrtowc_sanitycheck=yes
32gl_cv_func_mbrtowc_null_arg=yes
33gl_cv_func_mbrtowc_retval=yes
34gl_cv_func_mbrtowc_nul_retval=yes
35gl_cv_func_wcrtomb_retval=yes
36gl_cv_func_wctob_works=yes
37EOF</userinput></screen>
38
[68d33bad]39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../../final-system/common/m4.xml"
41 xpointer="xpointer(//*[@os='s1'])"/>
42
43<screen os="s2"><userinput>cp src/path.c{,.orig}
44sed -e '/"m4.h"/i\#include &lt;sys/stat.h&gt;' \
45 src/path.c.orig > src/path.c</userinput></screen>
46
[6a043e2]47 <para os="a">Prepare M4 for compilation:</para>
48
49<screen os="b"><userinput>./configure --prefix=/tools \
[68d33bad]50 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
51 --cache-file=config.cache</userinput></screen>
[6a043e2]52
53 <para os="c">Compile the package:</para>
54
55<screen os="d"><userinput>make</userinput></screen>
56
57 <para os="e">Install the package:</para>
58
59<screen os="f"><userinput>make install</userinput></screen>
60
61 </sect2>
62
63 <sect2 role="content">
64 <title/>
65
66 <para>Details on this package are located in <xref
67 linkend="contents-m4" role="."/></para>
68
69 </sect2>
70
71</sect1>
Note: See TracBrowser for help on using the repository browser.