1
0

autoconf.xml 6.7 KB

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