source: chapter06/autoconf.xml@ a001133

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.0 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 a001133 was a001133, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

HEAD: Retaged the introductori packages sections in chapter0{6,7,8}

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

  • Property mode set to 100644
File size: 4.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-autoconf" xreflabel="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, 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
50<sect2 id="contents-autoconf"><title>Contents of Autoconf</title>
51
52<para><emphasis>Installed programs</emphasis>: autoconf, autoheader, autom4te,
53autoreconf, autoscan, autoupdate and ifnames</para>
54
55</sect2>
56
57<sect2><title>Short descriptions</title>
58
59<indexterm zone="ch-system-autoconf autoconf"><primary sortas="b-autoconf">autoconf</primary></indexterm>
60<para id="autoconf"><command>autoconf</command> is a tool for producing shell scripts
61that automatically configure software source code packages to adapt to many
62kinds of Unix-like systems. The configuration scripts it produces are
63independent -- running them does not require the autoconf program.</para>
64
65<indexterm zone="ch-system-autoconf autoheader"><primary sortas="b-autoheader">autoheader</primary></indexterm>
66<para id="autoheader"><command>autoheader</command> is a tool for creating template files
67of C #define statements for configure to use.</para>
68
69<indexterm zone="ch-system-autoconf autom4te"><primary sortas="b-autom4te">autom4te</primary></indexterm>
70<para id="autom4te"><command>autom4te</command> is a wrapper for the M4 macro
71processor.</para>
72
73<indexterm zone="ch-system-autoconf autoreconf"><primary sortas="b-autoreconf">autoreconf</primary></indexterm>
74<para id="autoreconf"><command>autoreconf</command> comes in handy when there are a lot
75of autoconf-generated configure scripts around. The program runs autoconf and
76autoheader repeatedly (where appropriate) to remake the autoconf configure
77scripts and configuration header templates in a given directory tree.</para>
78
79<indexterm zone="ch-system-autoconf autoscan"><primary sortas="b-autoscan">autoscan</primary></indexterm>
80<para id="autoscan"><command>autoscan</command> can help to create a
81<filename>configure.in</filename> file for a software package. It examines
82the source files in a directory tree, searching them for common portability
83problems and creates a <filename>configure.scan</filename> file that serves as
84as a preliminary <filename>configure.in</filename> for the package.</para>
85
86<indexterm zone="ch-system-autoconf autoupdate"><primary sortas="b-autoupdate">autoupdate</primary></indexterm>
87<para id="autoupdate"><command>autoupdate</command> modifies a
88<filename>configure.in</filename> file that still calls autoconf macros
89by their old names to use the current macro names.</para>
90
91<indexterm zone="ch-system-autoconf ifnames"><primary sortas="b-ifnames">ifnames</primary></indexterm>
92<para id="ifnames"><command>ifnames</command> can be helpful when writing a
93<filename>configure.in</filename> for a software package. It prints the
94identifiers that the package uses in C preprocessor conditionals. If a package
95has already been set up to have some portability, this program can help to
96determine what <command>configure</command> needs to check. It can fill
97in some gaps in a <filename>configure.in</filename> file generated by
98autoscan.</para>
99
100</sect2>
101
102
103
104</sect1>
Note: See TracBrowser for help on using the repository browser.