[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[81fd230] | 6 | <sect1 id="ch-system-autoconf" role="wrap">
|
---|
[673b0d8] | 7 | <title>Autoconf-&autoconf-version;</title>
|
---|
| 8 | <?dbhtml filename="autoconf.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-autoconf"><primary sortas="a-Autoconf">Autoconf</primary></indexterm>
|
---|
[6370fa6] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[81fd230] | 13 | <para>The Autoconf package contains programs for producing shell scripts that
|
---|
| 14 | can automatically configure source code.</para>
|
---|
[5888299] | 15 |
|
---|
[a001133] | 16 | <segmentedlist>
|
---|
| 17 | <segtitle>&buildtime;</segtitle>
|
---|
| 18 | <segtitle>&diskspace;</segtitle>
|
---|
[fc1024a] | 19 | <seglistitem><seg>0.5 SBU</seg><seg>8.5 MB</seg></seglistitem>
|
---|
[a001133] | 20 | </segmentedlist>
|
---|
[673b0d8] | 21 |
|
---|
[81fd230] | 22 | <segmentedlist>
|
---|
[45992ae] | 23 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 24 | <seglistitem><seg>Bash, Coreutils, Diffutils, Grep,
|
---|
| 25 | M4, Make, Perl, and Sed</seg></seglistitem>
|
---|
| 26 | </segmentedlist>
|
---|
[a001133] | 27 | </sect2>
|
---|
[3554fa3a] | 28 |
|
---|
[a001133] | 29 | <sect2 role="installation">
|
---|
[73aedd1d] | 30 | <title>Installation of Autoconf</title>
|
---|
| 31 |
|
---|
| 32 | <para>Prepare Autoconf for compilation:</para>
|
---|
| 33 |
|
---|
| 34 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para>Compile the package:</para>
|
---|
| 37 |
|
---|
| 38 | <screen><userinput>make</userinput></screen>
|
---|
| 39 |
|
---|
[673b0d8] | 40 | <para>To test the results, issue:
|
---|
[81fd230] | 41 | <userinput>make check</userinput>. This takes a long time, about 2 SBUs.</para>
|
---|
[73aedd1d] | 42 |
|
---|
[673b0d8] | 43 | <para>Install the package:</para>
|
---|
[73aedd1d] | 44 |
|
---|
| 45 | <screen><userinput>make install</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | </sect2>
|
---|
[6370fa6] | 48 |
|
---|
[c6cb3aa] | 49 | <sect2 id="contents-autoconf" role="content"><title>Contents of Autoconf</title>
|
---|
[673b0d8] | 50 |
|
---|
[81fd230] | 51 | <segmentedlist>
|
---|
| 52 | <segtitle>Installed programs</segtitle>
|
---|
| 53 | <seglistitem><seg>autoconf, autoheader, autom4te,
|
---|
| 54 | autoreconf, autoscan, autoupdate, and ifnames</seg></seglistitem>
|
---|
| 55 | </segmentedlist>
|
---|
| 56 |
|
---|
| 57 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 58 | <?dbfo list-presentation="list"?>
|
---|
[8f97096] | 59 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 60 |
|
---|
| 61 | <varlistentry id="autoconf">
|
---|
| 62 | <term><command>autoconf</command></term>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Produces shell scripts that automatically
|
---|
| 65 | configure software source code packages to adapt to many kinds of
|
---|
| 66 | Unix-like systems. The configuration scripts it produces are
|
---|
| 67 | independent—running them does not require the <command>autoconf</command> program.</para>
|
---|
| 68 | <indexterm zone="ch-system-autoconf autoconf"><primary sortas="b-autoconf">autoconf</primary></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"><primary sortas="b-autoheader">autoheader</primary></indexterm>
|
---|
| 78 | </listitem>
|
---|
| 79 | </varlistentry>
|
---|
| 80 |
|
---|
| 81 | <varlistentry id="autom4te">
|
---|
| 82 | <term><command>autom4te</command></term>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>A wrapper for the M4 macro processor</para>
|
---|
| 85 | <indexterm zone="ch-system-autoconf autom4te"><primary sortas="b-autom4te">autom4te</primary></indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="autoreconf">
|
---|
| 90 | <term><command>autoreconf</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>Automatically runs <command>autoconf</command>,
|
---|
| 93 | <command>autoheader</command>, <command>aclocal</command>,
|
---|
| 94 | <command>automake</command>, <command>gettextize</command>, and
|
---|
| 95 | <command>libtoolize</command> in the correct order to save time
|
---|
| 96 | when changes are made to <command>autoconf</command> and
|
---|
| 97 | <command>automake</command> template files</para>
|
---|
| 98 | <indexterm zone="ch-system-autoconf autoreconf"><primary sortas="b-autoreconf">autoreconf</primary></indexterm>
|
---|
| 99 | </listitem>
|
---|
| 100 | </varlistentry>
|
---|
| 101 |
|
---|
| 102 | <varlistentry id="autoscan">
|
---|
| 103 | <term><command>autoscan</command> </term>
|
---|
| 104 | <listitem>
|
---|
| 105 | <para>Helps to create a <filename>configure.in</filename> file for a
|
---|
| 106 | software package; it examines the source files in a directory tree,
|
---|
| 107 | searching them for common portability issues, and creates a
|
---|
| 108 | <filename>configure.scan</filename> file that serves as as a
|
---|
| 109 | preliminary <filename>configure.in</filename> file for the
|
---|
| 110 | package</para>
|
---|
| 111 | <indexterm zone="ch-system-autoconf autoscan"><primary sortas="b-autoscan">autoscan</primary></indexterm>
|
---|
| 112 | </listitem>
|
---|
| 113 | </varlistentry>
|
---|
| 114 |
|
---|
| 115 | <varlistentry id="autoupdate">
|
---|
| 116 | <term><command>autoupdate</command></term>
|
---|
| 117 | <listitem>
|
---|
| 118 | <para>Modifies a <filename>configure.in</filename> file that still
|
---|
| 119 | calls <command>autoconf</command> macros by their old names to use the
|
---|
| 120 | current macro names</para>
|
---|
| 121 | <indexterm zone="ch-system-autoconf autoupdate"><primary sortas="b-autoupdate">autoupdate</primary></indexterm>
|
---|
[57ef036] | 122 | <beginpage/></listitem>
|
---|
[81fd230] | 123 | </varlistentry>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="ifnames">
|
---|
| 126 | <term><command>ifnames</command> </term>
|
---|
| 127 | <listitem>
|
---|
| 128 | <para>Helps when writing <filename>configure.in</filename> files
|
---|
| 129 | for a software package; it prints the identifiers that the package
|
---|
| 130 | uses in C preprocessor conditionals. If a package has already been set
|
---|
| 131 | up to have some portability, this program can help determine what
|
---|
| 132 | <command>configure</command> needs to check for. It can also fill in
|
---|
| 133 | gaps in a <filename>configure.in</filename> file generated by
|
---|
| 134 | <command>autoscan</command></para>
|
---|
| 135 | <indexterm zone="ch-system-autoconf ifnames"><primary sortas="b-ifnames">ifnames</primary></indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
| 138 | </variablelist>
|
---|
[673b0d8] | 139 |
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | </sect1>
|
---|
[81fd230] | 143 |
|
---|