source: chapter06/autoconf.xml@ 16dc51d

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 8.4 8.4-rc1 9.0 9.0-rc1 9.1 9.1-rc1 arm cross-chap5 ml-11.0 multilib old-trunk trunk xry111/clfs-ng xry111/git-transition xry111/glibc-2.34 xry111/lfs-next xry111/tester-nohack xry111/usr-move
Last change on this file since 16dc51d was 16dc51d, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to linux-4.20.1.
Update to diffutils-3.7.
Update to tar-1.31.
Update to man-db-2.8.5.
Update to bash-5.0.
Update to readline-8.0.
Update to iproute2-4.20.0.
Update to util-linux-2.33.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11499 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 7.0 KB
Line 
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 <sect1info condition="script">
12 <productname>autoconf</productname>
13 <productnumber>&autoconf-version;</productnumber>
14 <address>&autoconf-url;</address>
15 </sect1info>
16
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/>
25
26 <para>The Autoconf package contains programs for producing shell scripts that
27 can automatically configure source code.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&autoconf-ch6-sbu;</seg>
35 <seg>&autoconf-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Autoconf</title>
43
44 <para>First, fix a bug generated by Perl 5.28.</para>
45
46<screen><userinput remap="pre">sed '361 s/{/\\{/' -i bin/autoscan.in</userinput></screen>
47
48 <para>Prepare Autoconf for compilation:</para>
49
50<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
51
52 <para>Compile the package:</para>
53
54<screen><userinput remap="make">make</userinput></screen>
55<!--
56 <para>To test the results, issue:</para>-->
57 <para>The test suite is currently broken by bash-5 and libtool-2.4.3.
58 To run the tests anyway, issue:</para>
59
60<screen><userinput remap="test">make check</userinput></screen>
61<!--
62 <para>This takes a long time, about &autoconf-ch6-sbu-tests; SBUs. In addition,
63 several tests are skipped that use Automake. For full test coverage,
64 Autoconf can be re-tested after Automake has been installed. In addition,
65 two tests fail due to changes in libtool-2.4.3 and later.</para>
66
67 <note><para>The test time for autoconf can be reduced significantly on a
68 system with multiple cores. To do this, append
69 <command>TESTSUITEFLAGS=-j&lt;N&gt;</command> to the line above. For
70 instance, using -j4 can reduce the test time by over 60
71 percent.</para></note>
72-->
73 <para>Install the package:</para>
74
75<screen><userinput remap="install">make install</userinput></screen>
76
77 </sect2>
78
79 <sect2 id="contents-autoconf" role="content">
80 <title>Contents of Autoconf</title>
81
82 <segmentedlist>
83 <segtitle>Installed programs</segtitle>
84 <segtitle>Installed directory</segtitle>
85
86 <seglistitem>
87 <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
88 and ifnames</seg>
89 <seg>/usr/share/autoconf</seg>
90 </seglistitem>
91 </segmentedlist>
92
93 <variablelist>
94 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
95 <?dbfo list-presentation="list"?>
96 <?dbhtml list-presentation="table"?>
97
98 <varlistentry id="autoconf">
99 <term><command>autoconf</command></term>
100 <listitem>
101 <para>Produces shell scripts that automatically configure software
102 source code packages to adapt to many kinds of Unix-like systems;
103 the configuration scripts it produces are independent&mdash;running
104 them does not require the <command>autoconf</command> program</para>
105 <indexterm zone="ch-system-autoconf autoconf">
106 <primary sortas="b-autoconf">autoconf</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry id="autoheader">
112 <term><command>autoheader</command> </term>
113 <listitem>
114 <para>A tool for creating template files of C
115 <emphasis>#define</emphasis> statements for configure to use</para>
116 <indexterm zone="ch-system-autoconf autoheader">
117 <primary sortas="b-autoheader">autoheader</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry id="autom4te">
123 <term><command>autom4te</command></term>
124 <listitem>
125 <para>A wrapper for the M4 macro processor</para>
126 <indexterm zone="ch-system-autoconf autom4te">
127 <primary sortas="b-autom4te">autom4te</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="autoreconf">
133 <term><command>autoreconf</command></term>
134 <listitem>
135 <para>Automatically runs <command>autoconf</command>,
136 <command>autoheader</command>, <command>aclocal</command>,
137 <command>automake</command>, <command>gettextize</command>, and
138 <command>libtoolize</command> in the correct order to save time
139 when changes are made to <command>autoconf</command> and
140 <command>automake</command> template files</para>
141 <indexterm zone="ch-system-autoconf autoreconf">
142 <primary sortas="b-autoreconf">autoreconf</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="autoscan">
148 <term><command>autoscan</command> </term>
149 <listitem>
150 <para>Helps to create a <filename>configure.in</filename> file for a
151 software package; it examines the source files in a directory tree,
152 searching them for common portability issues, and creates a
153 <filename>configure.scan</filename> file that serves as as a
154 preliminary <filename>configure.in</filename> file for the
155 package</para>
156 <indexterm zone="ch-system-autoconf autoscan">
157 <primary sortas="b-autoscan">autoscan</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="autoupdate">
163 <term><command>autoupdate</command></term>
164 <listitem>
165 <para>Modifies a <filename>configure.in</filename> file that still
166 calls <command>autoconf</command> macros by their old names to use the
167 current macro names</para>
168 <indexterm zone="ch-system-autoconf autoupdate">
169 <primary sortas="b-autoupdate">autoupdate</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 <varlistentry id="ifnames">
175 <term><command>ifnames</command> </term>
176 <listitem>
177 <para>Helps when writing <filename>configure.in</filename> files
178 for a software package; it prints the identifiers that the package
179 uses in C preprocessor conditionals [If a package has already been set
180 up to have some portability, this program can help determine what
181 <command>configure</command> needs to check for. It can also fill in
182 gaps in a <filename>configure.in</filename> file generated by
183 <command>autoscan</command>.]</para>
184 <indexterm zone="ch-system-autoconf ifnames">
185 <primary sortas="b-ifnames">ifnames</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 </variablelist>
191
192 </sect2>
193
194</sect1>
Note: See TracBrowser for help on using the repository browser.