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