autoconf.xml 6.0 KB

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