gnuconfig.eclass
Description
This eclass is used to automatically update files that typically come with
automake
to the newest version available on the system. The most common
use of this is to update config.guess
and config.sub
when configure
dies from misguessing your canonical system name (CHOST
). It can also be
used to update other files that come with automake
, e.g. depcomp
,
mkinstalldirs
, etc.
Functions
- gnuconfig_update [file1 file2 ...]
-
If called without arguments,
config.guess
andconfig.sub
will be updated. All files in the source tree (${S}
) with the given name(s) will be replaced with the newest available versions chosen from the list of locations ingnuconfig_findnewest()
, below.gnuconfig_update
should generally be called fromsrc_unpack()
.Wrapper function for
gnuconfig_do_update
. If no arguments are given, updateconfig.sub
andconfig.guess
(old default behavior), otherwise update the named files.
Authors
Will Woods <wwoods@gentoo.org>
Maintainers
Sam James <sam@gentoo.org>
Reporting Bugs
Please report bugs via https://bugs.gentoo.org/