autoconf.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. In addition, one test fails due to
  42. changes in libtool-2.4.3 and later.</para>
  43. <para>Install the package:</para>
  44. <screen><userinput remap="install">make install</userinput></screen>
  45. </sect2>
  46. <sect2 id="contents-autoconf" role="content">
  47. <title>Contents of Autoconf</title>
  48. <segmentedlist>
  49. <segtitle>Installed programs</segtitle>
  50. <segtitle>Installed directory</segtitle>
  51. <seglistitem>
  52. <seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
  53. and ifnames</seg>
  54. <seg>/usr/share/autoconf</seg>
  55. </seglistitem>
  56. </segmentedlist>
  57. <variablelist>
  58. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  59. <?dbfo list-presentation="list"?>
  60. <?dbhtml list-presentation="table"?>
  61. <varlistentry id="autoconf">
  62. <term><command>autoconf</command></term>
  63. <listitem>
  64. <para>Produces shell scripts that automatically configure software
  65. source code packages to adapt to many kinds of Unix-like systems;
  66. the configuration scripts it produces are independent&mdash;running
  67. them does not require the <command>autoconf</command> program</para>
  68. <indexterm zone="ch-system-autoconf autoconf">
  69. <primary sortas="b-autoconf">autoconf</primary>
  70. </indexterm>
  71. </listitem>
  72. </varlistentry>
  73. <varlistentry id="autoheader">
  74. <term><command>autoheader</command> </term>
  75. <listitem>
  76. <para>A tool for creating template files of C
  77. <emphasis>#define</emphasis> statements for configure to use</para>
  78. <indexterm zone="ch-system-autoconf autoheader">
  79. <primary sortas="b-autoheader">autoheader</primary>
  80. </indexterm>
  81. </listitem>
  82. </varlistentry>
  83. <varlistentry id="autom4te">
  84. <term><command>autom4te</command></term>
  85. <listitem>
  86. <para>A wrapper for the M4 macro processor</para>
  87. <indexterm zone="ch-system-autoconf autom4te">
  88. <primary sortas="b-autom4te">autom4te</primary>
  89. </indexterm>
  90. </listitem>
  91. </varlistentry>
  92. <varlistentry id="autoreconf">
  93. <term><command>autoreconf</command></term>
  94. <listitem>
  95. <para>Automatically runs <command>autoconf</command>,
  96. <command>autoheader</command>, <command>aclocal</command>,
  97. <command>automake</command>, <command>gettextize</command>, and
  98. <command>libtoolize</command> in the correct order to save time
  99. when changes are made to <command>autoconf</command> and
  100. <command>automake</command> template files</para>
  101. <indexterm zone="ch-system-autoconf autoreconf">
  102. <primary sortas="b-autoreconf">autoreconf</primary>
  103. </indexterm>
  104. </listitem>
  105. </varlistentry>
  106. <varlistentry id="autoscan">
  107. <term><command>autoscan</command> </term>
  108. <listitem>
  109. <para>Helps to create a <filename>configure.in</filename> file for a
  110. software package; it examines the source files in a directory tree,
  111. searching them for common portability issues, and creates a
  112. <filename>configure.scan</filename> file that serves as as a
  113. preliminary <filename>configure.in</filename> file for the
  114. package</para>
  115. <indexterm zone="ch-system-autoconf autoscan">
  116. <primary sortas="b-autoscan">autoscan</primary>
  117. </indexterm>
  118. </listitem>
  119. </varlistentry>
  120. <varlistentry id="autoupdate">
  121. <term><command>autoupdate</command></term>
  122. <listitem>
  123. <para>Modifies a <filename>configure.in</filename> file that still
  124. calls <command>autoconf</command> macros by their old names to use the
  125. current macro names</para>
  126. <indexterm zone="ch-system-autoconf autoupdate">
  127. <primary sortas="b-autoupdate">autoupdate</primary>
  128. </indexterm>
  129. </listitem>
  130. </varlistentry>
  131. <varlistentry id="ifnames">
  132. <term><command>ifnames</command> </term>
  133. <listitem>
  134. <para>Helps when writing <filename>configure.in</filename> files
  135. for a software package; it prints the identifiers that the package
  136. uses in C preprocessor conditionals [If a package has already been set
  137. up to have some portability, this program can help determine what
  138. <command>configure</command> needs to check for. It can also fill in
  139. gaps in a <filename>configure.in</filename> file generated by
  140. <command>autoscan</command>.]</para>
  141. <indexterm zone="ch-system-autoconf ifnames">
  142. <primary sortas="b-ifnames">ifnames</primary>
  143. </indexterm>
  144. </listitem>
  145. </varlistentry>
  146. </variablelist>
  147. </sect2>
  148. </sect1>