autoconf.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. <seglistitem>
  50. <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
  51. and ifnames</seg>
  52. </seglistitem>
  53. </segmentedlist>
  54. <variablelist>
  55. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  56. <?dbfo list-presentation="list"?>
  57. <?dbhtml list-presentation="table"?>
  58. <varlistentry id="autoconf">
  59. <term><command>autoconf</command></term>
  60. <listitem>
  61. <para>Produces shell scripts that automatically configure software
  62. source code packages to adapt to many kinds of Unix-like systems.
  63. The configuration scripts it produces are independent&mdash;running
  64. them does not require the <command>autoconf</command> program.</para>
  65. <indexterm zone="ch-system-autoconf autoconf">
  66. <primary sortas="b-autoconf">autoconf</primary>
  67. </indexterm>
  68. </listitem>
  69. </varlistentry>
  70. <varlistentry id="autoheader">
  71. <term><command>autoheader</command> </term>
  72. <listitem>
  73. <para>A tool for creating template files of C
  74. <emphasis>#define</emphasis> statements for configure to use</para>
  75. <indexterm zone="ch-system-autoconf autoheader">
  76. <primary sortas="b-autoheader">autoheader</primary>
  77. </indexterm>
  78. </listitem>
  79. </varlistentry>
  80. <varlistentry id="autom4te">
  81. <term><command>autom4te</command></term>
  82. <listitem>
  83. <para>A wrapper for the M4 macro processor</para>
  84. <indexterm zone="ch-system-autoconf autom4te">
  85. <primary sortas="b-autom4te">autom4te</primary>
  86. </indexterm>
  87. </listitem>
  88. </varlistentry>
  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">
  99. <primary sortas="b-autoreconf">autoreconf</primary>
  100. </indexterm>
  101. </listitem>
  102. </varlistentry>
  103. <varlistentry id="autoscan">
  104. <term><command>autoscan</command> </term>
  105. <listitem>
  106. <para>Helps to create a <filename>configure.in</filename> file for a
  107. software package; it examines the source files in a directory tree,
  108. searching them for common portability issues, and creates a
  109. <filename>configure.scan</filename> file that serves as as a
  110. preliminary <filename>configure.in</filename> file for the
  111. package</para>
  112. <indexterm zone="ch-system-autoconf autoscan">
  113. <primary sortas="b-autoscan">autoscan</primary>
  114. </indexterm>
  115. </listitem>
  116. </varlistentry>
  117. <varlistentry id="autoupdate">
  118. <term><command>autoupdate</command></term>
  119. <listitem>
  120. <para>Modifies a <filename>configure.in</filename> file that still
  121. calls <command>autoconf</command> macros by their old names to use the
  122. current macro names</para>
  123. <indexterm zone="ch-system-autoconf autoupdate">
  124. <primary sortas="b-autoupdate">autoupdate</primary>
  125. </indexterm>
  126. </listitem>
  127. </varlistentry>
  128. <varlistentry id="ifnames">
  129. <term><command>ifnames</command> </term>
  130. <listitem>
  131. <para>Helps when writing <filename>configure.in</filename> files
  132. for a software package; it prints the identifiers that the package
  133. uses in C preprocessor conditionals. If a package has already been set
  134. up to have some portability, this program can help determine what
  135. <command>configure</command> needs to check for. It can also fill in
  136. gaps in a <filename>configure.in</filename> file generated by
  137. <command>autoscan</command></para>
  138. <indexterm zone="ch-system-autoconf ifnames">
  139. <primary sortas="b-ifnames">ifnames</primary>
  140. </indexterm>
  141. </listitem>
  142. </varlistentry>
  143. </variablelist>
  144. </sect2>
  145. </sect1>