[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[50e693d] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-autoconf" role="wrap">
|
---|
[50e693d] | 9 | <?dbhtml filename="autoconf.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>autoconf</productname>
|
---|
| 13 | <productnumber>&autoconf-version;</productnumber>
|
---|
| 14 | <address>&autoconf-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[50e693d] | 17 | <title>Autoconf-&autoconf-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-autoconf">
|
---|
| 20 | <primary sortas="a-Autoconf">Autoconf</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
[673b0d8] | 25 |
|
---|
[50e693d] | 26 | <para>The Autoconf package contains programs for producing shell scripts that
|
---|
| 27 | can automatically configure source code.</para>
|
---|
[6370fa6] | 28 |
|
---|
[50e693d] | 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 32 |
|
---|
[50e693d] | 33 | <seglistitem>
|
---|
[e4a5635] | 34 | <seg>&autoconf-ch6-sbu;</seg>
|
---|
| 35 | <seg>&autoconf-ch6-du;</seg>
|
---|
[50e693d] | 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
[673b0d8] | 38 |
|
---|
[50e693d] | 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of Autoconf</title>
|
---|
| 43 |
|
---|
| 44 | <para>Prepare Autoconf for compilation:</para>
|
---|
[73aedd1d] | 45 |
|
---|
[0445a3d] | 46 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
[73aedd1d] | 47 |
|
---|
[50e693d] | 48 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 49 |
|
---|
[0445a3d] | 50 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 51 |
|
---|
[0445a3d] | 52 | <para>To test the results, issue:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
| 55 |
|
---|
| 56 | <para>This takes a long time, about 3 SBUs. In addition, 6 tests are skipped
|
---|
| 57 | that use Automake. For full test coverage, Autoconf can be re-tested
|
---|
[3685bb6] | 58 | after Automake has been installed.</para>
|
---|
[73aedd1d] | 59 |
|
---|
[50e693d] | 60 | <para>Install the package:</para>
|
---|
[73aedd1d] | 61 |
|
---|
[0445a3d] | 62 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 63 |
|
---|
[50e693d] | 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2 id="contents-autoconf" role="content">
|
---|
| 67 | <title>Contents of Autoconf</title>
|
---|
| 68 |
|
---|
| 69 | <segmentedlist>
|
---|
| 70 | <segtitle>Installed programs</segtitle>
|
---|
| 71 |
|
---|
| 72 | <seglistitem>
|
---|
| 73 | <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
|
---|
| 74 | and ifnames</seg>
|
---|
| 75 | </seglistitem>
|
---|
| 76 | </segmentedlist>
|
---|
| 77 |
|
---|
| 78 | <variablelist>
|
---|
| 79 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 80 | <?dbfo list-presentation="list"?>
|
---|
| 81 | <?dbhtml list-presentation="table"?>
|
---|
| 82 |
|
---|
| 83 | <varlistentry id="autoconf">
|
---|
| 84 | <term><command>autoconf</command></term>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para>Produces shell scripts that automatically configure software
|
---|
| 87 | source code packages to adapt to many kinds of Unix-like systems.
|
---|
| 88 | The configuration scripts it produces are independent—running
|
---|
| 89 | them does not require the <command>autoconf</command> program.</para>
|
---|
| 90 | <indexterm zone="ch-system-autoconf autoconf">
|
---|
| 91 | <primary sortas="b-autoconf">autoconf</primary>
|
---|
| 92 | </indexterm>
|
---|
| 93 | </listitem>
|
---|
| 94 | </varlistentry>
|
---|
| 95 |
|
---|
| 96 | <varlistentry id="autoheader">
|
---|
| 97 | <term><command>autoheader</command> </term>
|
---|
| 98 | <listitem>
|
---|
| 99 | <para>A tool for creating template files of C
|
---|
| 100 | <emphasis>#define</emphasis> statements for configure to use</para>
|
---|
| 101 | <indexterm zone="ch-system-autoconf autoheader">
|
---|
| 102 | <primary sortas="b-autoheader">autoheader</primary>
|
---|
| 103 | </indexterm>
|
---|
| 104 | </listitem>
|
---|
| 105 | </varlistentry>
|
---|
| 106 |
|
---|
| 107 | <varlistentry id="autom4te">
|
---|
| 108 | <term><command>autom4te</command></term>
|
---|
| 109 | <listitem>
|
---|
| 110 | <para>A wrapper for the M4 macro processor</para>
|
---|
| 111 | <indexterm zone="ch-system-autoconf autom4te">
|
---|
| 112 | <primary sortas="b-autom4te">autom4te</primary>
|
---|
| 113 | </indexterm>
|
---|
| 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
| 116 |
|
---|
| 117 | <varlistentry id="autoreconf">
|
---|
| 118 | <term><command>autoreconf</command></term>
|
---|
| 119 | <listitem>
|
---|
| 120 | <para>Automatically runs <command>autoconf</command>,
|
---|
| 121 | <command>autoheader</command>, <command>aclocal</command>,
|
---|
| 122 | <command>automake</command>, <command>gettextize</command>, and
|
---|
| 123 | <command>libtoolize</command> in the correct order to save time
|
---|
| 124 | when changes are made to <command>autoconf</command> and
|
---|
| 125 | <command>automake</command> template files</para>
|
---|
| 126 | <indexterm zone="ch-system-autoconf autoreconf">
|
---|
| 127 | <primary sortas="b-autoreconf">autoreconf</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
| 131 |
|
---|
| 132 | <varlistentry id="autoscan">
|
---|
| 133 | <term><command>autoscan</command> </term>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>Helps to create a <filename>configure.in</filename> file for a
|
---|
| 136 | software package; it examines the source files in a directory tree,
|
---|
| 137 | searching them for common portability issues, and creates a
|
---|
| 138 | <filename>configure.scan</filename> file that serves as as a
|
---|
| 139 | preliminary <filename>configure.in</filename> file for the
|
---|
| 140 | package</para>
|
---|
| 141 | <indexterm zone="ch-system-autoconf autoscan">
|
---|
| 142 | <primary sortas="b-autoscan">autoscan</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="autoupdate">
|
---|
| 148 | <term><command>autoupdate</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>Modifies a <filename>configure.in</filename> file that still
|
---|
| 151 | calls <command>autoconf</command> macros by their old names to use the
|
---|
| 152 | current macro names</para>
|
---|
| 153 | <indexterm zone="ch-system-autoconf autoupdate">
|
---|
| 154 | <primary sortas="b-autoupdate">autoupdate</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="ifnames">
|
---|
| 160 | <term><command>ifnames</command> </term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>Helps when writing <filename>configure.in</filename> files
|
---|
| 163 | for a software package; it prints the identifiers that the package
|
---|
| 164 | uses in C preprocessor conditionals. If a package has already been set
|
---|
| 165 | up to have some portability, this program can help determine what
|
---|
| 166 | <command>configure</command> needs to check for. It can also fill in
|
---|
| 167 | gaps in a <filename>configure.in</filename> file generated by
|
---|
| 168 | <command>autoscan</command></para>
|
---|
| 169 | <indexterm zone="ch-system-autoconf ifnames">
|
---|
| 170 | <primary sortas="b-ifnames">ifnames</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | </variablelist>
|
---|
| 176 |
|
---|
| 177 | </sect2>
|
---|
[673b0d8] | 178 |
|
---|
| 179 | </sect1>
|
---|