[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 > 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 |
|
---|
[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}
|
---|
| 44 | sed -e '/"m4.h"/i\#include <sys/stat.h>' \
|
---|
| 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>
|
---|