source: chapter06/autoconf.xml@ 81fd230

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.1 6.1.1 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 81fd230 was 81fd230, checked in by Gerard Beekmans <gerard@…>, 19 years ago

Trunk is now identical to Testing

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

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-autoconf" role="wrap">
7<title>Autoconf-&autoconf-version;</title>
8<?dbhtml filename="autoconf.html"?>
9
10<indexterm zone="ch-system-autoconf"><primary sortas="a-Autoconf">Autoconf</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Autoconf package contains programs for producing shell scripts that
14can automatically configure source code.</para>
15
16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.5 SBU</seg><seg>7.7 MB</seg></seglistitem>
20</segmentedlist>
21
22<segmentedlist>
23<segtitle>Autoconf installation depends on</segtitle>
24<seglistitem><seg>Bash, Coreutils, Diffutils, Grep,
25M4, Make, Perl, and Sed</seg></seglistitem>
26</segmentedlist>
27</sect2>
28
29<sect2 role="installation">
30<title>Installation of Autoconf</title>
31
32<para>Prepare Autoconf for compilation:</para>
33
34<screen><userinput>./configure --prefix=/usr</userinput></screen>
35
36<para>Compile the package:</para>
37
38<screen><userinput>make</userinput></screen>
39
40<para>To test the results, issue:
41<userinput>make check</userinput>. This takes a long time, about 2 SBUs.</para>
42
43<para>Install the package:</para>
44
45<screen><userinput>make install</userinput></screen>
46
47</sect2>
48
49<sect2 id="contents-autoconf" role="content"><title>Contents of Autoconf</title>
50
51<segmentedlist>
52<segtitle>Installed programs</segtitle>
53<seglistitem><seg>autoconf, autoheader, autom4te,
54autoreconf, autoscan, autoupdate, and ifnames</seg></seglistitem>
55</segmentedlist>
56
57<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
58<?dbfo list-presentation="list"?>
59
60<varlistentry id="autoconf">
61<term><command>autoconf</command></term>
62<listitem>
63<para>Produces shell scripts that automatically
64configure software source code packages to adapt to many kinds of
65Unix-like systems. The configuration scripts it produces are
66independent&mdash;running them does not require the <command>autoconf</command> program.</para>
67<indexterm zone="ch-system-autoconf autoconf"><primary sortas="b-autoconf">autoconf</primary></indexterm>
68</listitem>
69</varlistentry>
70
71<varlistentry id="autoheader">
72<term><command>autoheader</command> </term>
73<listitem>
74<para>A tool for creating template files of C
75<emphasis>#define</emphasis> statements for configure to use</para>
76<indexterm zone="ch-system-autoconf autoheader"><primary sortas="b-autoheader">autoheader</primary></indexterm>
77</listitem>
78</varlistentry>
79
80<varlistentry id="autom4te">
81<term><command>autom4te</command></term>
82<listitem>
83<para>A wrapper for the M4 macro processor</para>
84<indexterm zone="ch-system-autoconf autom4te"><primary sortas="b-autom4te">autom4te</primary></indexterm>
85</listitem>
86</varlistentry>
87
88<varlistentry id="autoreconf">
89<term><command>autoreconf</command></term>
90<listitem>
91<para>Automatically runs <command>autoconf</command>,
92<command>autoheader</command>, <command>aclocal</command>,
93<command>automake</command>, <command>gettextize</command>, and
94<command>libtoolize</command> in the correct order to save time
95when changes are made to <command>autoconf</command> and
96<command>automake</command> template files</para>
97<indexterm zone="ch-system-autoconf autoreconf"><primary sortas="b-autoreconf">autoreconf</primary></indexterm>
98</listitem>
99</varlistentry>
100
101<varlistentry id="autoscan">
102<term><command>autoscan</command> </term>
103<listitem>
104<para>Helps to create a <filename>configure.in</filename> file for a
105software package; it examines the source files in a directory tree,
106searching them for common portability issues, and creates a
107<filename>configure.scan</filename> file that serves as as a
108preliminary <filename>configure.in</filename> file for the
109package</para>
110<indexterm zone="ch-system-autoconf autoscan"><primary sortas="b-autoscan">autoscan</primary></indexterm>
111</listitem>
112</varlistentry>
113
114<varlistentry id="autoupdate">
115<term><command>autoupdate</command></term>
116<listitem>
117<para>Modifies a <filename>configure.in</filename> file that still
118calls <command>autoconf</command> macros by their old names to use the
119current macro names</para>
120<indexterm zone="ch-system-autoconf autoupdate"><primary sortas="b-autoupdate">autoupdate</primary></indexterm>
121</listitem>
122</varlistentry>
123
124<varlistentry id="ifnames">
125<term><command>ifnames</command> </term>
126<listitem>
127<para>Helps when writing <filename>configure.in</filename> files
128for a software package; it prints the identifiers that the package
129uses in C preprocessor conditionals. If a package has already been set
130up to have some portability, this program can help determine what
131<command>configure</command> needs to check for. It can also fill in
132gaps in a <filename>configure.in</filename> file generated by
133<command>autoscan</command></para>
134<indexterm zone="ch-system-autoconf ifnames"><primary sortas="b-ifnames">ifnames</primary></indexterm>
135</listitem>
136</varlistentry>
137</variablelist>
138
139</sect2>
140
141</sect1>
142
Note: See TracBrowser for help on using the repository browser.