source: chapter08/autoconf.xml

trunk
Last change on this file was 7152faa, checked in by Pierre Labastie <pierre.labastie@…>, 3 months ago

Change all xml files to utf-8 encoding

  • Property mode set to 100644
File size: 6.3 KB
RevLine 
[7152faa]1<?xml version="1.0" encoding="UTF-8"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[50e693d]7
[81fd230]8<sect1 id="ch-system-autoconf" role="wrap">
[50e693d]9 <?dbhtml filename="autoconf.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>autoconf</productname>
13 <productnumber>&autoconf-version;</productnumber>
14 <address>&autoconf-url;</address>
15 </sect1info>
16
[50e693d]17 <title>Autoconf-&autoconf-version;</title>
18
19 <indexterm zone="ch-system-autoconf">
20 <primary sortas="a-Autoconf">Autoconf</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
[673b0d8]25
[50e693d]26 <para>The Autoconf package contains programs for producing shell scripts that
27 can automatically configure source code.</para>
[6370fa6]28
[50e693d]29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
[5888299]32
[50e693d]33 <seglistitem>
[fb386e0]34 <seg>&autoconf-fin-sbu;</seg>
35 <seg>&autoconf-fin-du;</seg>
[50e693d]36 </seglistitem>
37 </segmentedlist>
[673b0d8]38
[50e693d]39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Autoconf</title>
[31bf7e7]43
[50e693d]44 <para>Prepare Autoconf for compilation:</para>
[73aedd1d]45
[0445a3d]46<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
[73aedd1d]47
[50e693d]48 <para>Compile the package:</para>
[73aedd1d]49
[0445a3d]50<screen><userinput remap="make">make</userinput></screen>
[ec786b74]51
52 <para>To test the results, issue:</para>
[16dc51d]53<!--
54 <para>The test suite is currently broken by bash-5 and libtool-2.4.3.
55 To run the tests anyway, issue:</para>
[ec786b74]56 -->
[0445a3d]57<screen><userinput remap="test">make check</userinput></screen>
[ba011a9]58
[50e693d]59 <para>Install the package:</para>
[73aedd1d]60
[0445a3d]61<screen><userinput remap="install">make install</userinput></screen>
[73aedd1d]62
[50e693d]63 </sect2>
64
65 <sect2 id="contents-autoconf" role="content">
66 <title>Contents of Autoconf</title>
67
68 <segmentedlist>
69 <segtitle>Installed programs</segtitle>
[fe05b08]70 <segtitle>Installed directory</segtitle>
[50e693d]71
72 <seglistitem>
73 <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
74 and ifnames</seg>
[fe05b08]75 <seg>/usr/share/autoconf</seg>
[50e693d]76 </seglistitem>
77 </segmentedlist>
78
79 <variablelist>
80 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
81 <?dbfo list-presentation="list"?>
82 <?dbhtml list-presentation="table"?>
83
84 <varlistentry id="autoconf">
85 <term><command>autoconf</command></term>
86 <listitem>
87 <para>Produces shell scripts that automatically configure software
[7bb9fda]88 source code packages to adapt to many kinds of Unix-like systems;
89 the configuration scripts it produces are independent&mdash;running
[afba93b]90 them does not require the <command>autoconf</command> program</para>
[50e693d]91 <indexterm zone="ch-system-autoconf autoconf">
92 <primary sortas="b-autoconf">autoconf</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
96
97 <varlistentry id="autoheader">
98 <term><command>autoheader</command> </term>
99 <listitem>
100 <para>A tool for creating template files of C
101 <emphasis>#define</emphasis> statements for configure to use</para>
102 <indexterm zone="ch-system-autoconf autoheader">
103 <primary sortas="b-autoheader">autoheader</primary>
104 </indexterm>
105 </listitem>
106 </varlistentry>
107
108 <varlistentry id="autom4te">
109 <term><command>autom4te</command></term>
110 <listitem>
111 <para>A wrapper for the M4 macro processor</para>
112 <indexterm zone="ch-system-autoconf autom4te">
113 <primary sortas="b-autom4te">autom4te</primary>
114 </indexterm>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry id="autoreconf">
119 <term><command>autoreconf</command></term>
120 <listitem>
121 <para>Automatically runs <command>autoconf</command>,
122 <command>autoheader</command>, <command>aclocal</command>,
123 <command>automake</command>, <command>gettextize</command>, and
124 <command>libtoolize</command> in the correct order to save time
125 when changes are made to <command>autoconf</command> and
126 <command>automake</command> template files</para>
127 <indexterm zone="ch-system-autoconf autoreconf">
128 <primary sortas="b-autoreconf">autoreconf</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="autoscan">
134 <term><command>autoscan</command> </term>
135 <listitem>
136 <para>Helps to create a <filename>configure.in</filename> file for a
137 software package; it examines the source files in a directory tree,
138 searching them for common portability issues, and creates a
[3864d23]139 <filename>configure.scan</filename> file that serves as a
[50e693d]140 preliminary <filename>configure.in</filename> file for the
141 package</para>
142 <indexterm zone="ch-system-autoconf autoscan">
143 <primary sortas="b-autoscan">autoscan</primary>
144 </indexterm>
145 </listitem>
146 </varlistentry>
147
148 <varlistentry id="autoupdate">
149 <term><command>autoupdate</command></term>
150 <listitem>
151 <para>Modifies a <filename>configure.in</filename> file that still
152 calls <command>autoconf</command> macros by their old names to use the
153 current macro names</para>
154 <indexterm zone="ch-system-autoconf autoupdate">
155 <primary sortas="b-autoupdate">autoupdate</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="ifnames">
161 <term><command>ifnames</command> </term>
162 <listitem>
163 <para>Helps when writing <filename>configure.in</filename> files
164 for a software package; it prints the identifiers that the package
[7bb9fda]165 uses in C preprocessor conditionals [If a package has already been set
[50e693d]166 up to have some portability, this program can help determine what
167 <command>configure</command> needs to check for. It can also fill in
168 gaps in a <filename>configure.in</filename> file generated by
[7bb9fda]169 <command>autoscan</command>.]</para>
[50e693d]170 <indexterm zone="ch-system-autoconf ifnames">
171 <primary sortas="b-ifnames">ifnames</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 </variablelist>
177
178 </sect2>
[673b0d8]179
180</sect1>
Note: See TracBrowser for help on using the repository browser.