autoconf.xml 6.0 KB

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