autotools.eclass
Description
This eclass is for safely handling autotooled software packages that need to regenerate their build scripts. All functions will abort in case of errors.
Functions
- eautoreconf
-
This function mimes the behavior of
autoreconf, but uses the differenteauto*functions to run the tools. It doesn't accept parameters, but the directory with include files can be specified withAT_M4DIRvariable.Should do a full
autoreconf- normally what most people will be interested in. Also should handle additional directories specified byAC_CONFIG_SUBDIRS. - eaclocal_amflags
-
Extract the
ACLOCAL_AMFLAGSvalue from theMakefile.amand try to handle (most) of the crazy crap that people throw at us. - eaclocal
-
These functions runs the autotools using
autotools_run_toolwith the specified parametes. The name of the tool run is the same of the function withouteprefix. They also force installing the support files for safety. RespectsAT_M4DIRfor additional directories to search for macros. - _elibtoolize
-
Runs
libtoolize.Note the
_prefix: avoid collision withelibtoolizefromlibtool.eclass. - eautoheader
-
Runs
autoheader. - eautoconf
-
Runs
autoconf. - eautomake
-
Runs
automake. - eautopoint
-
Runs
autopoint(from thesys-devel/gettextpackage). - config_rpath_update [destination]
-
Some packages utilize the
config.rpathhelper script, but don't usegettextdirectly. So we have to copy it in manually since we can't letautopointdo it for us.
Variables
- WANT_AUTOCONF ?= latest (SET BEFORE INHERIT)
-
The major version of autoconf your package needs
- WANT_AUTOMAKE ?= latest (SET BEFORE INHERIT)
-
The major version of automake your package needs
- WANT_LIBTOOL ?= latest (SET BEFORE INHERIT)
-
Do you want libtool? Valid values here are
latestandnone. - AUTOTOOLS_DEPEND = "${_automake_atom} (GENERATED BY ECLASS)
-
Contains the combination of requested automake/autoconf/libtool versions in
*DEPENDformat. - AUTOTOOLS_AUTO_DEPEND ?= yes (SET BEFORE INHERIT)
-
Set to
no`to disable automatically adding toDEPEND. This lets ebuilds form conditional depends by using${AUTOTOOLS_DEPEND}in their ownDEPENDstring. - AM_OPTS
-
Additional options to pass to automake during
eautoreconfcall. - AT_NOEAUTOHEADER
-
Don't run
eautoheadercommand if set toyes; only used to work around packages that don't want their headers being modified. - AT_NOEAUTOMAKE
-
Don't run
eautomakecommand if set toyes; only used to workaround broken packages. Generally you should, instead, fix the package to not callAM_INIT_AUTOMAKEif it doesn't actually use automake. - AT_NOELIBTOOLIZE
-
Don't run
elibtoolizecommand if set toyes, useful whenelibtoolizeneeds to be ran with particular options - AT_M4DIR
-
Additional director(y|ies)
aclocalshould search
Reporting Bugs
Please report bugs via https://bugs.gentoo.org/