source: chapter08/autoconf.xml@ 488b43a

11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng 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 488b43a was 488b43a, checked in by Bruce Dubbs <bdubbs@…>, 19 months ago

New packages and an xml fix.
Update to bc-6.0.4.
Update to linux-5.19.12.
Fix an xml error.

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