[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 |
|
---|
[b50d1dc] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 26 | href="../../final-system/common/m4.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 28 |
|
---|
| 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 30 | href="../../final-system/common/m4.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 32 |
|
---|
[f561e06] | 33 | <para os="cc1">Configure can not properly determine the results of the
|
---|
| 34 | following tests:</para>
|
---|
| 35 |
|
---|
| 36 | <screen os="cc2"><userinput>cat > config.cache << EOF
|
---|
| 37 | gl_cv_func_btowc_eof=yes
|
---|
| 38 | gl_cv_func_mbrtowc_incomplete_state=yes
|
---|
| 39 | gl_cv_func_mbrtowc_sanitycheck=yes
|
---|
| 40 | gl_cv_func_mbrtowc_null_arg=yes
|
---|
| 41 | gl_cv_func_mbrtowc_retval=yes
|
---|
| 42 | gl_cv_func_mbrtowc_nul_retval=yes
|
---|
| 43 | gl_cv_func_wcrtomb_retval=yes
|
---|
| 44 | gl_cv_func_wctob_works=yes
|
---|
| 45 | EOF</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>
|
---|