autoconf.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. <sect1 id="ch-system-autoconf" role="wrap">
  8. <?dbhtml filename="autoconf.html"?>
  9. <sect1info condition="script">
  10. <productname>autoconf</productname>
  11. <productnumber>&autoconf-version;</productnumber>
  12. <address>&autoconf-url;</address>
  13. </sect1info>
  14. <title>Autoconf-&autoconf-version;</title>
  15. <indexterm zone="ch-system-autoconf">
  16. <primary sortas="a-Autoconf">Autoconf</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Autoconf package contains programs for producing shell scripts that
  21. can automatically configure source code.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&autoconf-ch6-sbu;</seg>
  27. <seg>&autoconf-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Autoconf</title>
  33. <para>Prepare Autoconf for compilation:</para>
  34. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  35. <para>Compile the package:</para>
  36. <screen><userinput remap="make">make</userinput></screen>
  37. <para>To test the results, issue:</para>
  38. <screen><userinput remap="test">make check</userinput></screen>
  39. <para>This takes a long time, about 4.7 SBUs. In addition, 6 tests are skipped
  40. that use Automake. For full test coverage, Autoconf can be re-tested
  41. after Automake has been installed.</para>
  42. <para>Install the package:</para>
  43. <screen><userinput remap="install">make install</userinput></screen>
  44. </sect2>
  45. <sect2 id="contents-autoconf" role="content">
  46. <title>Contents of Autoconf</title>
  47. <segmentedlist>
  48. <segtitle>Installed programs</segtitle>
  49. <segtitle>Installed directory</segtitle>
  50. <seglistitem>
  51. <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
  52. and ifnames</seg>
  53. <seg>/usr/share/autoconf</seg>
  54. </seglistitem>
  55. </segmentedlist>
  56. <variablelist>
  57. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  58. <?dbfo list-presentation="list"?>
  59. <?dbhtml list-presentation="table"?>
  60. <varlistentry id="autoconf">
  61. <term><command>autoconf</command></term>
  62. <listitem>
  63. <para>Produces shell scripts that automatically configure software
  64. source code packages to adapt to many kinds of Unix-like systems.
  65. The configuration scripts it produces are independent&mdash;running
  66. them does not require the <command>autoconf</command> program.</para>
  67. <indexterm zone="ch-system-autoconf autoconf">
  68. <primary sortas="b-autoconf">autoconf</primary>
  69. </indexterm>
  70. </listitem>
  71. </varlistentry>
  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">
  78. <primary sortas="b-autoheader">autoheader</primary>
  79. </indexterm>
  80. </listitem>
  81. </varlistentry>
  82. <varlistentry id="autom4te">
  83. <term><command>autom4te</command></term>
  84. <listitem>
  85. <para>A wrapper for the M4 macro processor</para>
  86. <indexterm zone="ch-system-autoconf autom4te">
  87. <primary sortas="b-autom4te">autom4te</primary>
  88. </indexterm>
  89. </listitem>
  90. </varlistentry>
  91. <varlistentry id="autoreconf">
  92. <term><command>autoreconf</command></term>
  93. <listitem>
  94. <para>Automatically runs <command>autoconf</command>,
  95. <command>autoheader</command>, <command>aclocal</command>,
  96. <command>automake</command>, <command>gettextize</command>, and
  97. <command>libtoolize</command> in the correct order to save time
  98. when changes are made to <command>autoconf</command> and
  99. <command>automake</command> template files</para>
  100. <indexterm zone="ch-system-autoconf autoreconf">
  101. <primary sortas="b-autoreconf">autoreconf</primary>
  102. </indexterm>
  103. </listitem>
  104. </varlistentry>
  105. <varlistentry id="autoscan">
  106. <term><command>autoscan</command> </term>
  107. <listitem>
  108. <para>Helps to create a <filename>configure.in</filename> file for a
  109. software package; it examines the source files in a directory tree,
  110. searching them for common portability issues, and creates a
  111. <filename>configure.scan</filename> file that serves as as a
  112. preliminary <filename>configure.in</filename> file for the
  113. package</para>
  114. <indexterm zone="ch-system-autoconf autoscan">
  115. <primary sortas="b-autoscan">autoscan</primary>
  116. </indexterm>
  117. </listitem>
  118. </varlistentry>
  119. <varlistentry id="autoupdate">
  120. <term><command>autoupdate</command></term>
  121. <listitem>
  122. <para>Modifies a <filename>configure.in</filename> file that still
  123. calls <command>autoconf</command> macros by their old names to use the
  124. current macro names</para>
  125. <indexterm zone="ch-system-autoconf autoupdate">
  126. <primary sortas="b-autoupdate">autoupdate</primary>
  127. </indexterm>
  128. </listitem>
  129. </varlistentry>
  130. <varlistentry id="ifnames">
  131. <term><command>ifnames</command> </term>
  132. <listitem>
  133. <para>Helps when writing <filename>configure.in</filename> files
  134. for a software package; it prints the identifiers that the package
  135. uses in C preprocessor conditionals. If a package has already been set
  136. up to have some portability, this program can help determine what
  137. <command>configure</command> needs to check for. It can also fill in
  138. gaps in a <filename>configure.in</filename> file generated by
  139. <command>autoscan</command></para>
  140. <indexterm zone="ch-system-autoconf ifnames">
  141. <primary sortas="b-ifnames">ifnames</primary>
  142. </indexterm>
  143. </listitem>
  144. </varlistentry>
  145. </variablelist>
  146. </sect2>
  147. </sect1>