mirror of
https://github.com/Poltern/lfs-ru.git
synced 2024-10-18 20:00:21 +03:00
194 lines
8.4 KiB
XML
194 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||
<!ENTITY % general-entities SYSTEM "../general.ent">
|
||
%general-entities;
|
||
]>
|
||
|
||
<sect1 id="ch-system-autoconf" role="wrap">
|
||
<?dbhtml filename="autoconf.html"?>
|
||
|
||
<sect1info condition="script">
|
||
<productname>autoconf</productname>
|
||
<productnumber>&autoconf-version;</productnumber>
|
||
<address>&autoconf-url;</address>
|
||
</sect1info>
|
||
|
||
<title>Autoconf-&autoconf-version;</title>
|
||
|
||
<indexterm zone="ch-system-autoconf">
|
||
<primary sortas="a-Autoconf">Autoconf</primary>
|
||
</indexterm>
|
||
|
||
<sect2 role="package">
|
||
<title/>
|
||
|
||
<para>Пакет Autoconf содержит программы для создания сценариев оболочки, которые
|
||
могут автоматически настраивать исходный код.</para>
|
||
|
||
<segmentedlist>
|
||
<segtitle>&buildtime;</segtitle>
|
||
<segtitle>&diskspace;</segtitle>
|
||
|
||
<seglistitem>
|
||
<seg>&autoconf-fin-sbu;</seg>
|
||
<seg>&autoconf-fin-du;</seg>
|
||
</seglistitem>
|
||
</segmentedlist>
|
||
|
||
</sect2>
|
||
|
||
<sect2 role="installation">
|
||
<title>Установка пакета Autoconf</title>
|
||
<!--
|
||
<para>First, apply a patch fixes several problems that occur with the latest
|
||
perl, libtool, and bash versions.</para>
|
||
|
||
<screen><userinput remap="pre">patch -Np1 -i ../&autoconf-fixes-patch;</userinput></screen>
|
||
-->
|
||
<para>Подготовьте Autoconf к компиляции:</para>
|
||
|
||
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
||
|
||
<para>Скомпилируйте пакет:</para>
|
||
|
||
<screen><userinput remap="make">make</userinput></screen>
|
||
|
||
<para>Чтобы протестировать пакет, выполните:</para>
|
||
<!--
|
||
<para>The test suite is currently broken by bash-5 and libtool-2.4.3.
|
||
To run the tests anyway, issue:</para>
|
||
-->
|
||
<screen><userinput remap="test">make check</userinput></screen>
|
||
<!--
|
||
<para>This takes a long time, about &autoconf-fin-sbu-tests; SBUs. In addition,
|
||
several tests are skipped that use Automake. For full test coverage,
|
||
Autoconf can be re-tested after Automake has been installed. In addition,
|
||
two tests fail due to changes in libtool-2.4.3 and later.</para>
|
||
-->
|
||
<note><para>Время тестирования autoconf можно значительно сократить на многоядерых
|
||
системах. Для этого добавьте <command>TESTSUITEFLAGS=-j<N></command> к строке выше.
|
||
Использование аргумента -j4 может сократить время тестирования более чем на 60
|
||
процентов.</para></note>
|
||
|
||
<para>Установите пакет:</para>
|
||
|
||
<screen><userinput remap="install">make install</userinput></screen>
|
||
|
||
</sect2>
|
||
|
||
<sect2 id="contents-autoconf" role="content">
|
||
<title>Содержимое пакета Autoconf</title>
|
||
|
||
<segmentedlist>
|
||
<segtitle>Установленные программы</segtitle>
|
||
<segtitle>Созданные каталоги</segtitle>
|
||
|
||
<seglistitem>
|
||
<seg>autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
|
||
и ifnames</seg>
|
||
<seg>/usr/share/autoconf</seg>
|
||
</seglistitem>
|
||
</segmentedlist>
|
||
|
||
<variablelist>
|
||
<bridgehead renderas="sect3">Краткое описание</bridgehead>
|
||
<?dbfo list-presentation="list"?>
|
||
<?dbhtml list-presentation="table"?>
|
||
|
||
<varlistentry id="autoconf">
|
||
<term><command>autoconf</command></term>
|
||
<listitem>
|
||
<para>Генерирует сценарии оболочки, которые автоматически настраивают пакеты
|
||
исходного кода программного обеспечения для адаптации ко многим типам Unix-подобных
|
||
систем; создаваемые сценарии независимы—для их запуска не требуется программа
|
||
<command>autoconf</command>.</para>
|
||
<indexterm zone="ch-system-autoconf autoconf">
|
||
<primary sortas="b-autoconf">autoconf</primary>
|
||
</indexterm>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry id="autoheader">
|
||
<term><command>autoheader</command> </term>
|
||
<listitem>
|
||
<para>Инструмент для создания файлов шаблонов операторов C
|
||
<emphasis>#define</emphasis> для использования в configure</para>
|
||
<indexterm zone="ch-system-autoconf autoheader">
|
||
<primary sortas="b-autoheader">autoheader</primary>
|
||
</indexterm>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry id="autom4te">
|
||
<term><command>autom4te</command></term>
|
||
<listitem>
|
||
<para>Обертка для макропроцессора M4</para>
|
||
<indexterm zone="ch-system-autoconf autom4te">
|
||
<primary sortas="b-autom4te">autom4te</primary>
|
||
</indexterm>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry id="autoreconf">
|
||
<term><command>autoreconf</command></term>
|
||
<listitem>
|
||
<para>Автоматически запускает <command>autoconf</command>,
|
||
<command>autoheader</command>, <command>aclocal</command>,
|
||
<command>automake</command>, <command>gettextize</command> и
|
||
<command>libtoolize</command> в правильном порядке, чтобы сэкономить время,
|
||
при внесении изменений в файлы шаблонов <command>autoconf</command> и
|
||
<command>automake</command>.</para>
|
||
<indexterm zone="ch-system-autoconf autoreconf">
|
||
<primary sortas="b-autoreconf">autoreconf</primary>
|
||
</indexterm>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry id="autoscan">
|
||
<term><command>autoscan</command> </term>
|
||
<listitem>
|
||
<para>Помогает создать файл <filename>configure.in</filename> для пакета
|
||
программного обеспечения; проверяет исходные файлы в дереве каталогов,
|
||
ищет в них распространенные проблемы с переносимостью и создает файл
|
||
<filename>configure.scan</filename>, который является предварительным
|
||
для <filename>configure.in</filename>.</para>
|
||
<indexterm zone="ch-system-autoconf autoscan">
|
||
<primary sortas="b-autoscan">autoscan</primary>
|
||
</indexterm>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry id="autoupdate">
|
||
<term><command>autoupdate</command></term>
|
||
<listitem>
|
||
<para>Изменяет файл <filename>configure.in</filename>,
|
||
вызывающий макросы <command>autoconf</command> по их старым
|
||
именам для использования текущих имен макросов</para>
|
||
<indexterm zone="ch-system-autoconf autoupdate">
|
||
<primary sortas="b-autoupdate">autoupdate</primary>
|
||
</indexterm>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry id="ifnames">
|
||
<term><command>ifnames</command> </term>
|
||
<listitem>
|
||
<para>Помогает при написании файла <filename>configure.in</filename> для пакета;
|
||
выводит идентификаторы, которые использует пакет в условных выражениях препроцессора C.
|
||
(Если пакет уже был настроен для некоторой переносимости, эта программа может помочь
|
||
определить, что нужно проверить сценарию <command>configure</command>.
|
||
Он также может заполнить пробелы в файле <filename>configure.in</filename>,
|
||
сгенерированном командой <command>autoscan</command>.)</para>
|
||
<indexterm zone="ch-system-autoconf ifnames">
|
||
<primary sortas="b-ifnames">ifnames</primary>
|
||
</indexterm>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
</variablelist>
|
||
|
||
</sect2>
|
||
|
||
</sect1>
|