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