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