source: chapter06/autoconf.xml@ 320cf3b

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 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 320cf3b was 31bf7e7, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Update to elfutils-0.175
Update to tcl-8.6.9
Update to openssl-1.1.1a
Update to linux-4.19.3
Update to systemd-239-25d1ba1
Add 'wheel' group to /etc/groups for systemd
Add a sed to fix a test in autoconf

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

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