[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 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 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 > 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
|
---|
[f1fe515] | 32 | gl_cv_func_mbrtowc_null_arg1=yes
|
---|
| 33 | gl_cv_func_mbrtowc_null_arg2=yes
|
---|
[f561e06] | 34 | gl_cv_func_mbrtowc_retval=yes
|
---|
| 35 | gl_cv_func_mbrtowc_nul_retval=yes
|
---|
| 36 | gl_cv_func_wcrtomb_retval=yes
|
---|
| 37 | gl_cv_func_wctob_works=yes
|
---|
| 38 | EOF</userinput></screen>
|
---|
| 39 |
|
---|
[6a043e2] | 40 | <para os="a">Prepare M4 for compilation:</para>
|
---|
| 41 |
|
---|
| 42 | <screen os="b"><userinput>./configure --prefix=/tools \
|
---|
[68d33bad] | 43 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
| 44 | --cache-file=config.cache</userinput></screen>
|
---|
[6a043e2] | 45 |
|
---|
| 46 | <para os="c">Compile the package:</para>
|
---|
| 47 |
|
---|
| 48 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 49 |
|
---|
| 50 | <para os="e">Install the package:</para>
|
---|
| 51 |
|
---|
| 52 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
| 53 |
|
---|
| 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2 role="content">
|
---|
| 57 | <title/>
|
---|
| 58 |
|
---|
| 59 | <para>Details on this package are located in <xref
|
---|
| 60 | linkend="contents-m4" role="."/></para>
|
---|
| 61 |
|
---|
| 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | </sect1>
|
---|