Changeset 50e693d for chapter06/autoconf.xml
- Timestamp:
- 01/31/2006 08:17:20 PM (18 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 92474b45
- Parents:
- c4dfdaaa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/autoconf.xml
rc4dfdaaa r50e693d 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-system-autoconf" role="wrap"> 7 <title>Autoconf-&autoconf-version;</title> 8 <?dbhtml filename="autoconf.html"?> 9 <?dbhtml filename="autoconf.html"?> 9 10 10 <indexterm zone="ch-system-autoconf"><primary sortas="a-Autoconf">Autoconf</primary></indexterm>11 <title>Autoconf-&autoconf-version;</title> 11 12 12 <sect2 role="package"><title/>13 <para>The Autoconf package contains programs for producing shell scripts that 14 can automatically configure source code.</para>13 <indexterm zone="ch-system-autoconf"> 14 <primary sortas="a-Autoconf">Autoconf</primary> 15 </indexterm> 15 16 16 <segmentedlist> 17 <segtitle>&buildtime;</segtitle> 18 <segtitle>&diskspace;</segtitle> 19 <seglistitem><seg>0.5 SBU</seg><seg>8.5 MB</seg></seglistitem> 20 </segmentedlist> 17 <sect2 role="package"> 18 <title/> 21 19 22 <segmentedlist> 23 <segtitle>&dependencies;</segtitle> 24 <seglistitem><seg>Bash, Coreutils, Diffutils, Grep, 25 M4, Make, Perl, and Sed</seg></seglistitem> 26 </segmentedlist> 27 </sect2> 20 <para>The Autoconf package contains programs for producing shell scripts that 21 can automatically configure source code.</para> 28 22 29 <sect2 role="installation"> 30 <title>Installation of Autoconf</title> 23 <segmentedlist> 24 <segtitle>&buildtime;</segtitle> 25 <segtitle>&diskspace;</segtitle> 31 26 32 <para>Prepare Autoconf for compilation:</para> 27 <seglistitem> 28 <seg>0.5 SBU</seg> 29 <seg>8.5 MB</seg> 30 </seglistitem> 31 </segmentedlist> 32 33 <segmentedlist> 34 <segtitle>&dependencies;</segtitle> 35 36 <seglistitem> 37 <seg>Bash, Coreutils, Diffutils, Grep, M4, Make, Perl, and Sed</seg> 38 </seglistitem> 39 </segmentedlist> 40 41 </sect2> 42 43 <sect2 role="installation"> 44 <title>Installation of Autoconf</title> 45 46 <para>Prepare Autoconf for compilation:</para> 33 47 34 48 <screen><userinput>./configure --prefix=/usr</userinput></screen> 35 49 36 <para>Compile the package:</para>50 <para>Compile the package:</para> 37 51 38 52 <screen><userinput>make</userinput></screen> 39 53 40 <para>To test the results, issue: 41 <userinput>make check</userinput>. This takes a long time, about 2 SBUs.</para> 54 <para>To test the results, issue: 55 <userinput>make check</userinput>. 56 This takes a long time, about 2 SBUs.</para> 42 57 43 <para>Install the package:</para>58 <para>Install the package:</para> 44 59 45 60 <screen><userinput>make install</userinput></screen> 46 61 47 </sect2>62 </sect2> 48 63 49 <sect2 id="contents-autoconf" role="content"><title>Contents of Autoconf</title> 64 <sect2 id="contents-autoconf" role="content"> 65 <title>Contents of Autoconf</title> 50 66 51 <segmentedlist> 52 <segtitle>Installed programs</segtitle> 53 <seglistitem><seg>autoconf, autoheader, autom4te, 54 autoreconf, autoscan, autoupdate, and ifnames</seg></seglistitem> 55 </segmentedlist> 67 <segmentedlist> 68 <segtitle>Installed programs</segtitle> 56 69 57 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 58 <?dbfo list-presentation="list"?> 59 <?dbhtml list-presentation="table"?> 70 <seglistitem> 71 <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate, 72 and ifnames</seg> 73 </seglistitem> 74 </segmentedlist> 60 75 61 <varlistentry id="autoconf"> 62 <term><command>autoconf</command></term> 63 <listitem> 64 <para>Produces shell scripts that automatically 65 configure software source code packages to adapt to many kinds of 66 Unix-like systems. The configuration scripts it produces are 67 independent—running them does not require the <command>autoconf</command> program.</para> 68 <indexterm zone="ch-system-autoconf autoconf"><primary sortas="b-autoconf">autoconf</primary></indexterm> 69 </listitem> 70 </varlistentry> 76 <variablelist> 77 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 78 <?dbfo list-presentation="list"?> 79 <?dbhtml list-presentation="table"?> 71 80 72 <varlistentry id="autoheader"> 73 <term><command>autoheader</command> </term> 74 <listitem> 75 <para>A tool for creating template files of C 76 <emphasis>#define</emphasis> statements for configure to use</para> 77 <indexterm zone="ch-system-autoconf autoheader"><primary sortas="b-autoheader">autoheader</primary></indexterm> 78 </listitem> 79 </varlistentry> 81 <varlistentry id="autoconf"> 82 <term><command>autoconf</command></term> 83 <listitem> 84 <para>Produces shell scripts that automatically configure software 85 source code packages to adapt to many kinds of Unix-like systems. 86 The configuration scripts it produces are independent—running 87 them does not require the <command>autoconf</command> program.</para> 88 <indexterm zone="ch-system-autoconf autoconf"> 89 <primary sortas="b-autoconf">autoconf</primary> 90 </indexterm> 91 </listitem> 92 </varlistentry> 80 93 81 <varlistentry id="autom4te"> 82 <term><command>autom4te</command></term> 83 <listitem> 84 <para>A wrapper for the M4 macro processor</para> 85 <indexterm zone="ch-system-autoconf autom4te"><primary sortas="b-autom4te">autom4te</primary></indexterm> 86 </listitem> 87 </varlistentry> 94 <varlistentry id="autoheader"> 95 <term><command>autoheader</command> </term> 96 <listitem> 97 <para>A tool for creating template files of C 98 <emphasis>#define</emphasis> statements for configure to use</para> 99 <indexterm zone="ch-system-autoconf autoheader"> 100 <primary sortas="b-autoheader">autoheader</primary> 101 </indexterm> 102 </listitem> 103 </varlistentry> 88 104 89 <varlistentry id="autoreconf"> 90 <term><command>autoreconf</command></term> 91 <listitem> 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 time 96 when changes are made to <command>autoconf</command> and 97 <command>automake</command> template files</para> 98 <indexterm zone="ch-system-autoconf autoreconf"><primary sortas="b-autoreconf">autoreconf</primary></indexterm> 99 </listitem> 100 </varlistentry> 105 <varlistentry id="autom4te"> 106 <term><command>autom4te</command></term> 107 <listitem> 108 <para>A wrapper for the M4 macro processor</para> 109 <indexterm zone="ch-system-autoconf autom4te"> 110 <primary sortas="b-autom4te">autom4te</primary> 111 </indexterm> 112 </listitem> 113 </varlistentry> 101 114 102 <varlistentry id="autoscan"> 103 <term><command>autoscan</command> </term> 104 <listitem> 105 <para>Helps to create a <filename>configure.in</filename> file for a 106 software package; it examines the source files in a directory tree, 107 searching them for common portability issues, and creates a 108 <filename>configure.scan</filename> file that serves as as a 109 preliminary <filename>configure.in</filename> file for the 110 package</para> 111 <indexterm zone="ch-system-autoconf autoscan"><primary sortas="b-autoscan">autoscan</primary></indexterm> 112 </listitem> 113 </varlistentry> 115 <varlistentry id="autoreconf"> 116 <term><command>autoreconf</command></term> 117 <listitem> 118 <para>Automatically runs <command>autoconf</command>, 119 <command>autoheader</command>, <command>aclocal</command>, 120 <command>automake</command>, <command>gettextize</command>, and 121 <command>libtoolize</command> in the correct order to save time 122 when changes are made to <command>autoconf</command> and 123 <command>automake</command> template files</para> 124 <indexterm zone="ch-system-autoconf autoreconf"> 125 <primary sortas="b-autoreconf">autoreconf</primary> 126 </indexterm> 127 </listitem> 128 </varlistentry> 114 129 115 <varlistentry id="autoupdate"> 116 <term><command>autoupdate</command></term> 117 <listitem> 118 <para>Modifies a <filename>configure.in</filename> file that still 119 calls <command>autoconf</command> macros by their old names to use the 120 current macro names</para> 121 <indexterm zone="ch-system-autoconf autoupdate"><primary sortas="b-autoupdate">autoupdate</primary></indexterm> 122 </listitem> 123 </varlistentry> 130 <varlistentry id="autoscan"> 131 <term><command>autoscan</command> </term> 132 <listitem> 133 <para>Helps to create a <filename>configure.in</filename> file for a 134 software package; it examines the source files in a directory tree, 135 searching them for common portability issues, and creates a 136 <filename>configure.scan</filename> file that serves as as a 137 preliminary <filename>configure.in</filename> file for the 138 package</para> 139 <indexterm zone="ch-system-autoconf autoscan"> 140 <primary sortas="b-autoscan">autoscan</primary> 141 </indexterm> 142 </listitem> 143 </varlistentry> 124 144 125 <varlistentry id="ifnames"> 126 <term><command>ifnames</command> </term> 127 <listitem> 128 <para>Helps when writing <filename>configure.in</filename> files 129 for a software package; it prints the identifiers that the package 130 uses in C preprocessor conditionals. If a package has already been set 131 up to have some portability, this program can help determine what 132 <command>configure</command> needs to check for. It can also fill in 133 gaps in a <filename>configure.in</filename> file generated by 134 <command>autoscan</command></para> 135 <indexterm zone="ch-system-autoconf ifnames"><primary sortas="b-ifnames">ifnames</primary></indexterm> 136 </listitem> 137 </varlistentry> 138 </variablelist> 145 <varlistentry id="autoupdate"> 146 <term><command>autoupdate</command></term> 147 <listitem> 148 <para>Modifies a <filename>configure.in</filename> file that still 149 calls <command>autoconf</command> macros by their old names to use the 150 current macro names</para> 151 <indexterm zone="ch-system-autoconf autoupdate"> 152 <primary sortas="b-autoupdate">autoupdate</primary> 153 </indexterm> 154 </listitem> 155 </varlistentry> 139 156 140 </sect2> 157 <varlistentry id="ifnames"> 158 <term><command>ifnames</command> </term> 159 <listitem> 160 <para>Helps when writing <filename>configure.in</filename> files 161 for a software package; it prints the identifiers that the package 162 uses in C preprocessor conditionals. If a package has already been set 163 up to have some portability, this program can help determine what 164 <command>configure</command> needs to check for. It can also fill in 165 gaps in a <filename>configure.in</filename> file generated by 166 <command>autoscan</command></para> 167 <indexterm zone="ch-system-autoconf ifnames"> 168 <primary sortas="b-ifnames">ifnames</primary> 169 </indexterm> 170 </listitem> 171 </varlistentry> 172 173 </variablelist> 174 175 </sect2> 141 176 142 177 </sect1> 143
Note:
See TracChangeset
for help on using the changeset viewer.