Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1176 | jmengual | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
||
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
||
4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
||
5 | %general-entities; |
||
6 | ]> |
||
7 | |||
8 | <sect1 id="ch-system-autoconf" role="wrap"> |
||
9 | <?dbhtml filename="autoconf.html"?> |
||
10 | |||
11 | <title>Autoconf-&autoconf-version;</title> |
||
12 | |||
13 | <indexterm zone="ch-system-autoconf"> |
||
14 | <primary sortas="a-Autoconf">Autoconf</primary> |
||
15 | </indexterm> |
||
16 | |||
17 | <sect2 role="package"> |
||
18 | <title/> |
||
19 | |||
20 | <para>The Autoconf package contains programs for producing shell scripts that |
||
21 | can automatically configure source code.</para> |
||
22 | |||
23 | </sect2> |
||
24 | |||
25 | &env-target; |
||
26 | |||
27 | <sect2 role="installation"> |
||
28 | <title>Installation of Autoconf</title> |
||
29 | |||
30 | <para os="a">Prepare Autoconf for compilation:</para> |
||
31 | |||
32 | <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ |
||
33 | --prefix=/usr</userinput></screen> |
||
34 | |||
35 | <para os="c">Compile the package:</para> |
||
36 | |||
37 | <screen os="d"><userinput>make</userinput></screen> |
||
38 | |||
39 | <para os="e">Install the package:</para> |
||
40 | |||
41 | <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> |
||
42 | |||
43 | </sect2> |
||
44 | |||
45 | <sect2 id="contents-autoconf" role="content"> |
||
46 | <title>Contents of Autoconf</title> |
||
47 | |||
48 | <segmentedlist> |
||
49 | <segtitle>Installed programs</segtitle> |
||
50 | |||
51 | <seglistitem> |
||
52 | <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate, |
||
53 | and ifnames</seg> |
||
54 | </seglistitem> |
||
55 | </segmentedlist> |
||
56 | |||
57 | <variablelist> |
||
58 | <bridgehead renderas="sect3">Short Descriptions</bridgehead> |
||
59 | <?dbfo list-presentation="list"?> |
||
60 | <?dbhtml list-presentation="table"?> |
||
61 | |||
62 | <varlistentry id="autoconf"> |
||
63 | <term><command>autoconf</command></term> |
||
64 | <listitem> |
||
65 | <para>Produces shell scripts that automatically configure software |
||
66 | source code packages to adapt to many kinds of Unix-like systems. |
||
67 | The configuration scripts it produces are independent—running |
||
68 | them does not require the <command>autoconf</command> program.</para> |
||
69 | <indexterm zone="ch-system-autoconf autoconf"> |
||
70 | <primary sortas="b-autoconf">autoconf</primary> |
||
71 | </indexterm> |
||
72 | </listitem> |
||
73 | </varlistentry> |
||
74 | |||
75 | <varlistentry id="autoheader"> |
||
76 | <term><command>autoheader</command> </term> |
||
77 | <listitem> |
||
78 | <para>A tool for creating template files of C |
||
79 | <emphasis>#define</emphasis> statements for configure to use</para> |
||
80 | <indexterm zone="ch-system-autoconf autoheader"> |
||
81 | <primary sortas="b-autoheader">autoheader</primary> |
||
82 | </indexterm> |
||
83 | </listitem> |
||
84 | </varlistentry> |
||
85 | |||
86 | <varlistentry id="autom4te"> |
||
87 | <term><command>autom4te</command></term> |
||
88 | <listitem> |
||
89 | <para>A wrapper for the M4 macro processor</para> |
||
90 | <indexterm zone="ch-system-autoconf autom4te"> |
||
91 | <primary sortas="b-autom4te">autom4te</primary> |
||
92 | </indexterm> |
||
93 | </listitem> |
||
94 | </varlistentry> |
||
95 | |||
96 | <varlistentry id="autoreconf"> |
||
97 | <term><command>autoreconf</command></term> |
||
98 | <listitem> |
||
99 | <para>Automatically runs <command>autoconf</command>, |
||
100 | <command>autoheader</command>, <command>aclocal</command>, |
||
101 | <command>automake</command>, <command>gettextize</command>, and |
||
102 | <command>libtoolize</command> in the correct order to save time |
||
103 | when changes are made to <command>autoconf</command> and |
||
104 | <command>automake</command> template files</para> |
||
105 | <indexterm zone="ch-system-autoconf autoreconf"> |
||
106 | <primary sortas="b-autoreconf">autoreconf</primary> |
||
107 | </indexterm> |
||
108 | </listitem> |
||
109 | </varlistentry> |
||
110 | |||
111 | <varlistentry id="autoscan"> |
||
112 | <term><command>autoscan</command> </term> |
||
113 | <listitem> |
||
114 | <para>Helps to create a <filename>configure.in</filename> file for a |
||
115 | software package; it examines the source files in a directory tree, |
||
116 | searching them for common portability issues, and creates a |
||
117 | <filename>configure.scan</filename> file that serves as as a |
||
118 | preliminary <filename>configure.in</filename> file for the package</para> |
||
119 | <indexterm zone="ch-system-autoconf autoscan"> |
||
120 | <primary sortas="b-autoscan">autoscan</primary> |
||
121 | </indexterm> |
||
122 | </listitem> |
||
123 | </varlistentry> |
||
124 | |||
125 | <varlistentry id="autoupdate"> |
||
126 | <term><command>autoupdate</command></term> |
||
127 | <listitem> |
||
128 | <para>Modifies a <filename>configure.in</filename> file that still |
||
129 | calls <command>autoconf</command> macros by their old names to use the |
||
130 | current macro names</para> |
||
131 | <indexterm zone="ch-system-autoconf autoupdate"> |
||
132 | <primary sortas="b-autoupdate">autoupdate</primary> |
||
133 | </indexterm> |
||
134 | </listitem> |
||
135 | </varlistentry> |
||
136 | |||
137 | <varlistentry id="ifnames"> |
||
138 | <term><command>ifnames</command> </term> |
||
139 | <listitem> |
||
140 | <para>Helps when writing <filename>configure.in</filename> files |
||
141 | for a software package; it prints the identifiers that the package |
||
142 | uses in C preprocessor conditionals. If a package has already been set |
||
143 | up to have some portability, this program can help determine what |
||
144 | <command>configure</command> needs to check for. It can also fill in |
||
145 | gaps in a <filename>configure.in</filename> file generated by |
||
146 | <command>autoscan</command></para> |
||
147 | <indexterm zone="ch-system-autoconf ifnames"> |
||
148 | <primary sortas="b-ifnames">ifnames</primary> |
||
149 | </indexterm> |
||
150 | </listitem> |
||
151 | </varlistentry> |
||
152 | |||
153 | </variablelist> |
||
154 | |||
155 | </sect2> |
||
156 | |||
157 | </sect1> |