[02095ae] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-autoconf" role="wrap">
|
---|
| 9 | <?dbhtml filename="autoconf.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Autoconf-&autoconf-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-autoconf">
|
---|
| 14 | <primary sortas="a-Autoconf">Autoconf</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Autoconf package contains programs for producing shell scripts that
|
---|
| 21 | can automatically configure source code.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Autoconf</title>
|
---|
| 27 |
|
---|
| 28 | <para os="a">Prepare Autoconf for compilation:</para>
|
---|
| 29 |
|
---|
[713696e] | 30 | <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
[cee2ca2] | 31 | --prefix=/usr</userinput></screen>
|
---|
[02095ae] | 32 |
|
---|
| 33 | <para os="c">Compile the package:</para>
|
---|
| 34 |
|
---|
| 35 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 36 |
|
---|
| 37 | <para os="e">Install the package:</para>
|
---|
| 38 |
|
---|
[586feb7] | 39 | <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
[02095ae] | 40 |
|
---|
| 41 | </sect2>
|
---|
| 42 |
|
---|
| 43 | <sect2 id="contents-autoconf" role="content">
|
---|
| 44 | <title>Contents of Autoconf</title>
|
---|
| 45 |
|
---|
| 46 | <segmentedlist>
|
---|
| 47 | <segtitle>Installed programs</segtitle>
|
---|
| 48 |
|
---|
| 49 | <seglistitem>
|
---|
| 50 | <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
|
---|
| 51 | and ifnames</seg>
|
---|
| 52 | </seglistitem>
|
---|
| 53 | </segmentedlist>
|
---|
| 54 |
|
---|
| 55 | <variablelist>
|
---|
| 56 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 57 | <?dbfo list-presentation="list"?>
|
---|
| 58 | <?dbhtml list-presentation="table"?>
|
---|
| 59 |
|
---|
| 60 | <varlistentry id="autoconf">
|
---|
| 61 | <term><command>autoconf</command></term>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Produces shell scripts that automatically configure software
|
---|
| 64 | source code packages to adapt to many kinds of Unix-like systems.
|
---|
| 65 | The configuration scripts it produces are independent—running
|
---|
| 66 | them does not require the <command>autoconf</command> program.</para>
|
---|
| 67 | <indexterm zone="ch-system-autoconf autoconf">
|
---|
| 68 | <primary sortas="b-autoconf">autoconf</primary>
|
---|
| 69 | </indexterm>
|
---|
| 70 | </listitem>
|
---|
| 71 | </varlistentry>
|
---|
| 72 |
|
---|
| 73 | <varlistentry id="autoheader">
|
---|
| 74 | <term><command>autoheader</command> </term>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>A tool for creating template files of C
|
---|
| 77 | <emphasis>#define</emphasis> statements for configure to use</para>
|
---|
| 78 | <indexterm zone="ch-system-autoconf autoheader">
|
---|
| 79 | <primary sortas="b-autoheader">autoheader</primary>
|
---|
| 80 | </indexterm>
|
---|
| 81 | </listitem>
|
---|
| 82 | </varlistentry>
|
---|
| 83 |
|
---|
| 84 | <varlistentry id="autom4te">
|
---|
| 85 | <term><command>autom4te</command></term>
|
---|
| 86 | <listitem>
|
---|
| 87 | <para>A wrapper for the M4 macro processor</para>
|
---|
| 88 | <indexterm zone="ch-system-autoconf autom4te">
|
---|
| 89 | <primary sortas="b-autom4te">autom4te</primary>
|
---|
| 90 | </indexterm>
|
---|
| 91 | </listitem>
|
---|
| 92 | </varlistentry>
|
---|
| 93 |
|
---|
| 94 | <varlistentry id="autoreconf">
|
---|
| 95 | <term><command>autoreconf</command></term>
|
---|
| 96 | <listitem>
|
---|
| 97 | <para>Automatically runs <command>autoconf</command>,
|
---|
| 98 | <command>autoheader</command>, <command>aclocal</command>,
|
---|
| 99 | <command>automake</command>, <command>gettextize</command>, and
|
---|
| 100 | <command>libtoolize</command> in the correct order to save time
|
---|
| 101 | when changes are made to <command>autoconf</command> and
|
---|
| 102 | <command>automake</command> template files</para>
|
---|
| 103 | <indexterm zone="ch-system-autoconf autoreconf">
|
---|
| 104 | <primary sortas="b-autoreconf">autoreconf</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
| 109 | <varlistentry id="autoscan">
|
---|
| 110 | <term><command>autoscan</command> </term>
|
---|
| 111 | <listitem>
|
---|
| 112 | <para>Helps to create a <filename>configure.in</filename> file for a
|
---|
| 113 | software package; it examines the source files in a directory tree,
|
---|
| 114 | searching them for common portability issues, and creates a
|
---|
| 115 | <filename>configure.scan</filename> file that serves as as a
|
---|
| 116 | preliminary <filename>configure.in</filename> file for the package</para>
|
---|
| 117 | <indexterm zone="ch-system-autoconf autoscan">
|
---|
| 118 | <primary sortas="b-autoscan">autoscan</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 | </listitem>
|
---|
| 121 | </varlistentry>
|
---|
| 122 |
|
---|
| 123 | <varlistentry id="autoupdate">
|
---|
| 124 | <term><command>autoupdate</command></term>
|
---|
| 125 | <listitem>
|
---|
| 126 | <para>Modifies a <filename>configure.in</filename> file that still
|
---|
| 127 | calls <command>autoconf</command> macros by their old names to use the
|
---|
| 128 | current macro names</para>
|
---|
| 129 | <indexterm zone="ch-system-autoconf autoupdate">
|
---|
| 130 | <primary sortas="b-autoupdate">autoupdate</primary>
|
---|
| 131 | </indexterm>
|
---|
| 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
| 134 |
|
---|
| 135 | <varlistentry id="ifnames">
|
---|
| 136 | <term><command>ifnames</command> </term>
|
---|
| 137 | <listitem>
|
---|
| 138 | <para>Helps when writing <filename>configure.in</filename> files
|
---|
| 139 | for a software package; it prints the identifiers that the package
|
---|
| 140 | uses in C preprocessor conditionals. If a package has already been set
|
---|
| 141 | up to have some portability, this program can help determine what
|
---|
| 142 | <command>configure</command> needs to check for. It can also fill in
|
---|
| 143 | gaps in a <filename>configure.in</filename> file generated by
|
---|
| 144 | <command>autoscan</command></para>
|
---|
| 145 | <indexterm zone="ch-system-autoconf ifnames">
|
---|
| 146 | <primary sortas="b-ifnames">ifnames</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
| 151 | </variablelist>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | </sect1>
|
---|