autoconf.xml 6.2 KB

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