autoconf.xml 6.2 KB

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