autoconf.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. <!ENTITY % patches-entities SYSTEM "../patches.ent">
  5. %general-entities;
  6. %patches-entities;
  7. ]>
  8. <sect1 id="ch-system-autoconf" role="wrap">
  9. <title>Autoconf-&autoconf-version;</title>
  10. <?dbhtml filename="autoconf.html"?>
  11. <indexterm zone="ch-system-autoconf"><primary sortas="a-Autoconf">Autoconf</primary></indexterm>
  12. <sect2 role="package"><title/>
  13. <para>The Autoconf package contains programs for producing shell scripts that
  14. can automatically configure source code.</para>
  15. <segmentedlist>
  16. <segtitle>&buildtime;</segtitle>
  17. <segtitle>&diskspace;</segtitle>
  18. <seglistitem><seg>0.5 SBU</seg><seg>8.5 MB</seg></seglistitem>
  19. </segmentedlist>
  20. <segmentedlist>
  21. <segtitle>&dependencies;</segtitle>
  22. <seglistitem><seg>Bash, Coreutils, Diffutils, Grep,
  23. M4, Make, Perl, and Sed</seg></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>. This takes a long time, about 2 SBUs.</para>
  34. <para>Install the package:</para>
  35. <screen><userinput>make install</userinput></screen>
  36. </sect2>
  37. <sect2 id="contents-autoconf" role="content"><title>Contents of Autoconf</title>
  38. <segmentedlist>
  39. <segtitle>Installed programs</segtitle>
  40. <seglistitem><seg>autoconf, autoheader, autom4te,
  41. autoreconf, autoscan, autoupdate, and ifnames</seg></seglistitem>
  42. </segmentedlist>
  43. <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
  44. <?dbfo list-presentation="list"?>
  45. <?dbhtml list-presentation="table"?>
  46. <varlistentry id="autoconf">
  47. <term><command>autoconf</command></term>
  48. <listitem>
  49. <para>Produces shell scripts that automatically
  50. configure software source code packages to adapt to many kinds of
  51. Unix-like systems. The configuration scripts it produces are
  52. independent&mdash;running them does not require the <command>autoconf</command> program.</para>
  53. <indexterm zone="ch-system-autoconf autoconf"><primary sortas="b-autoconf">autoconf</primary></indexterm>
  54. </listitem>
  55. </varlistentry>
  56. <varlistentry id="autoheader">
  57. <term><command>autoheader</command> </term>
  58. <listitem>
  59. <para>A tool for creating template files of C
  60. <emphasis>#define</emphasis> statements for configure to use</para>
  61. <indexterm zone="ch-system-autoconf autoheader"><primary sortas="b-autoheader">autoheader</primary></indexterm>
  62. </listitem>
  63. </varlistentry>
  64. <varlistentry id="autom4te">
  65. <term><command>autom4te</command></term>
  66. <listitem>
  67. <para>A wrapper for the M4 macro processor</para>
  68. <indexterm zone="ch-system-autoconf autom4te"><primary sortas="b-autom4te">autom4te</primary></indexterm>
  69. </listitem>
  70. </varlistentry>
  71. <varlistentry id="autoreconf">
  72. <term><command>autoreconf</command></term>
  73. <listitem>
  74. <para>Automatically runs <command>autoconf</command>,
  75. <command>autoheader</command>, <command>aclocal</command>,
  76. <command>automake</command>, <command>gettextize</command>, and
  77. <command>libtoolize</command> in the correct order to save time
  78. when changes are made to <command>autoconf</command> and
  79. <command>automake</command> template files</para>
  80. <indexterm zone="ch-system-autoconf autoreconf"><primary sortas="b-autoreconf">autoreconf</primary></indexterm>
  81. </listitem>
  82. </varlistentry>
  83. <varlistentry id="autoscan">
  84. <term><command>autoscan</command> </term>
  85. <listitem>
  86. <para>Helps to create a <filename>configure.in</filename> file for a
  87. software package; it examines the source files in a directory tree,
  88. searching them for common portability issues, and creates a
  89. <filename>configure.scan</filename> file that serves as as a
  90. preliminary <filename>configure.in</filename> file for the
  91. package</para>
  92. <indexterm zone="ch-system-autoconf autoscan"><primary sortas="b-autoscan">autoscan</primary></indexterm>
  93. </listitem>
  94. </varlistentry>
  95. <varlistentry id="autoupdate">
  96. <term><command>autoupdate</command></term>
  97. <listitem>
  98. <para>Modifies a <filename>configure.in</filename> file that still
  99. calls <command>autoconf</command> macros by their old names to use the
  100. current macro names</para>
  101. <indexterm zone="ch-system-autoconf autoupdate"><primary sortas="b-autoupdate">autoupdate</primary></indexterm>
  102. </listitem>
  103. </varlistentry>
  104. <varlistentry id="ifnames">
  105. <term><command>ifnames</command> </term>
  106. <listitem>
  107. <para>Helps when writing <filename>configure.in</filename> files
  108. for a software package; it prints the identifiers that the package
  109. uses in C preprocessor conditionals. If a package has already been set
  110. up to have some portability, this program can help determine what
  111. <command>configure</command> needs to check for. It can also fill in
  112. gaps in a <filename>configure.in</filename> file generated by
  113. <command>autoscan</command></para>
  114. <indexterm zone="ch-system-autoconf ifnames"><primary sortas="b-ifnames">ifnames</primary></indexterm>
  115. </listitem>
  116. </varlistentry>
  117. </variablelist>
  118. </sect2>
  119. </sect1>