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