source: chapter06/autoconf.xml@ 79286f58

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 79286f58 was 79286f58, checked in by Dan Nichilson <dnicholson@…>, 17 years ago

Patch from Chris Staub with various fixes

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

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