source: chapter06/autoconf.xml@ 3e36a78

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 3e36a78 was 3e36a78, checked in by Jim Gifford <jim@…>, 19 years ago

Changed patches to use entities

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

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