source: chapter06/autoconf.xml@ 96e8f71

6.0
Last change on this file since 96e8f71 was 3ed279f, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Tags changes in the contents sections to make a better print output.

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

  • Property mode set to 100644
File size: 5.0 KB
RevLine 
[673b0d8]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]>
[a001133]6<sect1 id="ch-system-autoconf" xreflabel="Autoconf" role="wrap">
[673b0d8]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>
[6370fa6]11
[a001133]12<sect2 role="package"><title/>
[5888299]13<para>The Autoconf package contains programs for producing shell scripts that
14can automatically configure source code.</para>
15
[a001133]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>
[673b0d8]21
[a001133]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>
[3554fa3a]28
[a001133]29<sect2 role="installation">
[73aedd1d]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
[673b0d8]40<para>To test the results, issue:
[c76accc]41<userinput>make check</userinput>. This takes a long time, about 2 SBUs.</para>
[73aedd1d]42
[673b0d8]43<para>Install the package:</para>
[73aedd1d]44
45<screen><userinput>make install</userinput></screen>
46
47</sect2>
[6370fa6]48
[5888299]49
[c6cb3aa]50<sect2 id="contents-autoconf" role="content"><title>Contents of Autoconf</title>
[673b0d8]51
[c6cb3aa]52<segmentedlist>
53<segtitle>Installed programs</segtitle>
54<seglistitem><seg>autoconf, autoheader, autom4te,
55autoreconf, autoscan, autoupdate and ifnames</seg></seglistitem>
56</segmentedlist>
[673b0d8]57
[3ed279f]58<variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>
59<?dbfo list-presentation="list"?>
[673b0d8]60
[b8a819f]61<varlistentry id="autoconf">
62<term><command>autoconf</command></term>
[c6cb3aa]63<listitem>
[ef13657]64<para>is a tool for producing shell scripts that automatically
65configure software source code packages to adapt to many kinds of
66Unix-like systems. The configuration scripts it produces are
[673b0d8]67independent -- running them does not require the autoconf program.</para>
[3ed279f]68<indexterm zone="ch-system-autoconf autoconf"><primary sortas="b-autoconf">autoconf</primary></indexterm>
[c6cb3aa]69</listitem>
70</varlistentry>
[673b0d8]71
[b8a819f]72<varlistentry id="autoheader">
73<term><command>autoheader</command> </term>
[c6cb3aa]74<listitem>
[ef13657]75<para>a tool for creating template files of C
76<emphasis>#define</emphasis> statements for configure to use.</para>
[3ed279f]77<indexterm zone="ch-system-autoconf autoheader"><primary sortas="b-autoheader">autoheader</primary></indexterm>
[c6cb3aa]78</listitem>
79</varlistentry>
[673b0d8]80
[b8a819f]81<varlistentry id="autom4te">
82<term><command>autom4te</command></term>
[c6cb3aa]83<listitem>
[ef13657]84<para>a wrapper for the M4 macro processor.</para>
[3ed279f]85<indexterm zone="ch-system-autoconf autom4te"><primary sortas="b-autom4te">autom4te</primary></indexterm>
[c6cb3aa]86</listitem>
87</varlistentry>
[73aedd1d]88
[b8a819f]89<varlistentry id="autoreconf">
90<term><command>autoreconf</command></term>
[c6cb3aa]91<listitem>
[ef13657]92<para>automatically runs <command>autoconf</command>,
93<command>autoheader</command>, <command>aclocal</command>,
94<command>automake</command>, <command>gettextize</command>, and
95<command>libtoolize</command> in the correct order to save you time
96when changes are made to autoconf and automake template files.</para>
[3ed279f]97<indexterm zone="ch-system-autoconf autoreconf"><primary sortas="b-autoreconf">autoreconf</primary></indexterm>
[c6cb3aa]98</listitem>
99</varlistentry>
[673b0d8]100
[b8a819f]101<varlistentry id="autoscan">
102<term><command>autoscan</command> </term>
[c6cb3aa]103<listitem>
[ef13657]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>
[3ed279f]110<indexterm zone="ch-system-autoconf autoscan"><primary sortas="b-autoscan">autoscan</primary></indexterm>
[c6cb3aa]111</listitem>
112</varlistentry>
[673b0d8]113
[b8a819f]114<varlistentry id="autoupdate">
115<term><command>autoupdate</command></term>
[c6cb3aa]116<listitem>
[ef13657]117<para>modifies a <filename>configure.in</filename> file that still
118calls autoconf macros by their old names to use the current macro
119names.</para>
[3ed279f]120<indexterm zone="ch-system-autoconf autoupdate"><primary sortas="b-autoupdate">autoupdate</primary></indexterm>
[c6cb3aa]121</listitem>
122</varlistentry>
123
[b8a819f]124<varlistentry id="ifnames">
125<term><command>ifnames</command> </term>
[c6cb3aa]126<listitem>
[ef13657]127<para>is helpful when writing a <filename>configure.in</filename> file
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
[673b0d8]133autoscan.</para>
[3ed279f]134<indexterm zone="ch-system-autoconf ifnames"><primary sortas="b-ifnames">ifnames</primary></indexterm>
[c6cb3aa]135</listitem>
136</varlistentry>
137</variablelist>
[673b0d8]138
139</sect2>
140
141</sect1>
[ef13657]142
Note: See TracBrowser for help on using the repository browser.