source: chapter06/autoconf.xml@ 6a1593df

Last change on this file since 6a1593df was 2256873, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Last edit round.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4265 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]>
[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>
23<segtitle>Autoconf installation depends on</segtitle>
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>
[2256873]46<beginpage/>
[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"?>
[673b0d8]60
[b8a819f]61<varlistentry id="autoconf">
62<term><command>autoconf</command></term>
[c6cb3aa]63<listitem>
[2256873]64<para>Produces shell scripts that automatically
[ef13657]65configure software source code packages to adapt to many kinds of
66Unix-like systems. The configuration scripts it produces are
[3e944d6]67independent&mdash;running them does not require the <command>autoconf</command> program.</para>
[3ed279f]68<indexterm zone="ch-system-autoconf autoconf"><primary sortas="b-autoconf">autoconf</primary></indexterm>
[2256873]69</listitem>
[c6cb3aa]70</varlistentry>
[673b0d8]71
[b8a819f]72<varlistentry id="autoheader">
73<term><command>autoheader</command> </term>
[c6cb3aa]74<listitem>
[2256873]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>
[2256873]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>
[2256873]92<para>Automatically runs <command>autoconf</command>,
[ef13657]93<command>autoheader</command>, <command>aclocal</command>,
94<command>automake</command>, <command>gettextize</command>, and
[69993f4]95<command>libtoolize</command> in the correct order to save time
[3e944d6]96when changes are made to <command>autoconf</command> and
[2256873]97<command>automake</command> template files</para>
[3ed279f]98<indexterm zone="ch-system-autoconf autoreconf"><primary sortas="b-autoreconf">autoreconf</primary></indexterm>
[c6cb3aa]99</listitem>
100</varlistentry>
[673b0d8]101
[b8a819f]102<varlistentry id="autoscan">
103<term><command>autoscan</command> </term>
[c6cb3aa]104<listitem>
[2256873]105<para>Helps to create a <filename>configure.in</filename> file for a
106software package; it examines the source files in a directory tree,
[69993f4]107searching them for common portability issues, and creates a
[ef13657]108<filename>configure.scan</filename> file that serves as as a
109preliminary <filename>configure.in</filename> file for the
[2256873]110package</para>
[3ed279f]111<indexterm zone="ch-system-autoconf autoscan"><primary sortas="b-autoscan">autoscan</primary></indexterm>
[c6cb3aa]112</listitem>
113</varlistentry>
[673b0d8]114
[b8a819f]115<varlistentry id="autoupdate">
116<term><command>autoupdate</command></term>
[c6cb3aa]117<listitem>
[2256873]118<para>Modifies a <filename>configure.in</filename> file that still
[3e944d6]119calls <command>autoconf</command> macros by their old names to use the
[2256873]120current macro names</para>
[3ed279f]121<indexterm zone="ch-system-autoconf autoupdate"><primary sortas="b-autoupdate">autoupdate</primary></indexterm>
[c6cb3aa]122</listitem>
123</varlistentry>
124
[b8a819f]125<varlistentry id="ifnames">
126<term><command>ifnames</command> </term>
[c6cb3aa]127<listitem>
[2256873]128<para>Helps when writing <filename>configure.in</filename> files
129for a software package; it prints the identifiers that the package
[ef13657]130uses in C preprocessor conditionals. If a package has already been set
131up to have some portability, this program can help determine what
132<command>configure</command> needs to check for. It can also fill in
133gaps in a <filename>configure.in</filename> file generated by
[2256873]134<command>autoscan</command></para>
[3ed279f]135<indexterm zone="ch-system-autoconf ifnames"><primary sortas="b-ifnames">ifnames</primary></indexterm>
[c6cb3aa]136</listitem>
137</varlistentry>
138</variablelist>
[673b0d8]139
140</sect2>
141
142</sect1>
[ef13657]143
Note: See TracBrowser for help on using the repository browser.