.. _autotools-pkg:

Autotools Package
~~~~~~~~~~~~~~~~~

An autotools package provides support for processing a `GNU Build System`_
supported module.

.. code-block:: python

   LIBFOO_TYPE = 'autotools'

When an autotools package performs a configuration stage, the package may invoke
``autoreconf`` (if configured to do so) and then invoke ``configure``. When the
build stage is reached, ``make`` will be invoked followed by ``make install``
during the installation stage.

The following sections outline configuration options are available for an
autotools package.

LIBFOO_AUTOTOOLS_AUTORECONF
^^^^^^^^^^^^^^^^^^^^^^^^^^^

Specifies whether or not the package needs to perform an autotools
re-configuration. This is to assist in the rebuilding of GNU Build System files
which may be broken or a patch has introduced new build script changes that need
to be applied. This field is optional. By default, ``autoreconf`` is not
invoked.

.. code-block:: python

   LIBFOO_AUTOTOOLS_AUTORECONF = True

.. _autotools_build_defs:
.. include:: developer-guide/packages-build-defs

.. _autotools_build_env:
.. include:: developer-guide/packages-build-env

.. _autotools_build_opts:
.. include:: developer-guide/packages-build-opts

.. _autotools_conf_defs:
.. include:: developer-guide/packages-conf-defs

.. _autotools_conf_env:
.. include:: developer-guide/packages-conf-env

.. _autotools_conf_opts:
.. include:: developer-guide/packages-conf-opts

.. _autotools_install_defs:
.. include:: developer-guide/packages-install-defs

.. _autotools_install_env:
.. include:: developer-guide/packages-install-env

.. _autotools_install_opts:
.. include:: developer-guide/packages-install-opts
