1
0

autoconf.xml 5.0 KB

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