source: chapter06/autoconf.xml@ b083a692

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.3 6.4 6.5 6.6 6.7 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 b083a692 was b083a692, checked in by Matthew Burgess <matthew@…>, 18 years ago

Fix an incompatibility between autoconf's testsuite and m4-1.4.5

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

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