[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 | %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 | <segmentedlist>
|
---|
| 24 | <segtitle>&dependencies;</segtitle>
|
---|
| 25 |
|
---|
| 26 | <seglistitem>
|
---|
| 27 | <seg>Bash, Coreutils, Diffutils, Grep, M4, Make, Perl, and Sed</seg>
|
---|
| 28 | </seglistitem>
|
---|
| 29 | </segmentedlist>
|
---|
| 30 |
|
---|
| 31 | </sect2>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="installation">
|
---|
| 34 | <title>Installation of Autoconf</title>
|
---|
| 35 |
|
---|
| 36 | <para os="a">Prepare Autoconf for compilation:</para>
|
---|
| 37 |
|
---|
| 38 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 39 |
|
---|
| 40 | <para os="b">Compile the package:</para>
|
---|
| 41 |
|
---|
| 42 | <screen os="c"><userinput>make</userinput></screen>
|
---|
| 43 |
|
---|
[93aa336] | 44 | <para os="d">To test the results, issue:
|
---|
| 45 | <userinput>make check</userinput>.</para>
|
---|
[3f8be484] | 46 |
|
---|
| 47 | <para os="e">Install the package:</para>
|
---|
| 48 |
|
---|
| 49 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2 id="contents-autoconf" role="content">
|
---|
| 54 | <title>Contents of Autoconf</title>
|
---|
| 55 |
|
---|
| 56 | <segmentedlist>
|
---|
| 57 | <segtitle>Installed programs</segtitle>
|
---|
| 58 |
|
---|
| 59 | <seglistitem>
|
---|
| 60 | <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
|
---|
| 61 | and ifnames</seg>
|
---|
| 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>
|
---|