source: BOOK/final-system/common/autoconf.xml@ 8d45c06

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8d45c06 was 435b0aa, checked in by Chris Staub <chris@…>, 18 years ago

Text updates

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