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 |
|
---|
25 | <para os="cc1">Configure can not properly determine the results of the
|
---|
26 | following tests:</para>
|
---|
27 |
|
---|
28 | <screen os="cc2"><userinput>cat > config.cache << EOF
|
---|
29 | gl_cv_func_btowc_eof=yes
|
---|
30 | gl_cv_func_mbrtowc_incomplete_state=yes
|
---|
31 | gl_cv_func_mbrtowc_sanitycheck=yes
|
---|
32 | gl_cv_func_mbrtowc_null_arg=yes
|
---|
33 | gl_cv_func_mbrtowc_retval=yes
|
---|
34 | gl_cv_func_mbrtowc_nul_retval=yes
|
---|
35 | gl_cv_func_wcrtomb_retval=yes
|
---|
36 | gl_cv_func_wctob_works=yes
|
---|
37 | EOF</userinput></screen>
|
---|
38 |
|
---|
39 | <para os="a">Prepare M4 for compilation:</para>
|
---|
40 |
|
---|
41 | <screen os="b"><userinput>./configure --prefix=/tools \
|
---|
42 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
43 | --cache-file=config.cache</userinput></screen>
|
---|
44 |
|
---|
45 | <para os="c">Compile the package:</para>
|
---|
46 |
|
---|
47 | <screen os="d"><userinput>make</userinput></screen>
|
---|
48 |
|
---|
49 | <para os="e">Install the package:</para>
|
---|
50 |
|
---|
51 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
52 |
|
---|
53 | </sect2>
|
---|
54 |
|
---|
55 | <sect2 role="content">
|
---|
56 | <title/>
|
---|
57 |
|
---|
58 | <para>Details on this package are located in <xref
|
---|
59 | linkend="contents-m4" role="."/></para>
|
---|
60 |
|
---|
61 | </sect2>
|
---|
62 |
|
---|
63 | </sect1>
|
---|