[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 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 |
|
---|
[7cd7f99] | 30 | <screen os="b"><userinput>./configure \
|
---|
| 31 | --prefix=/usr</userinput></screen>
|
---|
[3f8be484] | 32 |
|
---|
[e0e40d3] | 33 | <para os="c">Compile the package:</para>
|
---|
[3f8be484] | 34 |
|
---|
[e0e40d3] | 35 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 36 |
|
---|
[686839b] | 37 | <para os="e">To test the results, issue:</para>
|
---|
| 38 |
|
---|
| 39 | <screen os="e2"><userinput remap="test">make check VERBOSE=yes</userinput></screen>
|
---|
[24b004c] | 40 |
|
---|
[686839b] | 41 | <para os="e3">17 tests are skipped that use Automake and different GCC languages.
|
---|
| 42 | For full test coverage, Autoconf can be re-tested after Automake has been
|
---|
| 43 | installed.</para>
|
---|
[3f8be484] | 44 |
|
---|
[e0e40d3] | 45 | <para os="f">Install the package:</para>
|
---|
[3f8be484] | 46 |
|
---|
[e0e40d3] | 47 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 48 |
|
---|
| 49 | </sect2>
|
---|
| 50 |
|
---|
| 51 | <sect2 id="contents-autoconf" role="content">
|
---|
| 52 | <title>Contents of Autoconf</title>
|
---|
| 53 |
|
---|
| 54 | <segmentedlist>
|
---|
| 55 | <segtitle>Installed programs</segtitle>
|
---|
[61ad0b7f] | 56 | <segtitle>Installed directory</segtitle>
|
---|
[3f8be484] | 57 |
|
---|
| 58 | <seglistitem>
|
---|
| 59 | <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
|
---|
[f698055a] | 60 | ifnames</seg>
|
---|
[61ad0b7f] | 61 | <seg>/usr/share/autoconf</seg>
|
---|
[3f8be484] | 62 | </seglistitem>
|
---|
| 63 | </segmentedlist>
|
---|
| 64 |
|
---|
| 65 | <variablelist>
|
---|
| 66 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 67 | <?dbfo list-presentation="list"?>
|
---|
| 68 | <?dbhtml list-presentation="table"?>
|
---|
| 69 |
|
---|
| 70 | <varlistentry id="autoconf">
|
---|
| 71 | <term><command>autoconf</command></term>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>Produces shell scripts that automatically configure software
|
---|
| 74 | source code packages to adapt to many kinds of Unix-like systems.
|
---|
| 75 | The configuration scripts it produces are independent—running
|
---|
| 76 | them does not require the <command>autoconf</command> program.</para>
|
---|
| 77 | <indexterm zone="ch-system-autoconf autoconf">
|
---|
| 78 | <primary sortas="b-autoconf">autoconf</primary>
|
---|
| 79 | </indexterm>
|
---|
| 80 | </listitem>
|
---|
| 81 | </varlistentry>
|
---|
| 82 |
|
---|
| 83 | <varlistentry id="autoheader">
|
---|
| 84 | <term><command>autoheader</command> </term>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para>A tool for creating template files of C
|
---|
| 87 | <emphasis>#define</emphasis> statements for configure to use</para>
|
---|
| 88 | <indexterm zone="ch-system-autoconf autoheader">
|
---|
| 89 | <primary sortas="b-autoheader">autoheader</primary>
|
---|
| 90 | </indexterm>
|
---|
| 91 | </listitem>
|
---|
| 92 | </varlistentry>
|
---|
| 93 |
|
---|
| 94 | <varlistentry id="autom4te">
|
---|
| 95 | <term><command>autom4te</command></term>
|
---|
| 96 | <listitem>
|
---|
| 97 | <para>A wrapper for the M4 macro processor</para>
|
---|
| 98 | <indexterm zone="ch-system-autoconf autom4te">
|
---|
| 99 | <primary sortas="b-autom4te">autom4te</primary>
|
---|
| 100 | </indexterm>
|
---|
| 101 | </listitem>
|
---|
| 102 | </varlistentry>
|
---|
| 103 |
|
---|
| 104 | <varlistentry id="autoreconf">
|
---|
| 105 | <term><command>autoreconf</command></term>
|
---|
| 106 | <listitem>
|
---|
| 107 | <para>Automatically runs <command>autoconf</command>,
|
---|
| 108 | <command>autoheader</command>, <command>aclocal</command>,
|
---|
| 109 | <command>automake</command>, <command>gettextize</command>, and
|
---|
| 110 | <command>libtoolize</command> in the correct order to save time
|
---|
| 111 | when changes are made to <command>autoconf</command> and
|
---|
| 112 | <command>automake</command> template files</para>
|
---|
| 113 | <indexterm zone="ch-system-autoconf autoreconf">
|
---|
| 114 | <primary sortas="b-autoreconf">autoreconf</primary>
|
---|
| 115 | </indexterm>
|
---|
| 116 | </listitem>
|
---|
| 117 | </varlistentry>
|
---|
| 118 |
|
---|
| 119 | <varlistentry id="autoscan">
|
---|
| 120 | <term><command>autoscan</command> </term>
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>Helps to create a <filename>configure.in</filename> file for a
|
---|
| 123 | software package; it examines the source files in a directory tree,
|
---|
| 124 | searching them for common portability issues, and creates a
|
---|
| 125 | <filename>configure.scan</filename> file that serves as as a
|
---|
| 126 | preliminary <filename>configure.in</filename> file for the package</para>
|
---|
| 127 | <indexterm zone="ch-system-autoconf autoscan">
|
---|
| 128 | <primary sortas="b-autoscan">autoscan</primary>
|
---|
| 129 | </indexterm>
|
---|
| 130 | </listitem>
|
---|
| 131 | </varlistentry>
|
---|
| 132 |
|
---|
| 133 | <varlistentry id="autoupdate">
|
---|
| 134 | <term><command>autoupdate</command></term>
|
---|
| 135 | <listitem>
|
---|
| 136 | <para>Modifies a <filename>configure.in</filename> file that still
|
---|
| 137 | calls <command>autoconf</command> macros by their old names to use the
|
---|
| 138 | current macro names</para>
|
---|
| 139 | <indexterm zone="ch-system-autoconf autoupdate">
|
---|
| 140 | <primary sortas="b-autoupdate">autoupdate</primary>
|
---|
| 141 | </indexterm>
|
---|
| 142 | </listitem>
|
---|
| 143 | </varlistentry>
|
---|
| 144 |
|
---|
| 145 | <varlistentry id="ifnames">
|
---|
| 146 | <term><command>ifnames</command> </term>
|
---|
| 147 | <listitem>
|
---|
| 148 | <para>Helps when writing <filename>configure.in</filename> files
|
---|
| 149 | for a software package; it prints the identifiers that the package
|
---|
| 150 | uses in C preprocessor conditionals. If a package has already been set
|
---|
| 151 | up to have some portability, this program can help determine what
|
---|
| 152 | <command>configure</command> needs to check for. It can also fill in
|
---|
| 153 | gaps in a <filename>configure.in</filename> file generated by
|
---|
| 154 | <command>autoscan</command></para>
|
---|
| 155 | <indexterm zone="ch-system-autoconf ifnames">
|
---|
| 156 | <primary sortas="b-ifnames">ifnames</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | </variablelist>
|
---|
| 162 |
|
---|
| 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | </sect1>
|
---|