source: chapter06/autoconf.xml@ 0c81bec

Last change on this file since 0c81bec was 6a0e6f3, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Remove the spurious <info> tags that I thought were necessary but evidently aren't

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

  • Property mode set to 100644
File size: 4.8 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[1fe35e1]2<!DOCTYPE section [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[1fe35e1]6<section xmlns="http://docbook.org/docbook-ng"
7 xml:id="ch-system-autoconf" xreflabel="Autoconf" role="wrap">
[6a0e6f3]8<title>Autoconf-&autoconf-version;</title>
[673b0d8]9<?dbhtml filename="autoconf.html"?>
10
11<indexterm zone="ch-system-autoconf"><primary sortas="a-Autoconf">Autoconf</primary></indexterm>
[6370fa6]12
[6a0e6f3]13<section role="package"><title/>
[5888299]14<para>The Autoconf package contains programs for producing shell scripts that
15can automatically configure source code.</para>
16
[a001133]17<segmentedlist>
18<segtitle>&buildtime;</segtitle>
19<segtitle>&diskspace;</segtitle>
20<seglistitem><seg>0.5 SBU</seg><seg>7.7 MB</seg></seglistitem>
21</segmentedlist>
[673b0d8]22
[a001133]23<segmentedlist>
24<segtitle>Autoconf installation depends on</segtitle>
25<seglistitem><seg>Bash, Coreutils, Diffutils, Grep,
26M4, Make, Perl, Sed</seg></seglistitem>
27</segmentedlist>
[1fe35e1]28</section>
[3554fa3a]29
[1fe35e1]30<section role="installation">
[6a0e6f3]31<title>Installation of Autoconf</title>
[73aedd1d]32
33<para>Prepare Autoconf for compilation:</para>
34
35<screen><userinput>./configure --prefix=/usr</userinput></screen>
36
37<para>Compile the package:</para>
38
39<screen><userinput>make</userinput></screen>
40
[673b0d8]41<para>To test the results, issue:
[c76accc]42<userinput>make check</userinput>. This takes a long time, about 2 SBUs.</para>
[73aedd1d]43
[673b0d8]44<para>Install the package:</para>
[73aedd1d]45
46<screen><userinput>make install</userinput></screen>
47
[1fe35e1]48</section>
[6370fa6]49
[5888299]50
[6a0e6f3]51<section xml:id="contents-autoconf" role="content"><title>Contents of Autoconf</title>
[673b0d8]52
[c6cb3aa]53<segmentedlist>
54<segtitle>Installed programs</segtitle>
55<seglistitem><seg>autoconf, autoheader, autom4te,
56autoreconf, autoscan, autoupdate and ifnames</seg></seglistitem>
57</segmentedlist>
[673b0d8]58
[c6cb3aa]59<variablelist><title>Short descriptions</title>
[673b0d8]60
[1fe35e1]61<varlistentry xml:id="autoconf">
[b8a819f]62<term><command>autoconf</command></term>
[c6cb3aa]63<listitem>
[673b0d8]64<indexterm zone="ch-system-autoconf autoconf"><primary sortas="b-autoconf">autoconf</primary></indexterm>
[c6cb3aa]65<para>is a tool for producing shell scripts
[673b0d8]66that automatically configure software source code packages to adapt to many
67kinds of Unix-like systems. The configuration scripts it produces are
68independent -- running them does not require the autoconf program.</para>
[c6cb3aa]69</listitem>
70</varlistentry>
[673b0d8]71
[1fe35e1]72<varlistentry xml:id="autoheader">
[b8a819f]73<term><command>autoheader</command> </term>
[c6cb3aa]74<listitem>
[673b0d8]75<indexterm zone="ch-system-autoconf autoheader"><primary sortas="b-autoheader">autoheader</primary></indexterm>
[c6cb3aa]76<para>is a tool for creating template files
[673b0d8]77of C #define statements for configure to use.</para>
[c6cb3aa]78</listitem>
79</varlistentry>
[673b0d8]80
[1fe35e1]81<varlistentry xml:id="autom4te">
[b8a819f]82<term><command>autom4te</command></term>
[c6cb3aa]83<listitem>
[673b0d8]84<indexterm zone="ch-system-autoconf autom4te"><primary sortas="b-autom4te">autom4te</primary></indexterm>
[c6cb3aa]85<para>is a wrapper for the M4 macro processor.</para>
86</listitem>
87</varlistentry>
[73aedd1d]88
[1fe35e1]89<varlistentry xml:id="autoreconf">
[b8a819f]90<term><command>autoreconf</command></term>
[c6cb3aa]91<listitem>
[673b0d8]92<indexterm zone="ch-system-autoconf autoreconf"><primary sortas="b-autoreconf">autoreconf</primary></indexterm>
[c6cb3aa]93<para>comes in handy when there are a lot
[673b0d8]94of autoconf-generated configure scripts around. The program runs autoconf and
95autoheader repeatedly (where appropriate) to remake the autoconf configure
96scripts and configuration header templates in a given directory tree.</para>
[c6cb3aa]97</listitem>
98</varlistentry>
[673b0d8]99
[1fe35e1]100<varlistentry xml:id="autoscan">
[b8a819f]101<term><command>autoscan</command> </term>
[c6cb3aa]102<listitem>
[673b0d8]103<indexterm zone="ch-system-autoconf autoscan"><primary sortas="b-autoscan">autoscan</primary></indexterm>
[c6cb3aa]104<para>can help to create a
[673b0d8]105<filename>configure.in</filename> file for a software package. It examines
106the source files in a directory tree, searching them for common portability
107problems and creates a <filename>configure.scan</filename> file that serves as
108as a preliminary <filename>configure.in</filename> for the package.</para>
[c6cb3aa]109</listitem>
110</varlistentry>
[673b0d8]111
[1fe35e1]112<varlistentry xml:id="autoupdate">
[b8a819f]113<term><command>autoupdate</command></term>
[c6cb3aa]114<listitem>
[673b0d8]115<indexterm zone="ch-system-autoconf autoupdate"><primary sortas="b-autoupdate">autoupdate</primary></indexterm>
[c6cb3aa]116<para>modifies a <filename>configure.in</filename> file that still calls autoconf
117macros by their old names to use the current macro names.</para>
118</listitem>
119</varlistentry>
120
[1fe35e1]121<varlistentry xml:id="ifnames">
[b8a819f]122<term><command>ifnames</command> </term>
[c6cb3aa]123<listitem>
[673b0d8]124<indexterm zone="ch-system-autoconf ifnames"><primary sortas="b-ifnames">ifnames</primary></indexterm>
[c6cb3aa]125<para>can be helpful when writing a
[673b0d8]126<filename>configure.in</filename> for a software package. It prints the
127identifiers that the package uses in C preprocessor conditionals. If a package
128has already been set up to have some portability, this program can help to
129determine what <command>configure</command> needs to check. It can fill
130in some gaps in a <filename>configure.in</filename> file generated by
131autoscan.</para>
[c6cb3aa]132</listitem>
133</varlistentry>
134</variablelist>
[673b0d8]135
[1fe35e1]136</section>
[673b0d8]137
[1fe35e1]138</section>
Note: See TracBrowser for help on using the repository browser.