lfs-ru/chapter08/autoconf.xml
Poltern 627d1976d6 gen-changelog: Handles holding tickets
systemd: Fix CVE-2023-7008
Package updates:

- Update to meson-1.3.1 (#5402)
- Update to vim-9.0.2189 (#4500)
- Update to inetutils-2.5 (#5404)
- Update to xml-parser-2.47 (#5403)
- Update to linux-6.6.8 (#5397)
- Update to tzdata-2023d (#5399)
- Update to setuptools-69.0.3 (#5400)
- Update to iana-etc-20231205 (#5006)
- Update to autoconf-2.72 (#5398)
- Update to grub-2.12 (#5396)
2024-01-02 21:11:20 +05:00

179 lines
7.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>Подготовьте 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>Установите пакет:</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-подобных
систем; создаваемые сценарии независимы&mdash;для их запуска не требуется программа
<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>