source: chapter06/autoconf.xml@ 3fc2001

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 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 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 3fc2001 was 3fc2001, checked in by Matthew Burgess <matthew@…>, 14 years ago

Move the fix for the Autoconf underquoting bug from Pkg-config to Autoconf.

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

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