autoconf.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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-fin-sbu;</seg>
  27. <seg>&autoconf-fin-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Autoconf</title>
  33. <para>First, fix a bug generated by Perl 5.28.</para>
  34. <screen><userinput remap="pre">sed -i '361 s/{/\\{/' bin/autoscan.in</userinput></screen>
  35. <para>Prepare Autoconf for compilation:</para>
  36. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  37. <para>Compile the package:</para>
  38. <screen><userinput remap="make">make</userinput></screen>
  39. <!--
  40. <para>To test the results, issue:</para>-->
  41. <para>The test suite is currently broken by bash-5 and libtool-2.4.3.
  42. To run the tests anyway, issue:</para>
  43. <screen><userinput remap="test">make check</userinput></screen>
  44. <!--
  45. <para>This takes a long time, about &autoconf-fin-sbu-tests; SBUs. In addition,
  46. several tests are skipped that use Automake. For full test coverage,
  47. Autoconf can be re-tested after Automake has been installed. In addition,
  48. two tests fail due to changes in libtool-2.4.3 and later.</para>
  49. <note><para>The test time for autoconf can be reduced significantly on a
  50. system with multiple cores. To do this, append
  51. <command>TESTSUITEFLAGS=-j&lt;N&gt;</command> to the line above. For
  52. instance, using -j4 can reduce the test time by over 60
  53. percent.</para></note>
  54. -->
  55. <para>Install the package:</para>
  56. <screen><userinput remap="install">make install</userinput></screen>
  57. </sect2>
  58. <sect2 id="contents-autoconf" role="content">
  59. <title>Contents of Autoconf</title>
  60. <segmentedlist>
  61. <segtitle>Installed programs</segtitle>
  62. <segtitle>Installed directory</segtitle>
  63. <seglistitem>
  64. <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
  65. and ifnames</seg>
  66. <seg>/usr/share/autoconf</seg>
  67. </seglistitem>
  68. </segmentedlist>
  69. <variablelist>
  70. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  71. <?dbfo list-presentation="list"?>
  72. <?dbhtml list-presentation="table"?>
  73. <varlistentry id="autoconf">
  74. <term><command>autoconf</command></term>
  75. <listitem>
  76. <para>Produces shell scripts that automatically configure software
  77. source code packages to adapt to many kinds of Unix-like systems;
  78. the configuration scripts it produces are independent&mdash;running
  79. them does not require the <command>autoconf</command> program</para>
  80. <indexterm zone="ch-system-autoconf autoconf">
  81. <primary sortas="b-autoconf">autoconf</primary>
  82. </indexterm>
  83. </listitem>
  84. </varlistentry>
  85. <varlistentry id="autoheader">
  86. <term><command>autoheader</command> </term>
  87. <listitem>
  88. <para>A tool for creating template files of C
  89. <emphasis>#define</emphasis> statements for configure to use</para>
  90. <indexterm zone="ch-system-autoconf autoheader">
  91. <primary sortas="b-autoheader">autoheader</primary>
  92. </indexterm>
  93. </listitem>
  94. </varlistentry>
  95. <varlistentry id="autom4te">
  96. <term><command>autom4te</command></term>
  97. <listitem>
  98. <para>A wrapper for the M4 macro processor</para>
  99. <indexterm zone="ch-system-autoconf autom4te">
  100. <primary sortas="b-autom4te">autom4te</primary>
  101. </indexterm>
  102. </listitem>
  103. </varlistentry>
  104. <varlistentry id="autoreconf">
  105. <term><command>autoreconf</command></term>
  106. <listitem>
  107. <para>Automatically runs <command>autoconf</command>,
  108. <command>autoheader</command>, <command>aclocal</command>,
  109. <command>automake</command>, <command>gettextize</command>, and
  110. <command>libtoolize</command> in the correct order to save time
  111. when changes are made to <command>autoconf</command> and
  112. <command>automake</command> template files</para>
  113. <indexterm zone="ch-system-autoconf autoreconf">
  114. <primary sortas="b-autoreconf">autoreconf</primary>
  115. </indexterm>
  116. </listitem>
  117. </varlistentry>
  118. <varlistentry id="autoscan">
  119. <term><command>autoscan</command> </term>
  120. <listitem>
  121. <para>Helps to create a <filename>configure.in</filename> file for a
  122. software package; it examines the source files in a directory tree,
  123. searching them for common portability issues, and creates a
  124. <filename>configure.scan</filename> file that serves as as a
  125. preliminary <filename>configure.in</filename> file for the
  126. package</para>
  127. <indexterm zone="ch-system-autoconf autoscan">
  128. <primary sortas="b-autoscan">autoscan</primary>
  129. </indexterm>
  130. </listitem>
  131. </varlistentry>
  132. <varlistentry id="autoupdate">
  133. <term><command>autoupdate</command></term>
  134. <listitem>
  135. <para>Modifies a <filename>configure.in</filename> file that still
  136. calls <command>autoconf</command> macros by their old names to use the
  137. current macro names</para>
  138. <indexterm zone="ch-system-autoconf autoupdate">
  139. <primary sortas="b-autoupdate">autoupdate</primary>
  140. </indexterm>
  141. </listitem>
  142. </varlistentry>
  143. <varlistentry id="ifnames">
  144. <term><command>ifnames</command> </term>
  145. <listitem>
  146. <para>Helps when writing <filename>configure.in</filename> files
  147. for a software package; it prints the identifiers that the package
  148. uses in C preprocessor conditionals [If a package has already been set
  149. up to have some portability, this program can help determine what
  150. <command>configure</command> needs to check for. It can also fill in
  151. gaps in a <filename>configure.in</filename> file generated by
  152. <command>autoscan</command>.]</para>
  153. <indexterm zone="ch-system-autoconf ifnames">
  154. <primary sortas="b-ifnames">ifnames</primary>
  155. </indexterm>
  156. </listitem>
  157. </varlistentry>
  158. </variablelist>
  159. </sect2>
  160. </sect1>