autoconf.xml 5.0 KB

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