source: chapter06/autoconf.xml@ 1540ea0

Last change on this file since 1540ea0 was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Removed the package name from the dependencies titles.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4691 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"?>
[c2133bc]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[752f4e5]6<sect1 id="ch-system-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>
[a0e1913]23<segtitle>&dependencies;</segtitle>
[a001133]24<seglistitem><seg>Bash, Coreutils, Diffutils, Grep,
[69993f4]25M4, Make, Perl, and Sed</seg></seglistitem>
[a001133]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>
[b48b8c5]46
[73aedd1d]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,
[69993f4]55autoreconf, autoscan, autoupdate, and ifnames</seg></seglistitem>
[c6cb3aa]56</segmentedlist>
[673b0d8]57
[2256873]58<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
[3ed279f]59<?dbfo list-presentation="list"?>
[c5f9180]60<?dbhtml list-presentation="table"?>
[673b0d8]61
[b8a819f]62<varlistentry id="autoconf">
63<term><command>autoconf</command></term>
[c6cb3aa]64<listitem>
[2256873]65<para>Produces shell scripts that automatically
[ef13657]66configure software source code packages to adapt to many kinds of
67Unix-like systems. The configuration scripts it produces are
[3e944d6]68independent&mdash;running them does not require the <command>autoconf</command> program.</para>
[3ed279f]69<indexterm zone="ch-system-autoconf autoconf"><primary sortas="b-autoconf">autoconf</primary></indexterm>
[2256873]70</listitem>
[c6cb3aa]71</varlistentry>
[673b0d8]72
[b8a819f]73<varlistentry id="autoheader">
74<term><command>autoheader</command> </term>
[c6cb3aa]75<listitem>
[2256873]76<para>A tool for creating template files of C
77<emphasis>#define</emphasis> statements for configure to use</para>
[3ed279f]78<indexterm zone="ch-system-autoconf autoheader"><primary sortas="b-autoheader">autoheader</primary></indexterm>
[c6cb3aa]79</listitem>
80</varlistentry>
[673b0d8]81
[b8a819f]82<varlistentry id="autom4te">
83<term><command>autom4te</command></term>
[c6cb3aa]84<listitem>
[2256873]85<para>A wrapper for the M4 macro processor</para>
[3ed279f]86<indexterm zone="ch-system-autoconf autom4te"><primary sortas="b-autom4te">autom4te</primary></indexterm>
[c6cb3aa]87</listitem>
88</varlistentry>
[73aedd1d]89
[b8a819f]90<varlistentry id="autoreconf">
91<term><command>autoreconf</command></term>
[c6cb3aa]92<listitem>
[2256873]93<para>Automatically runs <command>autoconf</command>,
[ef13657]94<command>autoheader</command>, <command>aclocal</command>,
95<command>automake</command>, <command>gettextize</command>, and
[69993f4]96<command>libtoolize</command> in the correct order to save time
[3e944d6]97when changes are made to <command>autoconf</command> and
[2256873]98<command>automake</command> template files</para>
[3ed279f]99<indexterm zone="ch-system-autoconf autoreconf"><primary sortas="b-autoreconf">autoreconf</primary></indexterm>
[c6cb3aa]100</listitem>
101</varlistentry>
[673b0d8]102
[b8a819f]103<varlistentry id="autoscan">
104<term><command>autoscan</command> </term>
[c6cb3aa]105<listitem>
[2256873]106<para>Helps to create a <filename>configure.in</filename> file for a
107software package; it examines the source files in a directory tree,
[69993f4]108searching them for common portability issues, and creates a
[ef13657]109<filename>configure.scan</filename> file that serves as as a
110preliminary <filename>configure.in</filename> file for the
[2256873]111package</para>
[3ed279f]112<indexterm zone="ch-system-autoconf autoscan"><primary sortas="b-autoscan">autoscan</primary></indexterm>
[c6cb3aa]113</listitem>
114</varlistentry>
[673b0d8]115
[b8a819f]116<varlistentry id="autoupdate">
117<term><command>autoupdate</command></term>
[c6cb3aa]118<listitem>
[2256873]119<para>Modifies a <filename>configure.in</filename> file that still
[3e944d6]120calls <command>autoconf</command> macros by their old names to use the
[2256873]121current macro names</para>
[3ed279f]122<indexterm zone="ch-system-autoconf autoupdate"><primary sortas="b-autoupdate">autoupdate</primary></indexterm>
[c6cb3aa]123</listitem>
124</varlistentry>
125
[b8a819f]126<varlistentry id="ifnames">
127<term><command>ifnames</command> </term>
[c6cb3aa]128<listitem>
[2256873]129<para>Helps when writing <filename>configure.in</filename> files
130for a software package; it prints the identifiers that the package
[ef13657]131uses in C preprocessor conditionals. If a package has already been set
132up to have some portability, this program can help determine what
133<command>configure</command> needs to check for. It can also fill in
134gaps in a <filename>configure.in</filename> file generated by
[2256873]135<command>autoscan</command></para>
[3ed279f]136<indexterm zone="ch-system-autoconf ifnames"><primary sortas="b-ifnames">ifnames</primary></indexterm>
[c6cb3aa]137</listitem>
138</varlistentry>
139</variablelist>
[673b0d8]140
141</sect2>
142
143</sect1>
[ef13657]144
Note: See TracBrowser for help on using the repository browser.